Movatterモバイル変換


[0]ホーム

URL:


CN118802487A - A node control method, device, equipment and medium in a video signaling forwarding gateway system - Google Patents

A node control method, device, equipment and medium in a video signaling forwarding gateway system
Download PDF

Info

Publication number
CN118802487A
CN118802487ACN202411120039.7ACN202411120039ACN118802487ACN 118802487 ACN118802487 ACN 118802487ACN 202411120039 ACN202411120039 ACN 202411120039ACN 118802487 ACN118802487 ACN 118802487A
Authority
CN
China
Prior art keywords
node
slave
registration order
registration
slave node
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.)
Pending
Application number
CN202411120039.7A
Other languages
Chinese (zh)
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.)
CRSC Communication and Information Group Co Ltd CRSCIC
Original Assignee
CRSC Communication and Information Group Co Ltd CRSCIC
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 CRSC Communication and Information Group Co Ltd CRSCICfiledCriticalCRSC Communication and Information Group Co Ltd CRSCIC
Priority to CN202411120039.7ApriorityCriticalpatent/CN118802487A/en
Publication of CN118802487ApublicationCriticalpatent/CN118802487A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及视频信令转发网关系统领域,公开了一种视频信令转发网关系统中的节点控制方法、装置、设备及介质,视频信令转发网关系统中包括注册成功的主节点和多个从节点。本发明可以监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;在至少一个可用从节点的注册次序中确定出最小注册次序;注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。本发明可以当原主节点失效时,选取出一个可用从节点作为新的主节点并接管原主节点的工作,确保服务的连续性和稳定性,有效系统可用性和可靠性。

The present invention relates to the field of video signaling forwarding gateway systems, and discloses a node control method, device, equipment and medium in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and multiple slave nodes. The present invention can monitor that the master node is in an abnormal state, and then determine at least one available slave node in a normal state among multiple slave nodes; determine the registration order of at least one available slave node, and the registration order is the order in which the relevant nodes are successfully registered in the master node and multiple slave nodes; determine the minimum registration order in the registration order of at least one available slave node; cancel the master node, and set the available slave node corresponding to the minimum registration order as the new master node. When the original master node fails, the present invention can select an available slave node as the new master node and take over the work of the original master node, thereby ensuring the continuity and stability of the service, and effective system availability and reliability.

Description

Translated fromChinese
一种视频信令转发网关系统中的节点控制方法、装置、设备及介质A node control method, device, equipment and medium in a video signaling forwarding gateway system

技术领域Technical Field

本发明涉及视频信令转发网关系统领域,尤其涉及一种视频信令转发网关系统中的节点控制方法、装置、设备及介质。The present invention relates to the field of video signaling forwarding gateway systems, and in particular to a node control method, device, equipment and medium in a video signaling forwarding gateway system.

背景技术Background Art

随着网络技术的持续革新和用户需求的不断变化,视频应用领域正迎来大规模共享与深度融合的新趋势。在该新趋势中,视频信令转发网关系统起到关键作用。With the continuous innovation of network technology and the continuous changes in user needs, the video application field is ushering in a new trend of large-scale sharing and deep integration. In this new trend, the video signaling forwarding gateway system plays a key role.

具体的,视频信令转发网关系统可在不同的通信协议、‌数据格式或语言,‌甚至体系结构完全不同的两种系统之间(比如在国标视频系统和非国标视频系统之间)进行转换和实现互联资源共享。Specifically, the video signaling forwarding gateway system can convert and realize interconnection resource sharing between different communication protocols, data formats or languages, or even between two systems with completely different architectures (such as between national standard video systems and non-national standard video systems).

当视频信令转发网关系统发生故障时,可能直接导致依赖其的所有第三方调用中断,使得视频资源无法被正常访问,不仅会严重影响业务的稳定性,更会降低用户的使用体验,系统可靠性较低。When the video signaling forwarding gateway system fails, it may directly lead to the interruption of all third-party calls that rely on it, making it impossible to access video resources normally. This will not only seriously affect the stability of the business, but also reduce the user experience and low system reliability.

发明内容Summary of the invention

本发明提供一种视频信令转发网关系统中的节点控制方法、装置、设备及介质,用以解决相关技术中视频信令转发网关系统可靠性较低的缺陷,提高视频信令转发网关系统可靠性。The present invention provides a node control method, device, equipment and medium in a video signaling forwarding gateway system, which are used to solve the defect of low reliability of the video signaling forwarding gateway system in the related art and improve the reliability of the video signaling forwarding gateway system.

第一方面,本发明提供一种视频信令转发网关系统中的节点控制方法,所述视频信令转发网关系统中包括注册成功的主节点和多个从节点;所述方法包括:In a first aspect, the present invention provides a node control method in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and a plurality of slave nodes; the method includes:

监测到所述主节点处于异常状态,则在所述多个从节点中确定出状态正常的至少一个可用从节点;If it is detected that the master node is in an abnormal state, at least one available slave node in a normal state is determined among the multiple slave nodes;

确定所述至少一个可用从节点的注册次序,注册次序为相关节点在所述主节点和所述多个从节点中的注册成功次序;Determine a registration order of the at least one available slave node, the registration order being an order in which the relevant node is successfully registered in the master node and the plurality of slave nodes;

在所述至少一个可用从节点的注册次序中确定出最小注册次序;determining a minimum registration order among the registration orders of the at least one available slave node;

注销所述主节点,以及将所述最小注册次序对应的所述可用从节点设置为新的主节点。The master node is deregistered, and the available slave node corresponding to the minimum registration order is set as a new master node.

可选的,在所述监测到所述主节点处于异常状态之前,所述方法还包括:Optionally, before monitoring that the master node is in an abnormal state, the method further includes:

根据多个节点的注册成功次序,在所述多个节点中选取不同的所述节点设置为所述主节点和所述从节点,以及设置所述主节点和所述从节点的注册次序。According to the registration success order of the multiple nodes, different nodes are selected from the multiple nodes to be set as the master node and the slave node, and the registration order of the master node and the slave node is set.

可选的,所述根据多个节点的注册成功次序,在所述多个节点中选取不同的所述节点设置为所述主节点和所述从节点,以及设置所述主节点和所述从节点的注册次序,包括:Optionally, selecting different nodes from the multiple nodes to set as the master node and the slave node according to the order of successful registration of the multiple nodes, and setting the registration order of the master node and the slave node, includes:

针对第一个注册成功的节点,将所述节点设置为主节点,将所述节点的注册次序设置为第一注册次序,以及将所述第一注册次序保存为当前的最大注册次序;For the first successfully registered node, setting the node as a master node, setting the registration order of the node as a first registration order, and saving the first registration order as the current maximum registration order;

针对第二个注册成功的节点,将所述节点设置为从节点,将当前的最大注册次序加1得到第二注册次序,将所述从节点的注册次序设置为所述第二注册次序,并将所述第二注册次序保存为当前的最大注册次序;For the second successfully registered node, set the node as a slave node, add 1 to the current maximum registration order to obtain a second registration order, set the registration order of the slave node to the second registration order, and save the second registration order as the current maximum registration order;

针对第三个注册成功的节点,将所述节点设置为从节点,将当前的最大注册次序加1得到第三注册次序,将所述从节点的注册次序设置为所述第三注册次序,直至完成对最新注册成功的节点的注册次序的设置,以及将最新注册成功的节点的注册次序保存为当前的最大注册次序为止。For the third successfully registered node, the node is set as a slave node, the current maximum registration order is increased by 1 to obtain the third registration order, and the registration order of the slave node is set to the third registration order, until the registration order of the latest successfully registered node is set, and the registration order of the latest successfully registered node is saved as the current maximum registration order.

可选的,所述第一注册次序为1。Optionally, the first registration order is 1.

可选的,在所述将最新注册成功的节点的注册次序保存为当前的最大注册次序为止之后,所述方法还包括:Optionally, after saving the registration order of the latest successfully registered node as the current maximum registration order, the method further includes:

当接收到从节点扩展指令时,根据所述从节点扩展指令确定待注册的新从节点,对待注册的新从节点进行注册,确定注册成功,则针对所述新从节点进行注册次序的设置以及对当前的最大注册次序进行更新;When a slave node extension instruction is received, a new slave node to be registered is determined according to the slave node extension instruction, the new slave node to be registered is registered, and if the registration is successful, a registration order is set for the new slave node and a current maximum registration order is updated;

当接收到从节点注销指令时,根据所述从节点注销指令在所述多个从节点中确定待注销的从节点,对待注销的从节点进行注销。When a slave node deregistration instruction is received, a slave node to be deregistered is determined from among the multiple slave nodes according to the slave node deregistration instruction, and the slave node to be deregistered is deregistered.

可选的,目标节点为所述主节点或所述新的主节点,处于正常状态的所述目标节点用于:Optionally, the target node is the master node or the new master node, and the target node in a normal state is used for:

接收外部系统发送的业务处理指令,所述业务处理指令中包括请求内容;Receiving a business processing instruction sent by an external system, wherein the business processing instruction includes request content;

根据所述业务处理指令生成包括所述请求内容的新业务处理指令,以及根据负载均衡原则在至少一个可用从节点中确定出目标从节点;generating a new service processing instruction including the request content according to the service processing instruction, and determining a target slave node from at least one available slave node according to a load balancing principle;

将所述新业务处理指令发送至所述目标从节点,以使所述目标从节点:根据所述新业务处理指令中的所述请求内容和所述目标从节点的节点信息,生成响应结果并返回至所述目标节点,所述响应结果中包括所述目标从节点的节点信息;Sending the new service processing instruction to the target slave node, so that the target slave node: generates a response result according to the request content in the new service processing instruction and the node information of the target slave node and returns it to the target node, wherein the response result includes the node information of the target slave node;

在所述响应结果中删除所述目标从节点的节点信息并增加所述目标节点的节点信息,得到修改后响应结果;将所述修改后响应结果发送至所述外部系统,以在对所述外部系统隐藏所述目标从节点的情况下,为所述外部系统处理相关业务。The node information of the target slave node is deleted from the response result and the node information of the target node is added to obtain a modified response result; the modified response result is sent to the external system to process related business for the external system while hiding the target slave node from the external system.

可选的,处于正常状态的所述目标节点根据所述业务处理指令生成所述新业务处理指令的过程,包括:Optionally, the process of the target node in a normal state generating the new service processing instruction according to the service processing instruction includes:

获取所述目标节点的统一资源标识符URI;Obtaining the uniform resource identifier URI of the target node;

在所述业务处理指令中,创建路由Route头部字段,并将所述Route头部字段对应的字段值设置为由所述URI和松散路由参数组合成的组合字段值,以生成所述新业务处理指令;In the service processing instruction, creating a route Route header field, and setting the field value corresponding to the Route header field to a combined field value composed of the URI and the loose routing parameters, so as to generate the new service processing instruction;

其中,所述新业务处理指令中所述Route头部字段对应的所述组合字段值,用于指示所述目标从节点将生成的所述响应结果返回至所述目标节点。Among them, the combined field value corresponding to the Route header field in the new business processing instruction is used to instruct the target slave node to return the generated response result to the target node.

第二方面,本发明提供一种视频信令转发网关系统中的节点控制装置,所述视频信令转发网关系统中包括注册成功的主节点和多个从节点;所述装置包括:In a second aspect, the present invention provides a node control device in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and a plurality of slave nodes; the device includes:

第一确定单元,用于监测到所述主节点处于异常状态,则在所述多个从节点中确定出状态正常的至少一个可用从节点;A first determining unit is configured to detect that the master node is in an abnormal state, and then determine at least one available slave node in a normal state from among the multiple slave nodes;

第二确定单元,用于确定所述至少一个可用从节点的注册次序,注册次序为相关节点在所述主节点和所述多个从节点中的注册成功次序;A second determining unit is used to determine a registration order of the at least one available slave node, the registration order being an order in which the relevant node is successfully registered in the master node and the plurality of slave nodes;

第三确定单元,用于在所述至少一个可用从节点的注册次序中确定出最小注册次序;A third determining unit, configured to determine a minimum registration order among the registration orders of the at least one available slave node;

第一设置单元,用于注销所述主节点,以及将所述最小注册次序对应的所述可用从节点设置为新的主节点。The first setting unit is used to deregister the master node and set the available slave node corresponding to the minimum registration order as a new master node.

第三方面,本发明提供了一种计算机设备,包括:存储器和处理器,存储器和处理器之间互相通信连接,存储器中存储有计算机指令,处理器通过执行计算机指令,从而执行上述第一方面或其对应的任一实施方式的视频信令转发网关系统中的节点控制方法。In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the node control method in the video signaling forwarding gateway system of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

第四方面,本发明提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机指令,计算机指令用于使计算机执行上述第一方面或其对应的任一实施方式的视频信令转发网关系统中的节点控制方法。In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the node control method in a video signaling forwarding gateway system of the first aspect or any corresponding embodiment thereof.

本发明提供的视频信令转发网关系统中的节点控制方法、装置、设备及介质,视频信令转发网关系统中包括注册成功的主节点和多个从节点。本发明监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;在至少一个可用从节点的注册次序中确定出最小注册次序;注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。本发明当原主节点失效时,选取出一个可用从节点作为新的主节点并接管原主节点的工作,确保服务的连续性和稳定性,有效提高视频信令转发网关系统的可用性和可靠性。The present invention provides a node control method, device, equipment and medium in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and multiple slave nodes. When the present invention detects that the master node is in an abnormal state, at least one available slave node in a normal state is determined among multiple slave nodes; the registration order of at least one available slave node is determined, and the registration order is the order in which the relevant nodes are successfully registered among the master node and multiple slave nodes; the minimum registration order is determined among the registration orders of at least one available slave node; the master node is deregistered, and the available slave node corresponding to the minimum registration order is set as the new master node. When the original master node fails, the present invention selects an available slave node as the new master node and takes over the work of the original master node, thereby ensuring the continuity and stability of the service and effectively improving the availability and reliability of the video signaling forwarding gateway system.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图做简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为本发明实施例提供的一种视频信令转发网关系统中的节点控制方法的流程图;FIG1 is a flow chart of a node control method in a video signaling forwarding gateway system provided by an embodiment of the present invention;

图2为本发明实施例提供的一种视频信令转发网关系统与其他视频系统的互联架构示意图;FIG2 is a schematic diagram of an interconnection architecture of a video signaling forwarding gateway system and other video systems provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种视频信令转发网关系统中的节点控制方法的流程图;3 is a flow chart of another node control method in a video signaling forwarding gateway system provided by an embodiment of the present invention;

图4为本发明实施例提供的再一种视频信令转发网关系统中的节点控制方法的流程图;4 is a flowchart of a node control method in a video signaling forwarding gateway system provided by another embodiment of the present invention;

图5为本发明实施例提供的一种视频信令转发网关系统中的节点控制装置的结构示意图;5 is a schematic structural diagram of a node control device in a video signaling forwarding gateway system provided by an embodiment of the present invention;

图6为本发明实施例提供的一种计算机设备的结构示意图。FIG6 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

为解决相关技术中当视频信令转发网关系统发生故障时,可能直接导致依赖其的所有第三方调用中断,使得视频资源无法被正常访问,不仅会严重影响业务的稳定性,更会降低用户的使用体验,系统可靠性较低的问题,本实施例提出一种视频信令转发网关系统中的节点控制方法、装置、设备及介质,视频信令转发网关系统中包括注册成功的主节点和多个从节点。本实施例可以监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;在至少一个可用从节点的注册次序中确定出最小注册次序;注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。本实施例当原主节点失效时,选取出一个可用从节点作为新的主节点并接管原主节点的工作,确保服务的连续性和稳定性,有效提高视频信令转发网关系统的可用性和可靠性。In order to solve the problem that when a video signaling forwarding gateway system fails in the related technology, it may directly cause all third-party calls that rely on it to be interrupted, making the video resources unable to be accessed normally, which will not only seriously affect the stability of the business, but also reduce the user's experience and the problem of low system reliability, this embodiment proposes a node control method, device, equipment and medium in a video signaling forwarding gateway system, and the video signaling forwarding gateway system includes a successfully registered master node and multiple slave nodes. In this embodiment, it can be detected that the master node is in an abnormal state, and at least one available slave node with a normal state is determined among multiple slave nodes; the registration order of at least one available slave node is determined, and the registration order is the order of successful registration of the relevant node in the master node and multiple slave nodes; the minimum registration order is determined in the registration order of at least one available slave node; the master node is deregistered, and the available slave node corresponding to the minimum registration order is set as the new master node. In this embodiment, when the original master node fails, an available slave node is selected as the new master node and takes over the work of the original master node, ensuring the continuity and stability of the service, and effectively improving the availability and reliability of the video signaling forwarding gateway system.

下面结合图1-图4描述本发明的视频信令转发网关系统中的节点控制方法。The node control method in the video signaling forwarding gateway system of the present invention is described below in conjunction with FIG. 1 to FIG. 4 .

如图1所示,本实施例提出第一种视频信令转发网关系统中的节点控制方法,该视频信令转发网关系统中包括注册成功的主节点和多个从节点。该方法包括以下步骤:As shown in FIG1 , this embodiment proposes a first node control method in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and multiple slave nodes. The method includes the following steps:

S101、监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点。S101. If it is detected that a master node is in an abnormal state, at least one available slave node in a normal state is determined from among a plurality of slave nodes.

具体的,视频信令转发网关系统为会话初始协议(Session initializationProtocol,SIP)视频信令转发网关系统。Specifically, the video signaling forwarding gateway system is a Session Initialization Protocol (Session initialization Protocol, SIP) video signaling forwarding gateway system.

具体的,视频信令转发网关系统为一个集群架构,由主节点和从节点组成。该系统使用相关协议比如SIP协议来接收、转发、解析和响应视频信令,从而在不同视频监控系统之间建立通信会话的桥梁。主节点作为信令交互的枢纽,负责信令的路由与转发,而不直接参与业务处理。从节点主要负责处理具体的业务请求。外部系统(如外部上级平台)在与视频信令转发网关系统进行通信时,仅需通过主节点这一单一入口点进行交互,而无需深入了解或关注底层从节点的复杂细节。这种高度抽象化的设计可以简化系统间的通信流程,确保外部系统能够以标准化、简化的方式与整个网关集群无缝对接。本实施例的视频信令转发网关系统增强了用户体验,为用户营造一种与单一视频信令网关交互的直观感受,掩盖底层集群架构的复杂性,大大提升系统的易用性和用户满意度。Specifically, the video signaling forwarding gateway system is a cluster architecture, consisting of a master node and a slave node. The system uses relevant protocols such as the SIP protocol to receive, forward, parse and respond to video signaling, thereby establishing a bridge for communication sessions between different video surveillance systems. The master node, as the hub of signaling interaction, is responsible for the routing and forwarding of signaling, but does not directly participate in business processing. The slave node is mainly responsible for processing specific business requests. When an external system (such as an external superior platform) communicates with the video signaling forwarding gateway system, it only needs to interact through the master node, a single entry point, without having to deeply understand or pay attention to the complex details of the underlying slave nodes. This highly abstract design can simplify the communication process between systems and ensure that the external system can seamlessly connect with the entire gateway cluster in a standardized and simplified manner. The video signaling forwarding gateway system of this embodiment enhances the user experience, creates an intuitive feeling of interacting with a single video signaling gateway for users, conceals the complexity of the underlying cluster architecture, and greatly improves the ease of use and user satisfaction of the system.

在实际应用中,当视频信令转发网关系统为SIP视频信令转发网关系统时,视频信令转发网关系统与其他视频系统的互联架构可如图2所示,国标视频系统通过视频网关系统与非国标视频系统实现互联资源共享。视频网关系统中主要包括SIP视频信令转发网关系统和视频流媒体网关系统两部分组成,SIP视频信令转发网关系统用于保证控制指令的准确传递,而视频流媒体网关系统则用于保障视频数据的流畅传输与处理。In practical applications, when the video signaling forwarding gateway system is a SIP video signaling forwarding gateway system, the interconnection architecture between the video signaling forwarding gateway system and other video systems can be shown in Figure 2. The national standard video system realizes interconnection resource sharing with the non-national standard video system through the video gateway system. The video gateway system mainly includes two parts: the SIP video signaling forwarding gateway system and the video streaming gateway system. The SIP video signaling forwarding gateway system is used to ensure the accurate transmission of control instructions, while the video streaming gateway system is used to ensure the smooth transmission and processing of video data.

具体的,本实施例监测主节点的运行状态是否正常,当监测到主节点发生故障或失效时,即启动失效转移机制,寻找可用从节点来替换主节点作为新的主节点进行相关业务处理。Specifically, this embodiment monitors whether the operating status of the master node is normal. When it is detected that the master node fails or fails, the failover mechanism is started to find an available slave node to replace the master node as the new master node to process related services.

具体的,本实施例先行在注册成功的多个从节点中检测出状态正常的至少一个可用从节点。Specifically, this embodiment first detects at least one available slave node in a normal state from multiple slave nodes that have successfully registered.

可以理解的是,可用从节点即为状态正常的从节点。It can be understood that an available slave node is a slave node in a normal state.

S102、确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序。S102: Determine a registration order of at least one available slave node, where the registration order is an order in which the relevant node is successfully registered in the master node and multiple slave nodes.

具体的,某个节点(如主节点、可用从节点或不可用从节点)的注册次序即为该节点在所有注册成功的节点中的注册成功次序。Specifically, the registration order of a node (such as a master node, an available slave node, or an unavailable slave node) is the registration success order of the node among all successfully registered nodes.

具体的,本实施例在每个节点注册成功时,确定、设置和保存节点的注册次序。Specifically, this embodiment determines, sets and saves the registration order of each node when each node is successfully registered.

具体的,本实施例确定每个可用从节点的注册次序。Specifically, this embodiment determines the registration order of each available slave node.

可选的,在本实施例提出的其他视频信令转发网关系统中的节点控制方法中,在上述步骤S101之前,方法还包括:Optionally, in another node control method in a video signaling forwarding gateway system proposed in this embodiment, before the above step S101, the method further includes:

根据多个节点的注册成功次序,在多个节点中选取不同的节点设置为主节点和从节点,以及设置主节点和从节点的注册次序。According to the registration success order of the multiple nodes, different nodes are selected from the multiple nodes to be set as the master node and the slave node, and the registration order of the master node and the slave node is set.

可选的,上述根据多个节点的注册成功次序,在多个节点中选取不同的节点设置为主节点和从节点,以及设置主节点和从节点的注册次序,包括:Optionally, the selecting different nodes from the multiple nodes to set as the master node and the slave node according to the order in which the multiple nodes are successfully registered, and setting the registration order of the master node and the slave node, include:

针对第一个注册成功的节点,将节点设置为主节点,将节点的注册次序设置为第一注册次序,以及将第一注册次序保存为当前的最大注册次序;For the first successfully registered node, set the node as the master node, set the node's registration order to the first registration order, and save the first registration order as the current maximum registration order;

针对第二个注册成功的节点,将节点设置为从节点,将当前的最大注册次序加1得到第二注册次序,将从节点的注册次序设置为第二注册次序,并将第二注册次序保存为当前的最大注册次序;For the second successfully registered node, set the node as a slave node, add 1 to the current maximum registration order to get the second registration order, set the registration order of the slave node to the second registration order, and save the second registration order as the current maximum registration order;

针对第三个注册成功的节点,将节点设置为从节点,将当前的最大注册次序加1得到第三注册次序,将从节点的注册次序设置为第三注册次序,直至完成对最新注册成功的节点的注册次序的设置,以及将最新注册成功的节点的注册次序保存为当前的最大注册次序为止。For the third successfully registered node, set the node as a slave node, add 1 to the current maximum registration order to get the third registration order, set the registration order of the slave node to the third registration order, until the registration order of the latest successfully registered node is set, and the registration order of the latest successfully registered node is saved as the current maximum registration order.

可选的,第一注册次序为1。Optionally, the first registration order is 1.

具体的,本实施例将第一个注册成功的节点的注册次序设置为1,并配置为主节点,主要负责与外部系统进行交互、信令转发和路由设定等任务。后续注册成功的节点将按照注册成功的顺序,依次设置节点的注册次序,比如第二个注册成功的节点的注册次序设置为2,第三个注册成功的节点的注册次序设置为3,以此类推。其中,节点的注册次序具体为参数Level值,最新注册成功的节点的Level值由当前的最大Level值加1得到。Specifically, in this embodiment, the registration order of the first successfully registered node is set to 1, and it is configured as the master node, which is mainly responsible for tasks such as interaction with external systems, signaling forwarding, and routing settings. The registration order of subsequent successfully registered nodes will be set in the order of successful registration. For example, the registration order of the second successfully registered node is set to 2, the registration order of the third successfully registered node is set to 3, and so on. The registration order of the node is specifically the parameter Level value, and the Level value of the latest successfully registered node is obtained by adding 1 to the current maximum Level value.

具体的,注册次序大于1的节点均作为从节点,主要负责处理具体的业务请求,如目录查询。从节点根据主节点的路由设定来接收和处理相应的请求,将处理结果返回给主节点,并由主节点转发给外部系统。Specifically, nodes with a registration order greater than 1 are all slave nodes, which are mainly responsible for processing specific business requests, such as directory queries. The slave nodes receive and process the corresponding requests according to the routing settings of the master node, return the processing results to the master node, and the master node forwards them to the external system.

S103、在至少一个可用从节点的注册次序中确定出最小注册次序。S103: Determine a minimum registration order in the registration order of at least one available slave node.

具体的,本实施例在确定出的所有可用从节点的注册次序中确定出最小注册次序,即所有可用从节点中最早注册成功的可用从节点的注册次序。Specifically, this embodiment determines the minimum registration order among the determined registration orders of all available slave nodes, that is, the registration order of the available slave node that successfully registers the earliest among all available slave nodes.

S104、注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。S104, deregistering the master node, and setting the available slave node corresponding to the minimum registration order as the new master node.

具体的,本实施例在确定出最小注册次序后,注销主节点,并将最小注册次序对应的可用从节点设置为新的主节点,即将最小注册次序对应的可用从节点替换主节点作为新的主节点,执行主节点职责。Specifically, after determining the minimum registration order, this embodiment cancels the master node and sets the available slave node corresponding to the minimum registration order as the new master node, that is, the available slave node corresponding to the minimum registration order replaces the master node as the new master node to perform the duties of the master node.

可以理解的是,在正常操作中,Level值为1的节点即主节点负责处理所有的信令转发任务。如果该主节点发生故障或失效,视频信令转发网关系统将检测到这一情况,并触发失效转移机制。根据预设的规则,视频信令转发网关系统选择Level值最小的可用从节点即未发生故障的从节点来接管主节点的职责。比如,如果Level值为1的主节点失效,那么Level值2的从节点将成为新的主节点,接管信令转发任务。这个过程会持续进行,视频信令转发网关系统中总有一个节点在负责信令转发,即保持系统中一直有主节点在进行工作,确保服务的连续性和稳定性,有效提高视频信令转发网关系统的可用性和可靠性。It is understandable that in normal operation, the node with a Level value of 1, i.e., the master node, is responsible for handling all signaling forwarding tasks. If the master node fails or fails, the video signaling forwarding gateway system will detect this and trigger the failover mechanism. According to the preset rules, the video signaling forwarding gateway system selects the available slave node with the smallest Level value, i.e., the slave node that has not failed, to take over the responsibilities of the master node. For example, if the master node with a Level value of 1 fails, then the slave node with a Level value of 2 will become the new master node and take over the signaling forwarding task. This process will continue, and there will always be a node in the video signaling forwarding gateway system that is responsible for signaling forwarding, that is, there will always be a master node working in the system to ensure the continuity and stability of the service, and effectively improve the availability and reliability of the video signaling forwarding gateway system.

如图3所示,在本实施例提出的第二种视频信令转发网关系统中的节点控制方法中,包括以下步骤:As shown in FIG3 , the node control method in the second video signaling forwarding gateway system proposed in this embodiment includes the following steps:

S301、流程开始,集群节点注册并获取对应Level值。S301, the process starts, the cluster node registers and obtains the corresponding Level value.

具体的,本实施例在流程开始后,节点注册并在注册成功时,获取对应的Level值即注册次序。Specifically, in this embodiment, after the process starts, the node registers and when the registration is successful, the corresponding Level value, that is, the registration order, is obtained.

S302、判断节点的Level值是否等于1。若是,则执行步骤S3031。否则执行步骤S3032。S302: Determine whether the Level value of the node is equal to 1. If yes, execute step S3031. Otherwise, execute step S3032.

S3031、直接将节点选定为主节点。S3031. Directly select the node as the master node.

S3032、确定该节点为从节点。S3032. Determine that the node is a slave node.

S304、监测各节点运行情况。S304: Monitor the operation status of each node.

S305、监测主节点是否故障。若否,则继续监测各节点运行情况。若是,则执行步骤S306。S305, monitor whether the master node is faulty. If not, continue to monitor the operation of each node. If yes, execute step S306.

S306、启动失效转移机制。S306: Start the failover mechanism.

S307、选取新的主节点,并返回执行步骤S304。流程结束。S307: Select a new master node and return to step S304. The process ends.

需要说明的是,本实施例基于注册顺序和主节点的失效转移机制,使得视频信令转发网关系统具备高可用性与可靠性。本实施例通过记录节点的注册次序和分配不同的Level值,来确定节点在集群中的优先级和角色。当主节点发生故障时,本实施例根据这些注册次序和Level值,迅速且自动地选择一个新的主节点来接替原主节点的任务。这种机制大大提升了视频信令转发网关系统的容错能力和可靠性,降低了因单点故障而导致的服务中断风险。It should be noted that this embodiment is based on the registration order and the failover mechanism of the master node, so that the video signaling forwarding gateway system has high availability and reliability. This embodiment determines the priority and role of the node in the cluster by recording the registration order of the node and assigning different Level values. When the master node fails, this embodiment quickly and automatically selects a new master node to take over the task of the original master node based on these registration orders and Level values. This mechanism greatly improves the fault tolerance and reliability of the video signaling forwarding gateway system and reduces the risk of service interruption caused by single point failures.

还需要说明的是,视频信令转发网关系统中的多个节点相互备份和冗余,确保在某个节点比如主节点出现故障时,其他节点能够迅速接管其任务,从而保证系统的持续稳定运行。It should also be noted that the multiple nodes in the video signaling forwarding gateway system back up and redundancy each other to ensure that when a node, such as the main node, fails, other nodes can quickly take over its tasks, thereby ensuring the continuous and stable operation of the system.

本实施例提出的视频信令转发网关系统中的节点控制方法,视频信令转发网关系统中包括注册成功的主节点和多个从节点。本实施例监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;在至少一个可用从节点的注册次序中确定出最小注册次序;注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。本实施例当原主节点失效时,选取出一个可用从节点作为新的主节点并接管原主节点的工作,确保服务的连续性和稳定性,有效提高视频信令转发网关系统的可用性和可靠性。The node control method in the video signaling forwarding gateway system proposed in this embodiment includes a successfully registered master node and multiple slave nodes in the video signaling forwarding gateway system. In this embodiment, if the master node is detected to be in an abnormal state, at least one available slave node in a normal state is determined among the multiple slave nodes; the registration order of at least one available slave node is determined, and the registration order is the order in which the relevant node is successfully registered among the master node and the multiple slave nodes; the minimum registration order is determined among the registration orders of at least one available slave node; the master node is deregistered, and the available slave node corresponding to the minimum registration order is set as the new master node. In this embodiment, when the original master node fails, an available slave node is selected as the new master node and takes over the work of the original master node, ensuring the continuity and stability of the service, and effectively improving the availability and reliability of the video signaling forwarding gateway system.

相关技术中,视频信令转发网关系统作为视频资源调阅共享场景中的核心组件,其主要职责是接收和转发控制指令。但相关技术中视频信令转发网关系统存在多重挑战:In related technologies, the video signaling forwarding gateway system is the core component in the video resource access and sharing scenario, and its main responsibility is to receive and forward control instructions. However, there are multiple challenges in the video signaling forwarding gateway system in related technologies:

首先,并发性能的瓶颈问题。当海量的第三方请求并发产生时,相关技术中的视频信令转发网关系统往往因其处理能力有限而无法满足这些需求,严重影响了超大规模视频共享业务的流畅进行。First, there is the bottleneck problem of concurrent performance. When a large number of third-party requests are generated concurrently, the video signaling forwarding gateway system in the related technology is often unable to meet these requirements due to its limited processing capacity, which seriously affects the smooth operation of ultra-large-scale video sharing services.

其次,单点故障的风险。若视频信令转发网关系统发生故障,将直接导致依赖其的所有第三方调用中断,使得视频资源无法被正常访问,不仅严重影响了业务的稳定性,更大大降低了用户的使用体验,显然这与高可靠性的业务需求背道而驰。Secondly, there is the risk of single point failure. If the video signaling forwarding gateway system fails, it will directly lead to the interruption of all third-party calls that rely on it, making it impossible to access video resources normally, which not only seriously affects the stability of the business, but also greatly reduces the user experience. Obviously, this runs counter to the business requirements of high reliability.

再者,扩展性能的不足。无论是尝试提升其性能还是增加其容量,都面临着巨大的困难。这种局限性极大地制约了云平台业务随着市场需求的快速增长而扩展的可能性。Furthermore, the lack of scalability. Whether trying to improve its performance or increase its capacity, it faces huge difficulties. This limitation greatly restricts the possibility of cloud platform business to expand with the rapid growth of market demand.

综上,虽然依赖相关技术中视频信令转发网关系统实现视频资源的共享在操作上相对简单,但其所带来的并发性能瓶颈、单点故障风险以及扩展性难题都是不容忽视的。In summary, although it is relatively simple to operate the video signaling forwarding gateway system in related technologies to share video resources, the concurrent performance bottlenecks, single point failure risks and scalability problems it brings cannot be ignored.

基于图1,本实施例提出第二种视频信令转发网关系统中的节点控制方法,该方法在上述将最新注册成功的节点的注册次序保存为当前的最大注册次序为止之后,还包括:Based on FIG. 1 , this embodiment proposes a second node control method in a video signaling forwarding gateway system. After the registration order of the latest successfully registered node is saved as the current maximum registration order, the method further includes:

当接收到从节点扩展指令时,根据从节点扩展指令确定待注册的新从节点,对待注册的新从节点进行注册,确定注册成功,则针对新从节点进行注册次序的设置以及对当前的最大注册次序进行更新;When a slave node extension instruction is received, a new slave node to be registered is determined according to the slave node extension instruction, the new slave node to be registered is registered, and if the registration is successful, a registration order is set for the new slave node and a current maximum registration order is updated;

当接收到从节点注销指令时,根据从节点注销指令在多个从节点中确定待注销的从节点,对待注销的从节点进行注销。When a slave node deregistration instruction is received, a slave node to be deregistered is determined among multiple slave nodes according to the slave node deregistration instruction, and the slave node to be deregistered is deregistered.

本实施例提出的视频信令转发网关系统中的节点控制方法,通过扩展或减少从节点的数量,能够根据实际需求进行快速扩展,轻松应对业务量的增长或减少,且无需对整体架构进行改动,提升视频信令转发网关系统的灵活性和可扩展性。The node control method in the video signaling forwarding gateway system proposed in this embodiment can be quickly expanded according to actual needs by expanding or reducing the number of slave nodes, easily cope with the increase or decrease in business volume, and there is no need to change the overall architecture, thereby improving the flexibility and scalability of the video signaling forwarding gateway system.

基于图1,本实施例提出第三种视频信令转发网关系统中的节点控制方法,该方法中,目标节点为主节点或新的主节点,处于正常状态的目标节点用于:Based on FIG. 1 , this embodiment proposes a third node control method in a video signaling forwarding gateway system, in which the target node is a master node or a new master node, and the target node in a normal state is used to:

接收外部系统发送的业务处理指令,业务处理指令中包括请求内容;Receiving a business processing instruction sent by an external system, wherein the business processing instruction includes request content;

根据业务处理指令生成包括请求内容的新业务处理指令,以及根据负载均衡原则在至少一个可用从节点中确定出目标从节点;Generate a new service processing instruction including request content according to the service processing instruction, and determine a target slave node from at least one available slave node according to a load balancing principle;

将新业务处理指令发送至目标从节点,以使目标从节点:根据新业务处理指令中的请求内容和目标从节点的节点信息,生成响应结果并返回至目标节点,响应结果中包括目标从节点的节点信息;Sending the new service processing instruction to the target slave node, so that the target slave node: generates a response result according to the request content in the new service processing instruction and the node information of the target slave node and returns it to the target node, wherein the response result includes the node information of the target slave node;

在响应结果中删除目标从节点的节点信息并增加目标节点的节点信息,得到修改后响应结果;将修改后响应结果发送至外部系统,以在对外部系统隐藏目标从节点的情况下,为外部系统处理相关业务。The node information of the target slave node is deleted from the response result and the node information of the target node is added to obtain a modified response result; the modified response result is sent to the external system to process related business for the external system while hiding the target slave node from the external system.

其中,请求内容用于指示节点处理相应类型的业务,并返回相应的响应结果。The request content is used to instruct the node to process the corresponding type of business and return the corresponding response result.

可选的,上述处于正常状态的目标节点根据业务处理指令生成新业务处理指令的过程,包括:Optionally, the process of the target node in a normal state generating a new service processing instruction according to the service processing instruction includes:

获取目标节点的统一资源标识符(Uniform Resource Identifier,URI);Get the Uniform Resource Identifier (URI) of the target node;

在业务处理指令中,创建路由Route头部字段,并将Route头部字段对应的字段值设置为由URI和松散路由参数组合成的组合字段值,以生成新业务处理指令;In the business processing instruction, create a route Route header field, and set the field value corresponding to the Route header field to a combined field value composed of the URI and the loose routing parameters to generate a new business processing instruction;

其中,新业务处理指令中Route头部字段对应的组合字段值,用于指示目标从节点将生成的响应结果返回至目标节点。Among them, the combined field value corresponding to the Route header field in the new business processing instruction is used to instruct the target slave node to return the generated response result to the target node.

可选的,业务处理指令中还包括联系地址Contact字段以及相应的字段值。此时,目标节点在接收到业务处理指令时,先行在Contact字段对应的字段值中增加目标节点的URI,之后再创建Route头部字段以及设置Route头部字段对应的组合字段值,得到新业务指令。Optionally, the business processing instruction also includes a contact address Contact field and a corresponding field value. At this time, when the target node receives the business processing instruction, it first adds the URI of the target node to the field value corresponding to the Contact field, and then creates a Route header field and sets the combined field value corresponding to the Route header field to obtain a new business instruction.

需要说明的是,目标从节点根据新业务指令生成的响应结果中包括上述Contact字段以及对应的字段值,该字段值中包括目标节点的URI。而目标节点根据该响应结果生成的修改后响应结果中同样包括该Contact字段和对应的该字段值。外部系统接收到该修改后响应结果时,可以根据该Contact字段和该字段值中目标节点的URI,确定该修改后响应结果是由目标节点发送的。此时,外部系统无法从修改后响应结果中知晓目标从节点的相关信息,本实施例可以进一步实现对目标从节点的隐藏。It should be noted that the target slave node includes the above-mentioned Contact field and the corresponding field value in the response result generated according to the new business instruction, and the field value includes the URI of the target node. The modified response result generated by the target node according to the response result also includes the Contact field and the corresponding field value. When the external system receives the modified response result, it can determine that the modified response result is sent by the target node based on the Contact field and the URI of the target node in the field value. At this time, the external system cannot know the relevant information of the target slave node from the modified response result, and this embodiment can further achieve the hiding of the target slave node.

如图4所示,在本实施例提出的其他视频信令转发网关系统中的节点控制方法中,包括以下步骤:As shown in FIG. 4 , in another node control method in a video signaling forwarding gateway system proposed in this embodiment, the following steps are included:

S401、流程开始,主节点向外部上级平台注册,建立稳定通信连接。S401, the process starts, the master node registers with the external superior platform and establishes a stable communication connection.

具体的,主节点代表视频信令转发网关系统主动向外部系统注册,建立必要的连接和通信信道。外部系统只需要与视频信令转发网关系统中的主节点进行交互,即可达到与视频信令转发网关系统整个集群通信的目的。Specifically, the master node actively registers with the external system on behalf of the video signaling forwarding gateway system to establish necessary connections and communication channels. The external system only needs to interact with the master node in the video signaling forwarding gateway system to achieve the purpose of communicating with the entire cluster of the video signaling forwarding gateway system.

S402、主节点持续监听指定端口以接收SIP信令。S402: The master node continuously monitors the designated port to receive SIP signaling.

主节点注册成功后,主节点会持续监听指定的端口,以接收来自外部系统的SIP信令即上述业务处理指令,如视频业务处理指令。After the master node is successfully registered, the master node will continue to monitor the specified port to receive SIP signaling from the external system, that is, the above-mentioned business processing instructions, such as video business processing instructions.

S403、外部上级平台向主节点发送SIP信令。S403: The external superior platform sends a SIP signaling to the master node.

其中,视频信令转发网关系统中的从节点不与向外部系统注册。从节点通过集群内部的网络与主节点进行通信。当从节点需要处理来自外部系统的请求或向外部系统发送响应时,会将这些信息发送到主节点,由主节点负责转发给外部系统。外部系统只与主节点建立连接和通信,不知道从节点的存在,通过主节点与整个集群进行交互。The slave nodes in the video signaling forwarding gateway system do not register with the external system. The slave nodes communicate with the master node through the network inside the cluster. When the slave node needs to process a request from the external system or send a response to the external system, it will send this information to the master node, which will be responsible for forwarding it to the external system. The external system only establishes a connection and communication with the master node, is unaware of the existence of the slave node, and interacts with the entire cluster through the master node.

S404、主节点根据负载最轻原则选择合适的目标从节点。S404. The master node selects a suitable target slave node based on the principle of lightest load.

具体的,当外部系统发送SIP信令即上述业务处理指令时,主节点接收SIP信令,并准备进行进一步的处理。主节点根据负载最轻原则,选择一个合适的可用从节点即目标从节点来处理接收到的SIP信令。Specifically, when the external system sends SIP signaling, ie the above-mentioned service processing instruction, the master node receives the SIP signaling and prepares for further processing. The master node selects a suitable available slave node, ie the target slave node, to process the received SIP signaling according to the principle of lightest load.

S405、主节点在SIP信令中修改Contact字段值并增加Route头部字段,得到修改后SIP信令并发送至目标从节点。S405: The master node modifies the Contact field value in the SIP signaling and adds the Route header field, obtains the modified SIP signaling and sends it to the target slave node.

具体的,修改后SIP信令即为修改后响应结果。Specifically, the modified SIP signaling is the modified response result.

其中,主节点增加Route头部字段并转发信令。具体的,主节点将接收到的SIP信令转发给选定的从节点即目标从节点。在转发之前,主节点会在信令中增加一个Route头部字段并设置字段值为主节点URI和修改Contact字段值,这个Route头部字段值指示目标从节点在处理完信令后,必须将处理结果返回给主节点。Among them, the master node adds a Route header field and forwards the signaling. Specifically, the master node forwards the received SIP signaling to the selected slave node, i.e., the target slave node. Before forwarding, the master node adds a Route header field to the signaling and sets the field value to the master node URI and modifies the Contact field value. This Route header field value indicates that the target slave node must return the processing result to the master node after processing the signaling.

S406、从节点根据修改后SIP信令执行呼叫建立、修改或终止等操作,生成响应结果。S406. The slave node performs operations such as call establishment, modification or termination according to the modified SIP signaling and generates a response result.

具体的,目标从节点接收到信令后,进行必要的处理,如呼叫建立、修改或终止等操作。Specifically, after receiving the signaling from the target node, it performs necessary processing, such as call establishment, modification or termination.

S407、从节点将响应结果返回给主节点。S407: The slave node returns the response result to the master node.

需要说明的是,由于Route头部字段的存在,目标从节点被强制将处理结果返回给主节点,而不是直接发送给外部系统。It should be noted that due to the existence of the Route header field, the target slave node is forced to return the processing result to the master node instead of sending it directly to the external system.

S408、主节点接收处理结果并修改响应结果以得到隐藏目标从节点相关信息的修改后响应结果。S408: The master node receives the processing result and modifies the response result to obtain a modified response result that hides the relevant information of the target slave node.

S409、主节点发送修改后响应结果至外部上级平台。流程结束。S409: The master node sends the modified response result to the external superior platform. The process ends.

具体的,主节点接收目标从节点返回的处理结果,并修改其中的Contact字段值,以对外隐藏目标从节点的具体信息,确保外部上级平台只与主节点交互,而不知道背后具体的从节点。主节点将修改后的处理结果转发给外部系统,完成整个SIP信令的响应过程。Specifically, the master node receives the processing result returned by the target slave node and modifies the Contact field value to hide the specific information of the target slave node from the outside, ensuring that the external superior platform only interacts with the master node without knowing the specific slave node behind it. The master node forwards the modified processing result to the external system to complete the entire SIP signaling response process.

下面以INVITE请求为例,描述整个外部系统、主节点和目标从节点间的对话过程。The following takes the INVITE request as an example to describe the entire dialogue process between the external system, the master node and the target slave node.

步骤一、外部上级平台发送INVITE请求到主节点。Step 1: The external superior platform sends an INVITE request to the master node.

外部上级平台(网络地址为192.168.1.100)发送到主节点(网络地址为192.168.1.200)的INVITE请求包括下述信息:The INVITE request sent by the external superior platform (network address is 192.168.1.100) to the master node (network address is 192.168.1.200) includes the following information:

INVITE sip:target@192.168.1.200 SIP/2.0INVITE sip:target@192.168.1.200 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7

Max-Forwards: 70Max-Forwards: 70

From:<sip:caller@192.168.1.100>;tag=1fxceda7slFrom:<sip:caller@192.168.1.100>;tag=1fxceda7sl

To:<sip:target@192.168.1.200>To:<sip:target@192.168.1.200>

Call-ID: 3848276298220188511@192.168.1.100Call-ID: 3848276298220188511@192.168.1.100

CSeq: 1 INVITECSeq: 1 INVITE

Contact:<sip:caller@192.168.1.100:5060>Contact:<sip:caller@192.168.1.100:5060>

Content-Type: application/sdpContent-Type: application/sdp

Content-Length: ...Content-Length: ...

[SDP信息][SDP information]

步骤二、主节点转发INVITE请求到目标从节点。Step 2: The master node forwards the INVITE request to the target slave node.

在转发之前,主节点修改Contact字段值,将自身的URI加入其中,Before forwarding, the master node modifies the Contact field value and adds its own URI to it.

这样得到更新后的Contact字段,它现在包含了主节点的URI,并且保留了原始外部上级平台的URI。为了确保响应能够返回给主节点,添加一个Route头部字段,这个Route头部字段包含了主节点的URI,指示任何响应都应该发送到主节点。This results in an updated Contact field that now contains the URI of the primary node and retains the URI of the original external parent platform. To ensure that the response can be returned to the primary node, a Route header field is added. This Route header field contains the URI of the primary node, indicating that any response should be sent to the primary node.

主节点(192.168.1.200)转发到目标从节点(192.168.1.300)的INVITE请求:The master node (192.168.1.200) forwards the INVITE request to the target slave node (192.168.1.300):

INVITE sip:target@192.168.1.300 SIP/2.0INVITE sip:target@192.168.1.300 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012

Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100

Max-Forwards: 69Max-Forwards: 69

From:<sip:caller@192.168.1.100>;tag=1fxceda7slFrom:<sip:caller@192.168.1.100>;tag=1fxceda7sl

To:<sip:target@192.168.1.300>To:<sip:target@192.168.1.300>

Call-ID: 3848276298220188511@192.168.1.100Call-ID: 3848276298220188511@192.168.1.100

CSeq: 1 INVITECSeq: 1 INVITE

Contact:<sip:proxy@192.168.1.200:5060>,<sip:caller@192.168.1.100:5060>Contact:<sip:proxy@192.168.1.200:5060>,<sip:caller@192.168.1.100:5060>

Route:<sip:192.168.1.200:5060;lr>Route:<sip:192.168.1.200:5060;lr>

Content-Type: application/sdpContent-Type: application/sdp

Content-Length:...Content-Length:...

[SDP信息][SDP information]

步骤三、目标从节点处理INVITE请求并发送响应到主节点。Step 3: The target slave node processes the INVITE request and sends a response to the master node.

目标从节点收到INVITE请求后,处理请求并准备200 OK响应。由于Route头部字段的存在,目标从节点将响应发送回主节点。After receiving the INVITE request, the target slave node processes the request and prepares a 200 OK response. Due to the presence of the Route header field, the target slave node sends the response back to the master node.

目标从节点(192.168.1.300)发送到主节点(192.168.1.200)的200 OK响应:200 OK response from the target slave node (192.168.1.300) to the master node (192.168.1.200):

SIP/2.0 200 OKSIP/2.0 200 OK

Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012;received=192.168.1.200Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012;received=192.168.1.200

Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100

From:<sip:caller@192.168.1.100>;tag=1fxceda7sl;请求的发起者From:<sip:caller@192.168.1.100>;tag=1fxceda7sl;The initiator of the request

To:<sip:target@192.168.1.300>;tag=asbfdo3h8a;响应的处理者To:<sip:target@192.168.1.300>;tag=asbfdo3h8a;Response handler

Call-ID: 3848276298220188511@192.168.1.100Call-ID: 3848276298220188511@192.168.1.100

CSeq: 1 INVITECSeq: 1 INVITE

Contact:<sip:target@192.168.1.300:5060>;从节点的URIContact:<sip:target@192.168.1.300:5060>; URI of the slave node

Content-Type: application/sdpContent-Type: application/sdp

Content-Length: ...Content-Length: ...

[SDP信息][SDP information]

步骤四、主节点转发200 OK响应到外部上级平台。Step 4: The master node forwards the 200 OK response to the external superior platform.

主节点收到目标从节点的200 OK响应后,为隐藏目标从节点的信息,主节点将目标接收To头部字段的URI修改为原始请求中的目标地址,同时重新修改联系地址Contact字段值为主节点的URI,确保所有后续的SIP消息都通过主节点进行路由。After the master node receives the 200 OK response from the target slave node, in order to hide the information of the target slave node, the master node modifies the URI of the target receiving To header field to the target address in the original request, and at the same time re-modifies the contact address Contact field value to the URI of the master node, ensuring that all subsequent SIP messages are routed through the master node.

主节点(192.168.1.200)转发到外部上级平台(192.168.1.100)的200 OK响应:The master node (192.168.1.200) forwards the 200 OK response to the external superior platform (192.168.1.100):

SIP/2.0 200 OKSIP/2.0 200 OK

Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012;received=192.168.1.200Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK2d479012;received=192.168.1.200

Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK74bf94c7;received=192.168.1.100

From:<sip:caller@192.168.1.100>;tag=1fxceda7sl;请求的发起者From:<sip:caller@192.168.1.100>;tag=1fxceda7sl;The initiator of the request

To:<sip:target@192.168.1.200>;tag=from-branch-node;响应的处理者修改为主节点URI,隐藏从节点信息To:<sip:target@192.168.1.200>;tag=from-branch-node;The response handler is changed to the master node URI, hiding the slave node information

Call-ID: 3848276298220188511@192.168.1.100Call-ID: 3848276298220188511@192.168.1.100

CSeq: 1 INVITECSeq: 1 INVITE

Contact:<sip:proxy@192.168.1.200>;修改为主节点的URI,隐藏从节点信息Contact:<sip:proxy@192.168.1.200>; Change to the URI of the master node and hide the slave node information

Content-Type: application/sdpContent-Type: application/sdp

Content-Length: ...Content-Length: ...

[SDP信息][SDP information]

需要说明的是,外部上级平台只需与主节点建立连接并进行通信,无需与多个从节点分别建立连接,简化了外部上级平台的接入流程,降低了集成复杂度。本实施例通过重新封装Contact字段、目标接收To头部字段和增加Route头部字段等方式,对外隐藏了从节点的具体信息,增加系统安全性,确保了外部上级平台和从节点之间的通信透明性,外部上级平台只需与主节点交互,无需了解集群内部的复杂细节。It should be noted that the external superior platform only needs to establish a connection with the master node and communicate, and does not need to establish connections with multiple slave nodes respectively, which simplifies the access process of the external superior platform and reduces the complexity of integration. This embodiment hides the specific information of the slave node from the outside by repackaging the Contact field, the target receiving To header field, and adding the Route header field, thereby increasing the security of the system and ensuring the transparency of communication between the external superior platform and the slave node. The external superior platform only needs to interact with the master node and does not need to understand the complex details inside the cluster.

本实施例信令控制与业务处理分离,系统通过主节点和从节点的分工设计,实现了信令控制与业务处理的分离。本实施例通过集群架构和负载均衡机制,可以实现SIP信令的高效转发。主节点能够根据各从节点的负载情况,动态分配信令处理任务,确保每个信令都能得到及时、准确的处理。由于主节点专注于信令的路由和转发,而从节点专注于具体的业务处理,分工明确的设计使得业务处理更加高效、准确。In this embodiment, signaling control is separated from business processing. The system realizes the separation of signaling control and business processing through the division of labor design between the master node and the slave node. In this embodiment, the efficient forwarding of SIP signaling can be realized through the cluster architecture and load balancing mechanism. The master node can dynamically allocate signaling processing tasks according to the load conditions of each slave node to ensure that each signaling can be processed in a timely and accurate manner. Since the master node focuses on the routing and forwarding of signaling, and the slave node focuses on specific business processing, the design with clear division of labor makes business processing more efficient and accurate.

本实施例提出的视频信令转发网关系统中的节点控制方法,不仅可以提升视频信令转发网关系统的可扩展性,使得视频信令转发网关系统在需求增长时能够方便地增加新的节点以扩充能力,而且还大幅增强了视频信令转发网关系统的灵活性,便于根据实际需求快速调整信令路由策略。同时,由于控制层与业务层的分离,视频信令转发网关系统的可维护性也显著提高,故障排查和系统升级变得更为简便高效。整体来看,视频信令转发网关系统的系统架构为视频监控系统间的互联互通提供了一种高效、稳定且易于管理的解决方案,有效解决相关技术中视频信令转发网关系统在高并发请求下的性能瓶颈、单点故障风险以及扩展性不足等问题,提高视频共享系统的稳定性、可靠性和扩展性,满足超大规模视频共享业务的需求。The node control method in the video signaling forwarding gateway system proposed in this embodiment can not only improve the scalability of the video signaling forwarding gateway system, so that the video signaling forwarding gateway system can easily add new nodes to expand its capabilities when the demand increases, but also greatly enhance the flexibility of the video signaling forwarding gateway system, which is convenient for quickly adjusting the signaling routing strategy according to actual needs. At the same time, due to the separation of the control layer and the business layer, the maintainability of the video signaling forwarding gateway system is also significantly improved, and troubleshooting and system upgrades become simpler and more efficient. Overall, the system architecture of the video signaling forwarding gateway system provides an efficient, stable and easy-to-manage solution for the interconnection between video surveillance systems, effectively solves the performance bottlenecks, single point failure risks and insufficient scalability of the video signaling forwarding gateway system under high concurrent requests in the related technology, improves the stability, reliability and scalability of the video sharing system, and meets the needs of ultra-large-scale video sharing services.

如图5所示,本实施例提出一种视频信令转发网关系统中的节点控制装置,视频信令转发网关系统中包括注册成功的主节点和多个从节点。该装置包括:As shown in FIG5 , this embodiment proposes a node control device in a video signaling forwarding gateway system, wherein the video signaling forwarding gateway system includes a successfully registered master node and multiple slave nodes. The device includes:

第一确定单元101,用于监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;The first determining unit 101 is used to detect that the master node is in an abnormal state, and then determine at least one available slave node in a normal state among multiple slave nodes;

第二确定单元102,用于确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;A second determining unit 102 is used to determine a registration order of at least one available slave node, where the registration order is an order in which the relevant node is successfully registered in the master node and the plurality of slave nodes;

第三确定单元103,用于在至少一个可用从节点的注册次序中确定出最小注册次序;The third determining unit 103 is configured to determine a minimum registration order among the registration orders of at least one available slave node;

第一设置单元104,用于注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。The first setting unit 104 is used to deregister the master node and set the available slave node corresponding to the minimum registration order as the new master node.

需要说明的是,第一确定单元101、第二确定单元102、第三确定单元103和第一设置单元104的处理过程及其带来的有益效果,可分别参照图1中的步骤S101至S104,不再赘述。It should be noted that the processing procedures of the first determining unit 101, the second determining unit 102, the third determining unit 103 and the first setting unit 104 and the beneficial effects thereof may be respectively referred to steps S101 to S104 in FIG. 1 and will not be described in detail.

可选的,装置还包括:Optionally, the device further comprises:

第二设置单元,用于在监测到主节点处于异常状态之前,根据多个节点的注册成功次序,在多个节点中选取不同的节点设置为主节点和从节点,以及设置主节点和从节点的注册次序。The second setting unit is used to select different nodes from multiple nodes to set as master nodes and slave nodes, and set the registration order of the master node and the slave nodes according to the registration success order of the multiple nodes before monitoring that the master node is in an abnormal state.

可选的,第二设置单元,还用于:Optionally, the second setting unit is further used for:

针对第一个注册成功的节点,将节点设置为主节点,将节点的注册次序设置为第一注册次序,以及将第一注册次序保存为当前的最大注册次序;For the first successfully registered node, set the node as the master node, set the node's registration order to the first registration order, and save the first registration order as the current maximum registration order;

针对第二个注册成功的节点,将节点设置为从节点,将当前的最大注册次序加1得到第二注册次序,将从节点的注册次序设置为第二注册次序,并将第二注册次序保存为当前的最大注册次序;For the second successfully registered node, set the node as a slave node, add 1 to the current maximum registration order to get the second registration order, set the registration order of the slave node to the second registration order, and save the second registration order as the current maximum registration order;

针对第三个注册成功的节点,将节点设置为从节点,将当前的最大注册次序加1得到第三注册次序,将从节点的注册次序设置为第三注册次序,直至完成对最新注册成功的节点的注册次序的设置,以及将最新注册成功的节点的注册次序保存为当前的最大注册次序为止。For the third successfully registered node, set the node as a slave node, add 1 to the current maximum registration order to get the third registration order, set the registration order of the slave node to the third registration order, until the registration order of the latest successfully registered node is set, and the registration order of the latest successfully registered node is saved as the current maximum registration order.

可选的,第一注册次序为1。Optionally, the first registration order is 1.

可选的,装置还包括:Optionally, the device further comprises:

扩展单元,用于当接收到从节点扩展指令时,根据从节点扩展指令确定待注册的新从节点,对待注册的新从节点进行注册,确定注册成功,则针对新从节点进行注册次序的设置以及对当前的最大注册次序进行更新;The extension unit is used for, when receiving a slave node extension instruction, determining a new slave node to be registered according to the slave node extension instruction, registering the new slave node to be registered, and determining that the registration is successful, setting a registration order for the new slave node and updating a current maximum registration order;

注销单元,用于当接收到从节点注销指令时,根据从节点注销指令在多个从节点中确定待注销的从节点,对待注销的从节点进行注销。The deregistration unit is used to determine a slave node to be deregistered from multiple slave nodes according to the slave node deregistration instruction when receiving the slave node deregistration instruction, and deregister the slave node to be deregistered.

可选的,目标节点为主节点或新的主节点,处于正常状态的目标节点用于:Optionally, the target node is a master node or a new master node. The target node in a normal state is used to:

接收外部系统发送的业务处理指令,业务处理指令中包括请求内容;Receiving a business processing instruction sent by an external system, wherein the business processing instruction includes request content;

根据业务处理指令生成包括请求内容的新业务处理指令,以及根据负载均衡原则在至少一个可用从节点中确定出目标从节点;Generate a new service processing instruction including request content according to the service processing instruction, and determine a target slave node from at least one available slave node according to a load balancing principle;

将新业务处理指令发送至目标从节点,以使目标从节点:根据新业务处理指令中的请求内容和目标从节点的节点信息,生成响应结果并返回至目标节点,响应结果中包括目标从节点的节点信息;Sending the new service processing instruction to the target slave node, so that the target slave node: generates a response result according to the request content in the new service processing instruction and the node information of the target slave node and returns it to the target node, wherein the response result includes the node information of the target slave node;

在响应结果中删除目标从节点的节点信息并增加目标节点的节点信息,得到修改后响应结果;将修改后响应结果发送至外部系统,以在对外部系统隐藏目标从节点的情况下,为外部系统处理相关业务。The node information of the target slave node is deleted from the response result and the node information of the target node is added to obtain a modified response result; the modified response result is sent to the external system to process related business for the external system while hiding the target slave node from the external system.

可选的,处于正常状态的目标节点根据业务处理指令生成新业务处理指令的过程,包括:Optionally, the process of the target node in a normal state generating a new service processing instruction according to the service processing instruction includes:

获取目标节点的统一资源标识符URI;Get the uniform resource identifier URI of the target node;

在业务处理指令中,创建路由Route头部字段,并将Route头部字段对应的字段值设置为由URI和松散路由参数组合成的组合字段值,以生成新业务处理指令;In the business processing instruction, create a route Route header field, and set the field value corresponding to the Route header field to a combined field value composed of the URI and the loose routing parameters to generate a new business processing instruction;

其中,新业务处理指令中Route头部字段对应的组合字段值,用于指示目标从节点将生成的响应结果返回至目标节点。Among them, the combined field value corresponding to the Route header field in the new business processing instruction is used to instruct the target slave node to return the generated response result to the target node.

本实施例提出的视频信令转发网关系统中的节点控制装置,视频信令转发网关系统中包括注册成功的主节点和多个从节点。本实施例监测到主节点处于异常状态,则在多个从节点中确定出状态正常的至少一个可用从节点;确定至少一个可用从节点的注册次序,注册次序为相关节点在主节点和多个从节点中的注册成功次序;在至少一个可用从节点的注册次序中确定出最小注册次序;注销主节点,以及将最小注册次序对应的可用从节点设置为新的主节点。本实施例当原主节点失效时,选取出一个可用从节点作为新的主节点并接管原主节点的工作,确保服务的连续性和稳定性,有效提高视频信令转发网关系统的可用性和可靠性。The node control device in the video signaling forwarding gateway system proposed in this embodiment includes a successfully registered master node and multiple slave nodes in the video signaling forwarding gateway system. When this embodiment detects that the master node is in an abnormal state, at least one available slave node in a normal state is determined among the multiple slave nodes; the registration order of at least one available slave node is determined, and the registration order is the order in which the relevant node is successfully registered among the master node and the multiple slave nodes; the minimum registration order is determined among the registration orders of at least one available slave node; the master node is deregistered, and the available slave node corresponding to the minimum registration order is set as the new master node. In this embodiment, when the original master node fails, an available slave node is selected as the new master node and takes over the work of the original master node, ensuring the continuity and stability of the service, and effectively improving the availability and reliability of the video signaling forwarding gateway system.

本实施例中的视频信令转发网关系统中的节点控制装置是以功能单元的形式来呈现,这里的单元是指ASIC(Application Specific Integrated Circuit,专用集成电路)电路,执行一个或多个软件或固定程序的处理器和存储器,和/或其他可以提供上述功能的器件。The node control device in the video signaling forwarding gateway system in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and/or other devices that can provide the above functions.

本发明实施例还提供一种计算机设备,具有上述图5所示的视频信令转发网关系统中的节点控制装置。An embodiment of the present invention further provides a computer device having the node control device in the video signaling forwarding gateway system shown in FIG. 5 above.

请参阅图6,本发明可选实施例提供的一种计算机设备的结构示意图,该计算机设备包括:一个或多个处理器10、存储器20,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相通信连接,并且被安装在公共主板上或者根据需要以其它方式安装。处理器对在计算机设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在一些可选的实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个计算机设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器10为例。Please refer to FIG. 6, which is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention. The computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and are installed on a common motherboard or installed in other ways as needed. The processor processes instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input/output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and/or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). FIG. 6 takes a processor 10 as an example.

处理器10可以是中央处理器,网络处理器或其组合。其中,处理器10还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路,可编程逻辑器件或其组合。上述可编程逻辑器件可以是复杂可编程逻辑器件,现场可编程逻辑门阵列,通用阵列逻辑或其任意组合。The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

其中,存储器20存储有可由至少一个处理器10执行的指令,以使至少一个处理器10执行实现上述实施例示出的方法。The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

存储器20包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序。存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器20可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些可选的实施方式中,存储器20可选包括相对于处理器10远程设置的存储器,这些远程存储器通过网络连接至该计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 20 includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function. The data storage area can store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories are connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

存储器20可以包括易失性存储器,例如,随机存取存储器。存储器也可以包括非易失性存储器,例如,快闪存储器,硬盘或固态硬盘。存储器20还可以包括上述种类的存储器的组合。The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive. The memory 20 may also include a combination of the above-mentioned types of memory.

该计算机设备还包括通信接口30,用于该计算机设备与其他设备或通信网络通信。The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

本发明实施例还提供了一种计算机可读存储介质,上述根据本发明实施例的方法可在硬件、固件中实现,或者被实现为可记录在存储介质,或者被实现通过网络下载的原始存储在远程存储介质或非暂时机器可读存储介质中并将被存储在本地存储介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件的存储介质上的这样的软件处理。其中,存储介质可为磁碟、光盘、只读存储记忆体、随机存储记忆体、快闪存储器、硬盘或固态硬盘等;进一步地,存储介质还可以包括上述种类的存储器的组合。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件,当软件或计算机代码被计算机、处理器或硬件访问且执行时,实现上述实施例示出的方法。The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

CN202411120039.7A2024-08-152024-08-15 A node control method, device, equipment and medium in a video signaling forwarding gateway systemPendingCN118802487A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411120039.7ACN118802487A (en)2024-08-152024-08-15 A node control method, device, equipment and medium in a video signaling forwarding gateway system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411120039.7ACN118802487A (en)2024-08-152024-08-15 A node control method, device, equipment and medium in a video signaling forwarding gateway system

Publications (1)

Publication NumberPublication Date
CN118802487Atrue CN118802487A (en)2024-10-18

Family

ID=93035489

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411120039.7APendingCN118802487A (en)2024-08-152024-08-15 A node control method, device, equipment and medium in a video signaling forwarding gateway system

Country Status (1)

CountryLink
CN (1)CN118802487A (en)

Similar Documents

PublicationPublication DateTitle
CN111615066B (en) A broadcast-based distributed microservice registration and invocation method
US9356998B2 (en)Method for load balancing of requests&#39; processing of diameter servers
US9917746B2 (en)Adaptive allocation of server resources
US9342575B2 (en)Providing high availability in an active/active appliance cluster
WO2020147466A1 (en)Method for invoking server and proxy server
CN110557357B (en) A remote procedure call protocol adaptive method, related device and server
US11432137B2 (en)Service notification method for mobile edge host and apparatus
JP2017507575A (en) Proxy server failover and load clustering
WO2004036344A2 (en)System and method for the optimization of database
US10367856B2 (en)Failover management of SIP based multimedia communication sessions
CN111158949A (en) Disaster-tolerant architecture configuration method, switching method, device, device, and storage medium
CN113727464B (en)Method and device for establishing high concurrent call of SIP streaming media server
CN114900526B (en)Load balancing method and system, computer storage medium and electronic equipment
US12192878B2 (en)Methods, systems, and computer readable media for identifying alternate delivery endpoints for mobile originated data and monitoring reports in a communications network
CN114143905B (en)Session establishing method, communication system, electronic device and storage medium
JP2012533129A (en) High performance automated management method and system for virtual networks
US20160226963A1 (en)Load balancing using predictable state partitioning
WO2021043124A1 (en)Kbroker distributed operating system, storage medium, and electronic device
KR20080068903A (en) Method and apparatus for use of service convergence fabric
US9946493B2 (en)Coordinated remote and local machine configuration
CN112671554A (en)Node fault processing method and related device
CN118842629A (en)Network communication method, system, terminal and storage medium of trusted equipment
CN118802487A (en) A node control method, device, equipment and medium in a video signaling forwarding gateway system
JPH10116257A (en)Decentralized media processing server, and communication network using the same
CN120151330A (en) Communication method, system, device and readable medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp