Movatterモバイル変換


[0]ホーム

URL:


CN118828994A - A speech right control method, device and medium - Google Patents

A speech right control method, device and medium
Download PDF

Info

Publication number
CN118828994A
CN118828994ACN202310386124.7ACN202310386124ACN118828994ACN 118828994 ACN118828994 ACN 118828994ACN 202310386124 ACN202310386124 ACN 202310386124ACN 118828994 ACN118828994 ACN 118828994A
Authority
CN
China
Prior art keywords
terminal
session
information
participating
speaking right
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
CN202310386124.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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications 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 Hytera Communications Corp LtdfiledCriticalHytera Communications Corp Ltd
Priority to CN202310386124.7ApriorityCriticalpatent/CN118828994A/en
Publication of CN118828994ApublicationCriticalpatent/CN118828994A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提供了话权控制方法、设备和介质,涉及宽带关键任务通信领域,应用于服务器的方法包括:接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话;获取参与会话终端的状态信息;将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息;接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配。本申请能够根据参与会话终端对话权的需求程度对话权进行分配,从而即使需要讲话的终端处于低优先级,也可以及时获得话权,提高了话权分配的灵活性。

The present application provides a speech right control method, device and medium, which relates to the field of broadband mission-critical communications. The method applied to a server includes: receiving a session establishment request, determining a terminal participating in the session and establishing a session according to the session establishment request; obtaining status information of the terminal participating in the session; sending the status information of the terminal participating in the session to a target terminal so that the target terminal generates a remote speech right control message that matches the speech right demand information of the terminal participating in the session; receiving a remote speech right control message sent by the target terminal, and allocating the speech right according to the remote speech right control message. The present application can allocate the speech right according to the degree of demand for the speech right of the terminal participating in the session, so that even if the terminal that needs to speak is at a low priority, it can obtain the speech right in time, thereby improving the flexibility of speech right allocation.

Description

Translated fromChinese
一种话权控制方法、设备和介质A speech right control method, device and medium

技术领域Technical Field

本申请涉及宽带关键任务通信领域,特别是涉及一种话权控制方法、设备和介质。The present application relates to the field of broadband mission-critical communications, and in particular to a speech right control method, device and medium.

背景技术Background Art

基于3GPP(第三代合作伙伴计划)标准的关键任务(Mission Critical,MCX)业务中话权控制(Media Burst)采用媒体实时传输控制协议(Real-Time Transport ControlProtocol,RTCP)类型消息进行话权消息的编码、传输和交换。The media burst control (Media Burst) in the mission critical (MCX) service based on the 3GPP (3rd Generation Partnership Project) standard uses the media real-time transport control protocol (Real-Time Transport Control Protocol, RTCP) type message to encode, transmit and exchange the media burst message.

目前的话权控制方法需要结合话权优先级进行话权仲裁,但是,该方法存在话权控制的灵活性低的缺点。The current speech right control method needs to combine the speech right priority to perform speech right arbitration, but this method has the disadvantage of low flexibility of speech right control.

发明内容Summary of the invention

有鉴于此,本申请提供了一种话权控制方法、设备和介质,用于解决现有技术存在的话权控制的灵活性低的问题,其技术方案如下:In view of this, the present application provides a speech right control method, device and medium, which are used to solve the problem of low flexibility of speech right control in the prior art. The technical solution is as follows:

一种话权控制方法,应用于服务器,包括:A speech right control method, applied to a server, comprising:

接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话;Receiving a session establishment request, determining participating session terminals according to the session establishment request and establishing a session;

获取参与会话终端的状态信息;Obtain status information of terminals participating in the conversation;

将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,其中,话权需求信息为反映参与会话终端对话权的需求程度的信息;Sending the state information of the participating session terminal to the target terminal so that the target terminal generates a remote speech right control message matching the speech right demand information of the participating session terminal, wherein the speech right demand information is information reflecting the degree of demand for the session right of the participating session terminal;

接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配,其中,目标终端为参与会话终端中具有远程话权控制能力的终端。A remote speech right control message sent by a target terminal is received, and a conversation right is allocated according to the remote speech right control message, wherein the target terminal is a terminal having a remote speech right control capability among the terminals participating in the conversation.

可选的,获取参与会话终端的状态信息,包括:Optionally, obtain status information of the terminals participating in the session, including:

周期性地获取参与会话终端的状态信息;Periodically obtain status information of terminals participating in the session;

将参与会话终端的状态信息发送至目标终端,包括:Send the status information of the participating terminals to the target terminal, including:

将周期性获取的参与会话终端的状态信息分别发送至目标终端。The periodically acquired status information of the participating session terminals is sent to the target terminals respectively.

可选的,在将周期性获取的参与会话终端的状态信息分别发送至目标终端之前,还包括:Optionally, before the periodically acquired state information of the participating session terminals is sent to the target terminal respectively, the method further includes:

接收目标终端发来的订阅消息,其中,订阅消息用于向服务器订阅参与会话终端的状态信息。A subscription message sent by a target terminal is received, wherein the subscription message is used to subscribe to the status information of the terminal participating in the session from the server.

可选的,参与会话终端的状态信息中包括目标终端的状态信息;Optionally, the status information of the terminal participating in the session includes the status information of the target terminal;

根据远程话权控制消息对话权进行分配,包括:The conversation rights are allocated according to the remote conversation right control message, including:

判断目标终端的状态信息包含的权限信息是否为目标终端具有话权远程控制权限;Determine whether the target terminal has the right to speak and remote control permission, as contained in the permission information of the target terminal's status information;

若权限信息为目标终端具有话权远程控制权限,则根据远程话权控制消息对话权进行分配。If the authority information indicates that the target terminal has the right to remotely control the right to speak, the right to speak is allocated according to the remote right to speak control message.

可选的,在远程话权控制消息包括第一终端的身份证明信息、模式标识和话权回收指示信息的情况下,根据远程话权控制消息对话权进行分配,包括:Optionally, when the remote speech right control message includes the identity authentication information, the mode identifier and the speech right recovery indication information of the first terminal, allocating the speech right according to the remote speech right control message includes:

在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,将话权回收,第一终端为参与会话终端中拥有话权的终端;和/或,When the mode identifier included in the remote speech right control message is an identifier of a forced mode, the speech right is recovered according to the speech right recovery indication information and the identity certification information of the first terminal, the first terminal being a terminal having the speech right among the terminals participating in the session; and/or,

在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,向第一终端发送话权回收协商信息,并在接收到第一终端反馈的同意回收信息时,将话权回收。When the mode identifier included in the remote speech right control message is the identifier of the negotiation mode, speech right recovery negotiation information is sent to the first terminal according to the speech right recovery indication information and the identity information of the first terminal, and the speech right is recovered when the consent recovery information fed back by the first terminal is received.

可选的,在远程话权控制消息包括第二终端的身份证明信息、模式标识和话权授权指示信息的情况下,根据远程话权控制消息对话权进行分配,包括:Optionally, when the remote speech right control message includes the identity authentication information, the mode identifier and the speech right authorization indication information of the second terminal, allocating the speech right according to the remote speech right control message includes:

在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,将话权授权给第二终端,第二终端为参与会话终端中有最高话权需求的终端;和/或,When the mode identifier included in the remote speech right control message is the identifier of the mandatory mode, according to the speech right authorization indication information and the identity certification information of the second terminal, the speech right is authorized to the second terminal, and the second terminal is the terminal with the highest speech right demand among the participating session terminals; and/or,

在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,向第二终端发送话权授权协商信息,并在接收到第二终端反馈的同意授权信息时,将话权授权给第二终端。When the mode identifier included in the remote speech right control message is the identifier of the negotiation mode, speech right authorization negotiation information is sent to the second terminal according to the speech right authorization indication information and the identity information of the second terminal, and when the consent authorization information fed back by the second terminal is received, the speech right is authorized to the second terminal.

可选的,参与会话终端的状态信息为会话初始化协议SIP下的会话描述协议SDP的协商机制中携带的信息。Optionally, the state information of the terminal participating in the session is information carried in a negotiation mechanism of a Session Description Protocol SDP under a Session Initiation Protocol SIP.

一种话权控制方法,应用于目标终端,包括:A speech right control method, applied to a target terminal, comprising:

在接收到服务器发送来的参与会话终端的状态信息后,生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,其中,话权需求信息为反映参与会话终端对话权的需求程度的信息,参与会话终端为参与服务器建立的会话的终端,目标终端为参与会话终端中具有远程话权控制能力的终端;After receiving the state information of the participating session terminal sent by the server, a remote speech right control message matching the speech right demand information of the participating session terminal is generated, wherein the speech right demand information is information reflecting the degree of demand for the session right of the participating session terminal, the participating session terminal is a terminal participating in the session established by the server, and the target terminal is a terminal with remote speech right control capability among the participating session terminals;

将远程话权控制消息发送至服务器,以便服务器根据远程话权控制消息对话权进行分配。The remote speech right control message is sent to the server so that the server can allocate the dialogue right according to the remote speech right control message.

可选的,参与会话终端的话权需求信息的确定过程,包括:Optionally, the process of determining the speech right requirement information of the terminal participating in the session includes:

从服务器发送来的状态信息中获取参与会话终端的话权需求信息,和/或,从服务器发送来的状态信息中获取参与会话终端的周围环境信息,根据参与会话终端的周围环境信息确定参与会话终端的话权需求信息。Acquire speech right requirement information of the participating session terminal from the status information sent by the server, and/or acquire surrounding environment information of the participating session terminal from the status information sent by the server, and determine speech right requirement information of the participating session terminal according to the surrounding environment information of the participating session terminal.

一种话权控制方法,应用于参与会话终端,包括:A method for controlling a speaking right, applied to a terminal participating in a conversation, comprising:

向服务器发送参与会话终端的状态信息,以便服务器在将参与会话终端的状态信息发送至目标终端后,根据来自目标终端的远程话权控制消息对话权进行分配,其中,参与会话终端为参与服务器建立的会话的终端,远程话权控制消息为目标终端在接收到参与会话终端的状态信息后生成的与参与会话终端的话权需求信息相匹配的消息,话权需求信息为反映参与会话终端对话权的需求程度的信息,目标终端为参与会话终端中具有远程话权控制能力的终端。The state information of the participating session terminal is sent to the server, so that the server allocates the conversation right according to the remote conversation right control message from the target terminal after sending the state information of the participating session terminal to the target terminal, wherein the participating session terminal is a terminal participating in the session established by the server, the remote conversation right control message is a message generated by the target terminal after receiving the state information of the participating session terminal and matching the conversation right demand information of the participating session terminal, the conversation right demand information is information reflecting the degree of demand for the conversation right of the participating session terminal, and the target terminal is a terminal with remote conversation right control capability among the participating session terminals.

可选的,在向服务器发送参与会话终端的状态信息后,话权控制方法还包括:Optionally, after sending the status information of the terminal participating in the session to the server, the speaking right control method further includes:

接受服务器授予的话权,其中,服务器授予的话权为目标终端指示服务器授予的话权,或自身申请话权后服务器授予的话权。Accept the speaking right granted by the server, wherein the speaking right granted by the server is the speaking right granted by the target terminal after the target terminal instructs the server to grant the speaking right, or the speaking right granted by the server after the target terminal applies for the speaking right.

一种话权控制设备,包括存储器和处理器;A speech right control device comprises a memory and a processor;

存储器,用于存储程序;Memory, used to store programs;

处理器,用于执行程序,实现如上述任一项的应用于服务器的话权控制方法的各个步骤,或如上述任一项的应用于目标终端的话权控制方法的各个步骤,或如上述任一项的应用于参与会话终端的话权控制方法的各个步骤。A processor is used to execute a program to implement the various steps of the speech right control method applied to the server as described in any one of the above items, or the various steps of the speech right control method applied to the target terminal as described in any one of the above items, or the various steps of the speech right control method applied to the terminal participating in the conversation as described in any one of the above items.

一种可读存储介质,其上存储有计算机程序,其特征在于,计算机程序被处理器执行时,实现如上述任一项的应用于服务器的话权控制方法的各个步骤,或如上述任一项的应用于目标终端的话权控制方法的各个步骤,或如上述任一项的应用于参与会话终端的话权控制方法的各个步骤。A readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned speech right control methods applied to a server, or the steps of any of the above-mentioned speech right control methods applied to a target terminal, or the steps of any of the above-mentioned speech right control methods applied to a terminal participating in a conversation.

经由上述的技术方案可知,本申请提供的应用于服务器的话权控制方法,接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话,获取参与会话终端的状态信息,将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配。本申请能够根据参与会话终端对话权的需求程度对话权进行分配,从而即使需要讲话的终端处于低优先级,也可以及时获得话权,提高了话权分配的灵活性。Through the above technical solutions, it can be known that the speech right control method applied to the server provided by the present application receives a session establishment request, determines the participating session terminals according to the session establishment request and establishes a session, obtains the status information of the participating session terminals, sends the status information of the participating session terminals to the target terminal, so that the target terminal generates a remote speech right control message matching the speech right demand information of the participating session terminals, receives the remote speech right control message sent by the target terminal, and allocates the speech right according to the remote speech right control message. The present application can allocate the speech right according to the demand degree of the participating session terminals, so that even if the terminal that needs to speak is at a low priority, it can obtain the speech right in time, which improves the flexibility of the speech right allocation.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in 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 only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

图1为本申请实施例提供的应用于服务器的话权控制方法的流程示意图;FIG1 is a flow chart of a method for controlling speech rights applied to a server according to an embodiment of the present application;

图2为本申请实施例提供的应用于目标终端的话权控制方法的流程示意图;FIG2 is a flow chart of a method for controlling the right of speech applied to a target terminal according to an embodiment of the present application;

图3为本申请实施例提供的应用于参与会话终端的话权控制方法的流程示意图;FIG3 is a flow chart of a method for controlling the right of speech applied to a terminal participating in a conversation provided in an embodiment of the present application;

图4为本申请实施例提供的强制模式下的话权控制流程示意图;FIG4 is a schematic diagram of a flow chart of speech right control in a mandatory mode according to an embodiment of the present application;

图5为本申请实施例提供的应用于服务器的话权控制装置的结构示意图;FIG5 is a schematic diagram of the structure of a speech right control device applied to a server according to an embodiment of the present application;

图6为本申请实施例提供的应用于目标终端的话权控制装置的结构示意图;FIG6 is a schematic diagram of the structure of a speech right control device applied to a target terminal according to an embodiment of the present application;

图7为本申请实施例提供的应用于参与会话终端的话权控制装置的结构示意图;7 is a schematic diagram of the structure of a speech right control device applied to a terminal participating in a conversation provided in an embodiment of the present application;

图8为本申请实施例提供的一种话权控制设备的硬件结构框图。FIG8 is a hardware structure block diagram of a speech right control device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

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

本案发明人在仔细研究了传统的话权控制方法后发现,传统的话权控制方法仅能基于优先级对话权进行仲裁,仲裁的流程大体如下:After carefully studying the traditional speech right control method, the inventor of this case found that the traditional speech right control method can only conduct arbitration based on priority conversation rights. The arbitration process is generally as follows:

预置条件:MCPTT用户A与其他MCPTT用户创建一个半双工会话,支持会话过程中,用户进行话权申请操作。那么,终端用户A想在会话中进行讲话时,发起话权请求消息;MCPTT话权控制服务器(以下步骤简称为服务器)根据接收到的话权请求消息进行用户话权信息的判断处理以及会话优先级的仲裁处理,例如,服务器判断终端用户A是否有讲话权限,若终端用户A有讲话权限,且话权优先级较高,则可以授予其话权,若终端用户A有讲话权限,但优先级低于当前正在讲话的终端用户,或者终端用户A的优先级低于同时申请话权的其他终端用户,则拒绝其申请;在服务器判决授予终端用户A话权的情况下,将话权授予消息转发到终端用户A,终端用户A提示可以讲话。Precondition: MCPTT user A creates a half-duplex session with other MCPTT users, and supports users to apply for speaking rights during the session. Then, when terminal user A wants to speak in the session, he initiates a speaking right request message; the MCPTT speaking right control server (hereinafter referred to as the server) judges and processes the user speaking right information and arbitrates the session priority according to the received speaking right request message. For example, the server judges whether terminal user A has speaking rights. If terminal user A has speaking rights and has a higher speaking right priority, he can be granted speaking rights. If terminal user A has speaking rights but has a lower priority than the terminal user who is currently speaking, or if terminal user A has a lower priority than other terminal users who are applying for speaking rights at the same time, his application will be rejected; if the server decides to grant terminal user A speaking rights, the speaking right grant message will be forwarded to terminal user A, and terminal user A will be prompted that he can speak.

综上,优先级仲裁下的话权控制需要用户在有讲话意愿时主动申请话权,在存在不同优先级话权抢占冲突时,将话权授予优先级高的用户;然而该方法存在话权控制的灵活性低的缺点。例如,优先级高的A用户占用话权的情况下,即使优先级低的B用户处于紧急情况也无法及时获得话权权限,再例如,优先级高的A用户和优先级低的B用户同时申请话权,即使B用户处于紧急情况也无法及时获得话权权限,业务体验较差。In summary, the control of speaking rights under priority arbitration requires users to actively apply for speaking rights when they are willing to speak. When there is a conflict in the preemption of speaking rights of different priorities, the speaking rights are granted to users with higher priorities. However, this method has the disadvantage of low flexibility in speaking rights control. For example, when user A with higher priority occupies the speaking rights, user B with lower priority cannot obtain speaking rights in time even if he is in an emergency. For another example, when user A with higher priority and user B with lower priority apply for speaking rights at the same time, user B cannot obtain speaking rights in time even if he is in an emergency, resulting in poor service experience.

为了提高话权控制的灵活性,并使话权控制能够适用于更多场景,例如公共安全领域(处理紧急安全事件等)紧急通信等对通信建立时延要求高的场景,本申请提供了一种服务器与终端交互进行话权控制的方法,接下来首先通过下述实施例对本申请提供的应用于服务器的话权控制方法进行详细介绍。In order to improve the flexibility of speech control and make it applicable to more scenarios, such as emergency communications in the public safety field (handling emergency security incidents, etc.) and other scenarios with high requirements on communication establishment delay, the present application provides a method for interaction between a server and a terminal to perform speech control. Next, the speech control method applied to the server provided by the present application is first introduced in detail through the following embodiments.

请参阅图1,示出了本申请实施例提供的应用于服务器的话权控制方法的流程示意图,该应用于服务器的话权控制方法可以包括:Please refer to FIG. 1 , which shows a flow chart of a speech right control method applied to a server provided in an embodiment of the present application. The speech right control method applied to a server may include:

步骤S101、接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话。Step S101: receiving a session establishment request, determining a terminal participating in the session according to the session establishment request, and establishing a session.

这里,参与会话终端是指参与当前建立的会话的终端。Here, the participating session terminal refers to a terminal participating in a currently established session.

可选的,会话建立请求可以由参与会话终端包含的任一终端发送至服务器;可选的,一终端向服务器发送的会话建立请求中可以携带话权远程控制相关信息,以便与服务器协商确定是否授予该终端话权远程控制的权限。Optionally, the session establishment request may be sent to the server by any terminal included in the participating session terminals; optionally, the session establishment request sent by a terminal to the server may carry information related to remote control of the speaking right, so as to negotiate with the server to determine whether to grant the terminal remote control authority for the speaking right.

在本申请中,可以将参与会话终端中具有话权远程控制能力的终端定义为目标终端。例如,若一终端通过会话建立请求中携带的话权远程控制相关信息与服务器协商后,该终端被授予话权远程控制的权限,则该终端为目标终端。In this application, a terminal with the right to remotely control the conversation among the participating terminals can be defined as a target terminal. For example, if a terminal is granted the right to remotely control the conversation after negotiating with the server through the right to remotely control related information carried in the conversation establishment request, then the terminal is the target terminal.

步骤S102、获取参与会话终端的状态信息。Step S102: Acquire status information of the terminals participating in the conversation.

具体的,在建立会话时和/或会话过程中,参与会话终端可以向服务器发送自身的状态信息,由此服务器可以获取参与会话终端的状态信息。Specifically, when establishing a session and/or during the session, the terminal participating in the session may send its own state information to the server, so that the server may obtain the state information of the terminal participating in the session.

可选的,参与会话终端可以周期性地向服务器发送自身的状态信息,由此服务器可以周期性地获取参与会话终端的状态信息;可选的,在参与会话终端的状态信息发生变化时,参与会话终端可以主动向服务器上报自身的状态信息,由此服务器可以获取参与会话终端主动上报的状态信息。Optionally, the terminal participating in the conversation may periodically send its own status information to the server, so that the server may periodically obtain the status information of the terminal participating in the conversation; optionally, when the status information of the terminal participating in the conversation changes, the terminal participating in the conversation may actively report its own status information to the server, so that the server may obtain the status information actively reported by the terminal participating in the conversation.

值得注意的是,本步骤中提及的“参与会话终端”可以为参与会话的所有终端,也可以为部分终端;即,本步骤可以获取参与会话的所有终端的状态信息,也可以仅获取部分终端的状态信息。It is worth noting that the "terminals participating in the session" mentioned in this step can be all terminals participating in the session or some terminals; that is, this step can obtain the status information of all terminals participating in the session or only some terminals.

可选的,部分终端的确定方式有多种,在此提供但不限于以下几种:第一种,基于目标终端发送至服务器的订阅请求确定;第二种,基于参与会话终端的优先级确定,例如部分终端是指优先级最高的若干个终端;第三种,基于参与会话终端的位置区域确定,例如,部分终端是指区域A内的终端。Optionally, there are multiple ways to determine some terminals, which are provided here but not limited to the following: the first is to determine based on a subscription request sent by the target terminal to the server; the second is to determine based on the priority of the terminals participating in the session, for example, some terminals refer to several terminals with the highest priority; the third is to determine based on the location areas of the terminals participating in the session, for example, some terminals refer to terminals within area A.

步骤S103、将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息。Step S103: sending the status information of the participating session terminals to the target terminal so that the target terminal generates a remote speaking right control message matching the speaking right demand information of the participating session terminals.

其中,话权需求信息为反映参与会话终端对话权的需求程度的信息。The speech right demand information is information reflecting the degree of demand for the speech right of the terminal participating in the conversation.

可选的,若服务器可以周期性地获取参与会话终端的状态信息,则服务器可以将周期性获取的参与会话终端的状态信息分别发送至目标终端。在一种可能的实现方式中,目标终端可以向服务器发送订阅消息,该订阅消息用于向服务器订阅参与会话终端的状态信息,那么,服务器在接收到目标终端发送来的订阅消息后,可以将周期性获取的参与会话终端的状态信息分别发送至目标终端。Optionally, if the server can periodically obtain the status information of the terminals participating in the session, the server can send the periodically obtained status information of the terminals participating in the session to the target terminals respectively. In a possible implementation, the target terminal can send a subscription message to the server, and the subscription message is used to subscribe to the status information of the terminals participating in the session from the server. Then, after receiving the subscription message sent by the target terminal, the server can send the periodically obtained status information of the terminals participating in the session to the target terminals respectively.

在目标终端接收到参与会话终端的状态信息后,可以生成指示如何对话权进行分配的远程话权控制消息。例如,参与会话终端包括终端A、B和C,在终端A拥有话权的情况下,若终端B需要讲话,则目标终端可以生成用于指示将终端A的话权回收,将回收的话权授予终端B的远程话权控制消息。After receiving the status information of the participating terminals, the target terminal may generate a remote right-to-speak control message indicating how to allocate the right to speak. For example, the participating terminals include terminals A, B, and C. When terminal A has the right to speak, if terminal B needs to speak, the target terminal may generate a remote right-to-speak control message for instructing to reclaim the right to speak of terminal A and grant the reclaimed right to speak to terminal B.

步骤S104、接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配。Step S104: receiving a remote speech right control message sent by the target terminal, and allocating a speech right according to the remote speech right control message.

具体的,本申请服务器若接收到来自目标终端的远程话权控制消息,则根据接收的远程话权控制消息对话权进行分配。这里,“对话权进行分配”包括:话权回收和/或话权授予。Specifically, if the server of the present application receives a remote speech right control message from the target terminal, the speech right is allocated according to the received remote speech right control message. Here, "allocating the speech right" includes: speech right recovery and/or speech right granting.

需要说明的是,本申请提供的话权控制方法可以与现有技术存在的优先级仲裁下的话权控制方法兼容;例如,一般情况下,参与会话终端按照优先级进行话权分配,在某些终端处于紧急情况需要讲话时,目标终端生成指示将话权授予处于紧急情况的终端的远程话权控制消息,服务器在接收到远程话权控制消息时,优先按照远程话权控制消息将未被占用的话权(可能是当前话权恰好处于空闲状态,或者将话权拥有终端占用的话权回收后,成为未被占用的话权)分配给具有讲话需求的终端。It should be noted that the speech right control method provided by the present application can be compatible with the speech right control method under priority arbitration existing in the prior art; for example, under normal circumstances, the terminals participating in the conversation allocate speech rights according to priority. When some terminals are in an emergency and need to speak, the target terminal generates a remote speech right control message indicating that the speech right is granted to the terminal in the emergency. When the server receives the remote speech right control message, it prioritizes allocating the unoccupied speech right (it may be that the current speech right happens to be in an idle state, or the speech right occupied by the terminal with the speech right is recovered and becomes an unoccupied speech right) to the terminal with the need to speak according to the remote speech right control message.

例如,若目标终端判断出终端A急需讲话,向服务器发送指示将话权授予终端A的远程话权控制消息,而此时服务器接收到终端B的话权申请,即使终端B的优先级高于终端A,服务器仍然将话权授予终端A;再例如,终端C和终端D同时向服务器发送话权申请(终端C的优先级高于终端D),若服务器此时未接收到来自目标终端的远程话权控制消息,则将当前处于空闲状态的话权授予更高优先级的终端C。For example, if the target terminal determines that terminal A needs to speak urgently, it sends a remote speech control message to the server instructing to grant the speaking right to terminal A. At this time, the server receives the speaking right application of terminal B. Even if the priority of terminal B is higher than that of terminal A, the server still grants the speaking right to terminal A. For another example, terminal C and terminal D send speaking right applications to the server at the same time (terminal C has a higher priority than terminal D). If the server does not receive the remote speech control message from the target terminal at this time, the speaking right that is currently in idle state will be granted to terminal C with a higher priority.

本申请提供的应用于服务器的话权控制方法,接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话,获取参与会话终端的状态信息,将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配。本申请能够根据参与会话终端对话权的需求程度对话权进行分配,从而即使需要讲话的终端处于低优先级,也可以及时获得话权,提高了话权分配的灵活性。The speech right control method applied to the server provided by the present application receives a session establishment request, determines the participating session terminals according to the session establishment request and establishes the session, obtains the status information of the participating session terminals, sends the status information of the participating session terminals to the target terminal, so that the target terminal generates a remote speech right control message matching the speech right demand information of the participating session terminals, receives the remote speech right control message sent by the target terminal, and allocates the speech right according to the remote speech right control message. The present application can allocate the speech right according to the demand degree of the participating session terminals, so that even if the terminal that needs to speak is at a low priority, it can obtain the speech right in time, thereby improving the flexibility of speech right allocation.

在本申请的一些实施例中,对前述“步骤S104、根据远程话权控制消息对话权进行分配”的过程进行介绍。In some embodiments of the present application, the process of the aforementioned "step S104, allocating the conversation right according to the remote conversation right control message" is introduced.

在本实施例中,前述步骤S102中参与会话终端的状态信息包括目标终端的状态信息。In this embodiment, the state information of the terminals participating in the conversation in the aforementioned step S102 includes the state information of the target terminal.

可选的,目标终端的状态信息包括表征目标终端是否具有话权远程控制权限的权限信息。那么,服务器在接收到目标终端发送来的远程话权控制消息后,会先根据目标终端的状态信息判断当前发送远程话权控制消息的目标终端是否确实有对参与会话终端进行话权分配的权限,若是,则根据远程话权控制消息对话权进行分配。具体的来说,“根据远程话权控制消息对话权进行分配”的过程包括:判断目标终端的状态信息包含的权限信息是否为目标终端具有话权远程控制权限,若该权限信息为目标终端具有话权远程控制权限,则根据远程话权控制消息对话权进行分配。Optionally, the status information of the target terminal includes permission information indicating whether the target terminal has the right to remotely control the right to speak. Then, after receiving the remote right to speak control message sent by the target terminal, the server will first determine whether the target terminal currently sending the remote right to speak control message has the right to allocate the right to speak to the participating terminals based on the status information of the target terminal. If so, the conversation right will be allocated based on the remote right to speak control message. Specifically, the process of "allocating the conversation right based on the remote right to speak control message" includes: determining whether the permission information contained in the status information of the target terminal indicates that the target terminal has the right to remotely control the right to speak. If the permission information indicates that the target terminal has the right to remotely control the right to speak, the conversation right will be allocated based on the remote right to speak control message.

本实施例能够在接收到远程话权控制消息后,先对发送远程话权控制消息的终端的权限进行校验,确保了服务器仅对当前会话中具有话权远程控制权限的目标终端发送的远程话权控制消息执行话权分配,从而话权分配方案与真实环境更匹配,提高了用户体验。This embodiment can verify the authority of the terminal that sends the remote speech right control message after receiving the remote speech right control message, thereby ensuring that the server only performs speech right allocation on the remote speech right control message sent by the target terminal that has the speech right remote control authority in the current session, so that the speech right allocation scheme is more compatible with the real environment and improves the user experience.

在本申请的另一些实施例中,为了进一步提高话权控制的灵活性,本申请提供了两种模式,分别为协商模式和强制模式。在协商模式下,服务器需要与被控制的参与会话终端进行协商,以便基于远程话权控制消息完成话权分配;在强制模式下,服务器不需要与被控制的参与会话终端协商,直接基于远程话权控制消息完成话权分配即可。In other embodiments of the present application, in order to further improve the flexibility of speech right control, the present application provides two modes, namely, negotiation mode and mandatory mode. In the negotiation mode, the server needs to negotiate with the controlled participating session terminal to complete the speech right allocation based on the remote speech right control message; in the mandatory mode, the server does not need to negotiate with the controlled participating session terminal, and can directly complete the speech right allocation based on the remote speech right control message.

以下分别以对回收话权和授予话权两种场景,对上述协商模式和强制模式下的话权分配流程进行介绍,以便于本领域技术人员理解。The following describes the speech right allocation process in the negotiation mode and the mandatory mode in two scenarios of recovering the speech right and granting the speech right, respectively, so as to facilitate understanding by those skilled in the art.

第一种场景为回收话权。为了便于介绍,将该场景下拥有话权的终端定义为第一终端,也即第一终端为前述参与会话终端中拥有话权的终端。The first scenario is to reclaim the speaking right. For the sake of convenience, the terminal with the speaking right in this scenario is defined as the first terminal, that is, the first terminal is the terminal with the speaking right among the aforementioned terminals participating in the conversation.

可选的,在该场景下,远程话权控制消息包括第一终端的身份证明信息(例如用户身份证明UID等)、模式标识和话权回收指示信息,这里,模式标识为协商模式的标识和强制模式的标识中的任一种。可选的,远程话权控制消息中还可以包括目标终端的身份证明信息、目标终端请求或释放话权的信息等。Optionally, in this scenario, the remote right to speak control message includes the identity information of the first terminal (such as user identity UID, etc.), mode identification and right to speak recovery indication information, where the mode identification is any one of the negotiation mode identification and the mandatory mode identification. Optionally, the remote right to speak control message may also include the identity information of the target terminal, information of the target terminal requesting or releasing the right to speak, etc.

可选的,在远程话权控制消息包括第一终端的身份证明信息、模式标识和话权回收指示信息的情况下,“根据远程话权控制消息对话权进行分配”的过程可以包括:在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,将话权回收;和/或,在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,向第一终端发送话权回收协商信息,并在接收到第一终端反馈的同意回收信息时,将话权回收。Optionally, when the remote speech right control message includes the identity information, mode identifier and speech right recovery indication information of the first terminal, the process of "allocating the speech right according to the remote speech right control message" may include: when the mode identifier included in the remote speech right control message is an identifier of a forced mode, recovering the speech right according to the speech right recovery indication information and the identity information of the first terminal; and/or, when the mode identifier included in the remote speech right control message is an identifier of a negotiation mode, sending speech right recovery negotiation information to the first terminal according to the speech right recovery indication information and the identity information of the first terminal, and recovering the speech right upon receiving the consent recovery information fed back by the first terminal.

也就是说,本申请在接收到远程话权控制消息,并解析出该消息包含强制模式的标识时,根据该消息包含的第一终端的身份证明信息确定出当前拥有话权的第一终端,并根据话权回收指示信息,直接将第一终端占用的话权回收,而不必与第一终端协商。That is to say, when the present application receives a remote speech right control message and parses the message to find out that it contains an identifier of a forced mode, it determines the first terminal that currently has the speech right based on the identity information of the first terminal contained in the message, and directly reclaims the speech right occupied by the first terminal based on the speech right reclaim indication information without having to negotiate with the first terminal.

在接收到远程话权控制消息,并解析出该消息包含协商模式的标识时,根据该消息包含的第一终端的身份证明信息确定出当前拥有话权的第一终端,并根据话权回收指示信息向第一终端发送话权回收协商信息,在第一终端同意释放自身话权的情况下,再根据话权回收指示信息将第一终端占用的话权回收。When a remote speech right control message is received and the message is parsed to contain an identifier of a negotiation mode, the first terminal that currently has the speech right is determined based on the identity information of the first terminal contained in the message, and speech right recovery negotiation information is sent to the first terminal based on the speech right recovery indication information. When the first terminal agrees to release its own speech right, the speech right occupied by the first terminal is recovered based on the speech right recovery indication information.

第二种场景为授予话权。为了便于介绍,将该场景下最需要讲话的终端定义为第二终端,也即第二终端为前述参与会话终端中有最高话权需求的终端。The second scenario is granting the right to speak. For the sake of convenience, the terminal that needs to speak the most in this scenario is defined as the second terminal, that is, the second terminal is the terminal with the highest demand for the right to speak among the aforementioned participating terminals.

可选的,在该场景下,远程话权控制消息包括第二终端的身份证明信息、模式标识和话权授权指示信息。Optionally, in this scenario, the remote speaking right control message includes identity authentication information, a mode identifier, and speaking right authorization indication information of the second terminal.

可选的,在远程话权控制消息包括第二终端的身份证明信息、模式标识和话权授权指示信息的情况下,“根据远程话权控制消息对话权进行分配”的过程可以包括:在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,将话权授权给第二终端;和/或,在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,向第二终端发送话权授权协商信息,并在接收到第二终端反馈的同意授权信息时,将话权授权给第二终端。Optionally, when the remote speech right control message includes the identity information, mode identifier and speech right authorization indication information of the second terminal, the process of "allocating the speech right according to the remote speech right control message" may include: when the mode identifier included in the remote speech right control message is an identifier of a forced mode, authorizing the speech right to the second terminal according to the speech right authorization indication information and the identity information of the second terminal; and/or, when the mode identifier included in the remote speech right control message is an identifier of a negotiation mode, sending speech right authorization negotiation information to the second terminal according to the speech right authorization indication information and the identity information of the second terminal, and upon receiving the consent authorization information fed back by the second terminal, authorizing the speech right to the second terminal.

示例如:在会话过程中,可能会出现某个或某些参与会话终端处于紧急状态。考虑到处于紧急状态的参与会话终端可能会丧失操作能力,例如执行紧急安全任务(比如救灾或抓捕歹徒时)时手受伤等导致不能操作终端,在这种情况下,处于紧急状态的参与会话终端可能需要紧急讲话,为此,目标终端可以从处于紧急状态的参与会话终端中确定出最需要讲话的第二终端,然后生成远程话权控制消息,其中,若当前话权被第一终端占用,则远程话权控制消息包括:第一终端的身份证明信息、模式标识、话权回收指示信息、第二终端的身份证明信息和话权授权指示信息;若当前话权未被占用,则远程话权控制消息包括:第二终端的身份证明信息、模式标识和话权授权指示信息。For example, during a conversation, one or some of the participating conversation terminals may be in an emergency state. Considering that the participating conversation terminals in an emergency state may lose the ability to operate, for example, when performing an emergency security task (such as disaster relief or arresting criminals), the participating conversation terminals in an emergency state may need to speak urgently. To this end, the target terminal can determine the second terminal that most needs to speak from the participating conversation terminals in an emergency state, and then generate a remote right-to-talk control message, wherein if the current right-to-talk is occupied by the first terminal, the remote right-to-talk control message includes: the identity authentication information of the first terminal, the mode identifier, the right-to-talk recovery indication information, the identity authentication information of the second terminal, and the right-to-talk authorization indication information; if the current right-to-talk is not occupied, the remote right-to-talk control message includes: the identity authentication information of the second terminal, the mode identifier, and the right-to-talk authorization indication information.

服务器接收到远程话权控制消息,可以将第一终端占用的话权回收,将未被占用的话权(即空闲的话权)授权给第二终端。The server receives the remote speaking right control message, and can reclaim the speaking right occupied by the first terminal, and authorize the unoccupied speaking right (ie, the idle speaking right) to the second terminal.

在本申请的又一些实施例中,对前述参与会话终端发送至服务器的状态信息进行介绍。In some other embodiments of the present application, the state information sent by the aforementioned terminal participating in the conversation to the server is introduced.

本申请参与会话终端向服务器发送状态信息的过程实际上均为参与会话终端与服务器进行协商的过程。In the present application, the process in which the terminal participating in the conversation sends the status information to the server is actually the process in which the terminal participating in the conversation negotiates with the server.

可选的,本实施例协商过程可以通过会话初始化协议(Session InitiationProtocol,SIP)的INVITE/200OK的SDP(Session Description Protocol,会话描述协议)的offer/answer机制协议携带信息进行协商,那么上述状态信息为会话初始化协议SIP下的会话描述协议SDP的协商机制中携带的信息。Optionally, the negotiation process of this embodiment can be negotiated through the offer/answer mechanism protocol of the SDP (Session Description Protocol) of the INVITE/200OK of the Session Initiation Protocol (SIP), and the above-mentioned status information is the information carried in the negotiation mechanism of the Session Description Protocol SDP under the Session Initiation Protocol SIP.

这里,SIP协议是一种会话发起协议,用来创建、修改、终止会话,如IP,VOLTE通话就是采用该协议;INVITE/200OK是SIP协议的一些具体的信令;SDP是会话描述协议,如描述会话参与者的能力、是否有音频能力、是否有话权能力等;Offer/answer是会话的一种协商机制,即会话参与者互相交换各自的能力,找出交集。Here, the SIP protocol is a session initiation protocol, which is used to create, modify, and terminate sessions. For example, IP and VOLTE calls use this protocol. INVITE/200OK are some specific signaling of the SIP protocol. SDP is a session description protocol, which describes the capabilities of session participants, such as whether they have audio capabilities, whether they have the right to speak, etc. Offer/answer is a negotiation mechanism for the session, that is, the session participants exchange their capabilities with each other and find the intersection.

以下对SDP的offer/answer机制进行介绍。The following is an introduction to the SDP offer/answer mechanism.

该机制的参数为:“mc_remote_floor_ctrl(关键通信远程话权控制)”fmtpattribute in sdp paramters(媒体通道属性在会话描述协议参数中);该参数表明用户客户端与服务器之间支持用户远程控制能力协商,说明如下:第一,该参数可以在会话建立阶段SIP/SDP中携带,通过SDP的offer/answer机制进行协商;第二,SDP offer:各用户根据用户签约数据或组内签约数据进行携带;第三,SDP answer:服务器根据各用户SDP携带的mc_remote_floor_ctrl机制进行协商,可以同时组信息签约数据,协商一个目标用户支持远程话权控制。The parameters of this mechanism are: "mc_remote_floor_ctrl (key communication remote floor control)" fmtpattribute in sdp paramters (media channel attributes in session description protocol parameters); this parameter indicates that the user client and the server support user remote control capability negotiation, as follows: first, this parameter can be carried in SIP/SDP during the session establishment phase and negotiated through the offer/answer mechanism of SDP; second, SDP offer: each user carries it according to the user contract data or the contract data within the group; third, SDP answer: the server negotiates according to the mc_remote_floor_ctrl mechanism carried by each user's SDP, and can also group information contract data to negotiate that a target user supports remote floor control.

可选的,上述远程话权控制消息为RTCP-Subtype(实时传输控制协议-子类型)类型的消息,本申请将上述远程话权控制消息定义为Floor RemoteControl消息。Optionally, the remote speech right control message is a message of RTCP-Subtype (Real-time Transport Control Protocol-Subtype) type, and the present application defines the remote speech right control message as a Floor RemoteControl message.

本申请在RTCP-Subtype中增加Floor RemoteControl消息,并在消息中增加action field(动作值域),从而可以基于action field生成远程话权控制消息。This application adds a Floor RemoteControl message in RTCP-Subtype and adds an action field (action value field) in the message, so that a remote speech right control message can be generated based on the action field.

这里,action field包括以下至少一种信息:第一,Floor MO UID,即目标终端的UID;第二,Floor MT UID,即远端被控制终端(包括第二终端和/或第三终端)的UID;第三,Floor Mode,即会话模式(具体为强制模式或协商模式);第四,Floor MO Request/Release,即目标终端请求或释放话权的信息;第五,Floor MT Request/Release,即话权回收指示信息或话权授权指示信息。Here, the action field includes at least one of the following information: first, Floor MO UID, that is, the UID of the target terminal; second, Floor MT UID, that is, the UID of the remote controlled terminal (including the second terminal and/or the third terminal); third, Floor Mode, that is, the session mode (specifically, the forced mode or the negotiation mode); fourth, Floor MO Request/Release, that is, the information that the target terminal requests or releases the speaking right; fifth, Floor MT Request/Release, that is, the speaking right recovery indication information or the speaking right authorization indication information.

综上,为了提高话权控制的灵活性,本申请提出一种话权远程控制策略,可以强制或协商模式下的一个用户主动赋予/回收其他用户讲话权限,同时在信令SIP/SDP新增mc_remote_floor_ctrl协商机制,以便兼容现有的标准流程,这样在一些场景(比如紧急或紧迫危险场景)下用户可以赋予/回收会话中其他用户讲话权限,提高了用户体验。In summary, in order to improve the flexibility of speech right control, the present application proposes a speech right remote control strategy, which can enable a user in a forced or negotiation mode to actively grant/revoke speech rights to other users, and at the same time add a mc_remote_floor_ctrl negotiation mechanism in the signaling SIP/SDP to be compatible with existing standard processes. In this way, in some scenarios (such as emergency or imminent danger scenarios), users can grant/revoke speech rights to other users in the session, thereby improving the user experience.

如前述实施例中的介绍,上述状态信息为会话初始化协议SIP下的会话描述协议SDP的协商机制中携带的信息,而远程话权控制消息为RTCP-Subtype类型的消息,由于这两种信息均为终端与服务器之间交互的信息,但是类型不同,可选的,本申请提供两种不同类型的接口,以传输该两种类型的信息。As introduced in the above-mentioned embodiment, the above-mentioned status information is the information carried in the negotiation mechanism of the Session Description Protocol SDP under the Session Initiation Protocol SIP, and the remote voice control message is a message of the RTCP-Subtype type. Since these two types of information are information exchanged between the terminal and the server, but of different types, optionally, the present application provides two different types of interfaces to transmit the two types of information.

其中,传输sdp offer/answer信息的接口为MCPTT-1(SIP/SDP)接口,该接口的参数包括:“m=application”中mc_remote_floor_ctrl字段;传输RTCP-Subtype信息的接口为MCPTT-3/4(RTCP)接口,该接口的参数包括:subtype=floor remote control。Among them, the interface for transmitting sdp offer/answer information is the MCPTT-1 (SIP/SDP) interface, and the parameters of this interface include: the mc_remote_floor_ctrl field in "m=application"; the interface for transmitting RTCP-Subtype information is the MCPTT-3/4 (RTCP) interface, and the parameters of this interface include: subtype=floor remote control.

当然,上述接口参数仅为示例,除此之外,还可以为其他具有相同或相似功能的参数。Of course, the above interface parameters are only examples, and other parameters with the same or similar functions may also be used.

与前述应用于服务器的话权控制方法相对应的,本申请还提供了一种应用于目标终端的话权控制方法。接下来对应用于目标终端的话权控制方法进行介绍。Corresponding to the aforementioned speech right control method applied to the server, the present application also provides a speech right control method applied to the target terminal. Next, the speech right control method applied to the target terminal is introduced.

请参阅图2,示出了本申请实施例提供的应用于目标终端的话权控制方法的流程示意图,该应用于目标终端的话权控制方法可以包括:Please refer to FIG. 2, which shows a flow chart of a speech right control method applied to a target terminal provided in an embodiment of the present application. The speech right control method applied to the target terminal may include:

步骤S201、在接收到服务器发送来的参与会话终端的状态信息后,生成与参与会话终端的话权需求信息相匹配的远程话权控制消息。Step S201: after receiving the status information of the terminal participating in the conversation sent by the server, generate a remote speaking right control message matching the speaking right demand information of the terminal participating in the conversation.

其中,话权需求信息为反映参与会话终端对话权的需求程度的信息,参与会话终端为参与服务器建立的会话的终端,目标终端为参与会话终端中具有远程话权控制能力的终端。The speech right demand information is information reflecting the degree of demand for the speech right of the participating session terminals. The participating session terminals are terminals participating in the session established by the server. The target terminal is a terminal with remote speech right control capability among the participating session terminals.

可选的,本申请中的参与会话终端可以周期性地向服务器发送自身的状态信息,从而本实施例可以周期性地接收到服务器发送来的参与会话终端的状态信息。Optionally, the terminal participating in the conversation in the present application may periodically send its own status information to the server, so that the present embodiment may periodically receive the status information of the terminal participating in the conversation sent by the server.

步骤S202、将远程话权控制消息发送至服务器,以便服务器根据远程话权控制消息对话权进行分配。Step S202: Send the remote speech right control message to the server so that the server can allocate the speech right according to the remote speech right control message.

在一可选实施例中,目标终端确定参与会话终端的话权需求信息的过程可以包括:从服务器发送来的状态信息中获取参与会话终端的话权需求信息,和/或,从服务器发送来的状态信息中获取参与会话终端的周围环境信息,根据参与会话终端的周围环境信息确定参与会话终端的话权需求信息。In an optional embodiment, the process of the target terminal determining the speaking right requirement information of the participating session terminal may include: obtaining the speaking right requirement information of the participating session terminal from the status information sent by the server, and/or obtaining the surrounding environment information of the participating session terminal from the status information sent by the server, and determining the speaking right requirement information of the participating session terminal according to the surrounding environment information of the participating session terminal.

可选的,参与会话终端的状态信息中还可以包括参与会话终端的话权需求信息,则目标终端在接收到服务器发送来的参与会话终端的状态信息后,可以从中解析出参与会话终端的话权需求信息;可选的,参与会话终端的状态信息中还可以包括参与会话终端的周围环境信息,则本申请可以根据参与会话终端的周围环境信息,确定参与会话终端的话权需求信息。Optionally, the status information of the participating session terminals may also include speech right demand information of the participating session terminals. After receiving the status information of the participating session terminals sent by the server, the target terminal may parse out the speech right demand information of the participating session terminals. Optionally, the status information of the participating session terminals may also include surrounding environment information of the participating session terminals. The present application may determine the speech right demand information of the participating session terminals based on the surrounding environment information of the participating session terminals.

可选的,上述发送至目标终端的状态信息可以周期性地发送,还可以在状态信息发生变化时发送。上述本申请提供的应用于目标终端的话权控制方法,与应用于服务器的话权控制方法可以相互对应参照,详细可参照前述实施例中的介绍,在此不再赘述。Optionally, the state information sent to the target terminal may be sent periodically or when the state information changes. The speech right control method applied to the target terminal provided by the present application may correspond to the speech right control method applied to the server, and the details may refer to the introduction in the above embodiments, which will not be repeated here.

本申请还提供了一种应用于参与会话终端的话权控制方法。接下来对应用于参与会话终端的话权控制方法进行介绍。The present application also provides a speech right control method applied to a terminal participating in a conversation. Next, the speech right control method applied to a terminal participating in a conversation is introduced.

请参阅图3,示出了本申请实施例提供的应用于参与会话终端的话权控制方法的流程示意图,该应用于参与会话终端的话权控制方法可以包括:Please refer to FIG. 3, which shows a flow chart of a method for controlling the right of speech applied to a terminal participating in a conversation provided in an embodiment of the present application. The method for controlling the right of speech applied to a terminal participating in a conversation may include:

步骤S301、向服务器发送参与会话终端的状态信息,以便服务器在将参与会话终端的状态信息发送至目标终端后,根据来自目标终端的远程话权控制消息对话权进行分配。Step S301: sending status information of the participating session terminals to the server, so that the server allocates the session rights according to the remote session right control message from the target terminal after sending the status information of the participating session terminals to the target terminal.

其中,参与会话终端为参与服务器建立的会话的终端,远程话权控制消息为目标终端在接收到参与会话终端的状态信息后生成的与参与会话终端的话权需求信息相匹配的消息,话权需求信息为反映参与会话终端对话权的需求程度的信息,目标终端参与会话终端中具有远程话权控制能力的终端。The participating session terminal is a terminal participating in the session established by the server, the remote speech right control message is a message generated by the target terminal after receiving the status information of the participating session terminal and matching the speech right demand information of the participating session terminal, the speech right demand information is information reflecting the degree of demand for the session right of the participating session terminal, and the target terminal is a terminal with remote speech right control capability among the participating session terminals.

可选的,参与会话终端可以周期性地向服务器发送自身的状态信息,还可以在自身的状态信息发生变化时,向服务器发送自身的状态信息。Optionally, the terminal participating in the conversation may periodically send its own state information to the server, and may also send its own state information to the server when its own state information changes.

在一种可能的实现方式中,在向服务器发送参与会话终端的状态信息后,本申请实施例提供的应用于参与会话终端的话权控制方法还可以包括:接受服务器授予的话权,其中,服务器授予的话权为目标终端指示服务器授予的话权,或自身申请话权后服务器授予的话权。In a possible implementation, after sending the status information of the terminal participating in the conversation to the server, the speech right control method applied to the terminal participating in the conversation provided in the embodiment of the present application may also include: accepting the speech right granted by the server, wherein the speech right granted by the server is the speech right granted by the target terminal indicating the server to grant, or the speech right granted by the server after the target terminal applies for the speech right itself.

具体的,参与会话终端可以在需要讲话时向服务器发送话权申请,服务器可以响应该话权申请按照现有技术中的话权控制流程将话权授予该参与会话终端;该参与会话终端还可以不主动申请话权,目标终端在判断该参与会话终端具有最高话权需求的情况下(此时参与会话终端为前述实施例提供的第二终端,例如第二终端为处于紧急状态的终端),向服务器发送远程话权控制消息,服务器根据接收到的远程话权控制消息按照本申请提供的话权控制流程将话权授予该终端,由此该终端可以接收服务器授予的话权。Specifically, the terminal participating in the conversation can send a speech right application to the server when it needs to speak, and the server can respond to the speech right application and grant the speech right to the terminal participating in the conversation according to the speech right control process in the prior art; the terminal participating in the conversation can also not actively apply for the speech right, and the target terminal sends a remote speech right control message to the server when it is determined that the terminal participating in the conversation has the highest speech right demand (at this time, the terminal participating in the conversation is the second terminal provided in the aforementioned embodiment, for example, the second terminal is a terminal in an emergency state), and the server grants the speech right to the terminal according to the speech right control process provided in this application based on the received remote speech right control message, so that the terminal can receive the speech right granted by the server.

综上,参与会话终端可以主动申请话权,在这种情况下,服务器按照优先级进行话权分配,在申请话权的参与会话终端的优先级高于当前拥有话权的终端的优先级,且高于同时申请话权的其他终端的优先级的情况下,该参与会话终端可以被授予话权。参与会话终端还可以不进行话权申请,在其对话权的需求程度高于其他终端时,可以由目标终端生成远程话权控制消息,以便服务器将话权主动授予该参与会话终端。In summary, the participating terminal can actively apply for the right to speak. In this case, the server allocates the right to speak according to the priority. If the priority of the participating terminal applying for the right to speak is higher than the priority of the terminal currently having the right to speak, and higher than the priority of other terminals applying for the right to speak at the same time, the participating terminal can be granted the right to speak. The participating terminal can also not apply for the right to speak. When its demand for the right to speak is higher than that of other terminals, the target terminal can generate a remote right to speak control message so that the server can actively grant the right to speak to the participating terminal.

本申请中,参与会话终端可以通过多种方式获得话权,提高了用户体验。In this application, the terminals participating in the conversation can obtain the right to speak in a variety of ways, thereby improving the user experience.

为了使本领域技术人员更加理解上述本申请,以下结合一具体场景进行解释说明。In order to enable those skilled in the art to better understand the above application, an explanation is provided below in conjunction with a specific scenario.

本实施例以本申请应用于MCPTT话权控制服务器为例,参见图4所示,为强制模式下的话权控制流程示意图。MCPTT话权控制服务器(以下步骤介绍中简称为服务器)包括分别与各用户对接的话权参与者模块(即图4面向客户话权及媒体接口)和话权仲裁者模块(即图4话权仲裁及媒体处理),图4的MCPTT终端A、B和其他MCPTT终端分别对应用户A、用户B和其他用户。This embodiment takes the application of the present application to the MCPTT speech control server as an example, see Figure 4, which is a schematic diagram of the speech control process in the mandatory mode. The MCPTT speech control server (referred to as the server in the following steps) includes a speech participant module (i.e., the client-oriented speech and media interface in Figure 4) and a speech arbitrator module (i.e., speech arbitration and media processing in Figure 4) that are connected to each user respectively. The MCPTT terminals A, B and other MCPTT terminals in Figure 4 correspond to user A, user B and other users respectively.

步骤S20、建立会话,协商B为拥有远程话权控制权限的目标终端。Step S20: Establish a session and negotiate that B is the target terminal with remote speech right control authority.

具体的,终端(可选的,终端B)与服务器通过SIP协议的INVITE/200OK的SDP的offer/answer机制协议携带信息进行协商,以确定终端B是否有权限控制远端(即用户A和其他用户的终端)的话权,通过协商,本步骤确定终端B为目标终端。Specifically, the terminal (optionally, terminal B) and the server negotiate through the offer/answer mechanism protocol of the SDP of the INVITE/200OK of the SIP protocol to carry information to determine whether terminal B has the authority to control the speech right of the remote end (i.e., the terminal of user A and other users). Through negotiation, this step determines terminal B as the target terminal.

步骤S21、在终端A拥有话权权限的情况下,终端B的用户想要讲话,则终端B本地的程序(例如客户端)可以根据当前的话权状态获取终端A的身份证明信息(例如终端A的标识等)及话权操作动作,并据此构造远程话权控制消息Floor RemoteControl发送至服务器中终端B对接的话权参与者模块。Step S21: When terminal A has the right to speak, and the user of terminal B wants to speak, the local program of terminal B (such as the client) can obtain the identity information of terminal A (such as the identification of terminal A, etc.) and the right to speak operation action according to the current right to speak status, and construct a remote right to speak control message Floor RemoteControl accordingly and send it to the right to speak participant module connected to terminal B in the server.

步骤S22、终端B对接的话权参与者模块将远程话权控制消息透传给服务器的话权仲裁者模块。Step S22: The speaking right participant module connected to terminal B transparently transmits the remote speaking right control message to the speaking right arbitrator module of the server.

步骤S23、服务器的话权仲裁者模块根据远程话权控制消息做出判决,即同意将终端A占用的话权回收释放(强制释放),然后将仲裁后的远程话权控制消息发送给终端A对接的话权参与者模块。Step S23: The speech right arbitrator module of the server makes a decision based on the remote speech right control message, that is, agrees to reclaim and release the speech right occupied by terminal A (compulsory release), and then sends the arbitrated remote speech right control message to the speech right participant module connected to terminal A.

步骤S24、终端A对接的话权参与者模块将仲裁后的远程话权控制消息透传给终端A。Step S24: the speaking right participant module connected to terminal A transparently transmits the arbitrated remote speaking right control message to terminal A.

步骤S25、终端A根据接收到的远程话权控制消息进行话权释放的展示以及媒体流的中止发送,将表征话权释放的话权确认消息发送至终端A对接的话权参与者模块。Step S25 : Terminal A displays the release of the speaking right and stops sending the media stream according to the received remote speaking right control message, and sends a speaking right confirmation message indicating the release of the speaking right to the speaking right participant module connected to terminal A.

步骤S26、终端A对接的话权参与者模块将话权确认消息发送至话权仲裁者模块。Step S26: The speaking right participant module connected to terminal A sends a speaking right confirmation message to the speaking right arbitrator module.

步骤S27、话权仲裁者模块将话权授予信息发送至终端B对接的话权参与者模块。Step S27: The speaking right arbitrator module sends the speaking right granting information to the speaking right participant module connected to terminal B.

这里,话权授予信息用于指示将话权授权给终端B。Here, the speaking right granting information is used to indicate that the speaking right is authorized to terminal B.

步骤S28、终端B对接的话权参与者模块将话权授予信息发送至终端B。Step S28: The speaking right participant module connected to terminal B sends speaking right granting information to terminal B.

步骤S29、话权仲裁者模块通过终端A以及其他终端对接的话权参与者模块将话权指示信息发送至终端A和其他终端。Step S29: The speaking right arbitrator module sends the speaking right indication information to terminal A and other terminals through the speaking right participant modules connected to terminal A and other terminals.

这里,话权指示信息用于通知终端A以及其他终端当前终端B拥有话权权限。Here, the speaking right indication information is used to notify terminal A and other terminals that terminal B currently has the speaking right.

步骤S30、在终端B拥有话权权限的情况下,通过终端B对接的话权参与者模块向话权仲裁者模块发送媒体包。Step S30: When terminal B has the speaking right, the speaking right participant module connected to terminal B sends a media package to the speaking right arbitrator module.

媒体包中包含终端B的讲话内容。The media package includes the speech content of terminal B.

步骤S31、话权仲裁者模块将媒体包通过终端A和其他终端对接的话权参与者模块发送至终端A和其他终端。Step S31: The speaking right arbitrator module sends the media package to terminal A and other terminals through the speaking right participant modules connected to terminal A and other terminals.

步骤S32、在终端B停止讲话时,松开PTT按键,将话权释放信息通过终端B对接的话权参与者模块发送至话权仲裁者模块。Step S32: When terminal B stops speaking, the PTT button is released, and the speaking right release information is sent to the speaking right arbitrator module through the speaking right participant module connected to terminal B.

步骤S33、话权仲裁者模块将话权空闲信息通过各终端对接的话权参与者模块发送至各终端。Step S33: the speaking right arbitrator module sends the speaking right idle information to each terminal through the speaking right participant module connected to each terminal.

综上各实施例,本申请在现有技术的基础上增加了一种话权控制流程,可以更快地进行话权授予和释放,并不受静态话权优先级的限制,提高了紧急情况下话权授予的用户体验。本申请具有以下优势:第一,增强了话权操作的灵活性,目标终端可以远程控制会话中各终端(包括目标终端自身,以及参与会话终端中除目标终端的终端)的讲话权限;第二,远程控制下忽略优先级的处理,使得低优先级终端不用申请的背景下可以及时获得话权;第三,解决补充现有话权控制机制,满足一些关键的业务场景,例如目标终端授予远程其他终端话权,自身释放话权的业务场景;目标终端释放远程其他终端话权,自身获得话权的业务场景;目标终端授予远程其他终端话权的业务场景;目标终端释放远程其他终端话权的业务场景;等等。In summary, the present application adds a speech right control process on the basis of the prior art, which can grant and release speech right faster, and is not restricted by the static speech right priority, thereby improving the user experience of speech right granting in emergency situations. The present application has the following advantages: First, the flexibility of speech right operation is enhanced, and the target terminal can remotely control the speaking rights of each terminal in the session (including the target terminal itself, and the terminals participating in the session except the target terminal); second, the priority processing is ignored under remote control, so that low-priority terminals can obtain speech right in time without applying; third, it solves and supplements the existing speech right control mechanism to meet some key business scenarios, such as the business scenario in which the target terminal grants speech right to other remote terminals and releases its own speech right; the business scenario in which the target terminal releases the speech right of other remote terminals and obtains the speech right itself; the business scenario in which the target terminal grants speech right to other remote terminals; the business scenario in which the target terminal releases the speech right of other remote terminals; and so on.

需要说明的是,上述过程仅为本申请可以实现一种场景,除此之外,本申请还可以适用于其他场景,例如,会话过程中的话权控制场景等,本申请对此不进行具体限定。It should be noted that the above process is only one scenario that can be implemented in this application. In addition, this application can also be applied to other scenarios, such as the speech right control scenario during the conversation, etc. This application does not make specific limitations on this.

本申请实施例还提供了三种话权控制装置,下面对本申请实施例提供话权控制装置进行描述,下文描述的话权控制装置与上文描述的话权控制方法可相互对应参照。The embodiments of the present application also provide three speech right control devices. The speech right control devices provided in the embodiments of the present application are described below. The speech right control devices described below and the speech right control methods described above can be referenced to each other.

请参阅图5,示出了本申请实施例提供的应用于服务器的话权控制装置的结构示意图,如图5所示,该应用于服务器的话权控制装置可以包括:会话建立模块501、状态信息获取模块502、第一状态信息发送模块503和话权控制模块504。Please refer to Figure 5, which shows a structural diagram of a speech right control device applied to a server provided in an embodiment of the present application. As shown in Figure 5, the speech right control device applied to the server may include: a session establishment module 501, a status information acquisition module 502, a first status information sending module 503 and a speech right control module 504.

会话建立模块501,用于接收会话建立请求,根据会话建立请求确定参与会话终端并建立会话。The session establishment module 501 is used to receive a session establishment request, determine the participating session terminals according to the session establishment request, and establish a session.

状态信息获取模块502,用于获取参与会话终端的状态信息。The status information acquisition module 502 is used to acquire the status information of the terminal participating in the conversation.

第一状态信息发送模块503,用于将参与会话终端的状态信息发送至目标终端,以便目标终端生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,其中,话权需求信息为反映参与会话终端对话权的需求程度的信息。The first state information sending module 503 is used to send the state information of the participating terminal to the target terminal so that the target terminal generates a remote speech right control message matching the speech right demand information of the participating terminal, wherein the speech right demand information is information reflecting the degree of demand for the session right of the participating terminal.

话权控制模块504,用于接收目标终端发送的远程话权控制消息,根据远程话权控制消息对话权进行分配,其中,目标终端为参与会话终端中具有远程话权控制能力的终端。The speech right control module 504 is used to receive a remote speech right control message sent by a target terminal, and allocate a session right according to the remote speech right control message, wherein the target terminal is a terminal with remote speech right control capability among the terminals participating in the conversation.

在一种可能的实现方式中,上述状态信息获取模块具体可以用于周期性地获取参与会话终端的状态信息;In a possible implementation, the state information acquisition module may be specifically used to periodically acquire state information of the terminals participating in the conversation;

上述第一状态信息发送模块将参与会话终端的状态信息发送至目标终端时,具体可以用于将周期性获取的参与会话终端的状态信息分别发送至目标终端。When the first status information sending module sends the status information of the participating terminal to the target terminal, it can be specifically used to send the periodically acquired status information of the participating terminal to the target terminal respectively.

在一种可能的实现方式中,本申请提供的应用于服务器的话权控制装置还可以包括:订阅消息接收模块。In a possible implementation, the speech right control device applied to the server provided in the present application may further include: a subscription message receiving module.

订阅消息接收模块,用于在将周期性获取的参与会话终端的状态信息分别发送至目标终端之前,接收目标终端发来的订阅消息,其中,订阅消息用于向服务器订阅参与会话终端的状态信息。The subscription message receiving module is used to receive a subscription message sent by a target terminal before sending the periodically acquired status information of the participating session terminals to the target terminals respectively, wherein the subscription message is used to subscribe the status information of the participating session terminals to the server.

在一种可能的实现方式中,上述参与会话终端的状态信息中包括目标终端的状态信息。则上述话权控制模块根据远程话权控制消息对话权进行分配时,具体可以用于判断目标终端的状态信息包含的权限信息是否为目标终端具有话权远程控制权限,若该权限信息为目标终端具有话权远程控制权限,则根据远程话权控制消息对话权进行分配。In a possible implementation, the state information of the terminal participating in the conversation includes the state information of the target terminal. When the speech right control module allocates the speech right according to the remote speech right control message, it can be used to determine whether the authority information included in the state information of the target terminal indicates that the target terminal has the speech right remote control authority. If the authority information indicates that the target terminal has the speech right remote control authority, the speech right is allocated according to the remote speech right control message.

在一种可能的实现方式中,在远程话权控制消息包括第一终端的身份证明信息、模式标识和话权回收指示信息的情况下,上述话权控制模块根据远程话权控制消息对话权进行分配时,具体可以用于在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,将话权回收,第一终端为参与会话终端中拥有话权的终端;和/或,在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权回收指示信息和第一终端的身份证明信息,向第一终端发送话权回收协商信息,并在接收到第一终端反馈的同意回收信息时,将话权回收。In a possible implementation, when the remote speech right control message includes the identity information, mode identifier and speech right recovery indication information of the first terminal, when the above-mentioned speech right control module allocates the conversation right according to the remote speech right control message, it can be specifically used to recover the conversation right according to the speech right recovery indication information and the identity information of the first terminal when the mode identifier included in the remote speech right control message is an identifier of the forced mode, and the first terminal is a terminal having the speech right among the terminals participating in the session; and/or, when the mode identifier included in the remote speech right control message is an identifier of the negotiation mode, send speech right recovery negotiation information to the first terminal according to the speech right recovery indication information and the identity information of the first terminal, and recover the conversation right when receiving the consent recovery information fed back by the first terminal.

在一种可能的实现方式中,在远程话权控制消息包括第二终端的身份证明信息、模式标识和话权授权指示信息的情况下,上述话权控制模块根据远程话权控制消息对话权进行分配时,具体可以用于在远程话权控制消息包含的模式标识为强制模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,将话权授权给第二终端,第二终端为参与会话终端中有最高话权需求的终端;和/或,在远程话权控制消息包含的模式标识为协商模式的标识时,根据话权授权指示信息和第二终端的身份证明信息,向第二终端发送话权授权协商信息,并在接收到第二终端反馈的同意授权信息时,将话权授权给第二终端。In a possible implementation, when the remote speech right control message includes the identity information, mode identifier and speech right authorization indication information of the second terminal, the speech right control module allocates the conversation right according to the remote speech right control message. Specifically, when the mode identifier included in the remote speech right control message is an identifier of a mandatory mode, the speech right is authorized to the second terminal according to the speech right authorization indication information and the identity information of the second terminal, and the second terminal is a terminal with the highest speech right demand among the participating session terminals; and/or, when the mode identifier included in the remote speech right control message is an identifier of a negotiation mode, the speech right authorization negotiation information is sent to the second terminal according to the speech right authorization indication information and the identity information of the second terminal, and the speech right is authorized to the second terminal upon receiving the consent authorization information fed back by the second terminal.

在一种可能的实现方式中,参与会话终端的状态信息为会话初始化协议SIP下的会话描述协议SDP的协商机制中携带的信息。In a possible implementation manner, the state information of the terminal participating in the session is information carried in a negotiation mechanism of a session description protocol SDP under a session initiation protocol SIP.

请参阅图6,示出了本申请实施例提供的应用于目标终端的话权控制装置的结构示意图,如图6所示,该应用于目标终端的话权控制装置可以包括:控制消息生成模块601和控制消息发送模块602。Please refer to Figure 6, which shows a structural diagram of a speech right control device applied to a target terminal provided in an embodiment of the present application. As shown in Figure 6, the speech right control device applied to the target terminal may include: a control message generating module 601 and a control message sending module 602.

控制消息生成模块601,用于在接收到服务器发送来的参与会话终端的状态信息后,生成与参与会话终端的话权需求信息相匹配的远程话权控制消息,其中,话权需求信息为反映参与会话终端对话权的需求程度的信息,参与会话终端为参与服务器建立的会话的终端,目标终端为参与会话终端中具有远程话权控制能力的终端。The control message generation module 601 is used to generate a remote speech right control message matching the speech right demand information of the participating session terminal after receiving the status information of the participating session terminal sent by the server, wherein the speech right demand information is information reflecting the degree of demand for the session right of the participating session terminal, the participating session terminal is a terminal participating in the session established by the server, and the target terminal is a terminal with remote speech right control capability among the participating session terminals.

控制消息发送模块602,用于将远程话权控制消息发送至服务器,以便服务器根据远程话权控制消息对话权进行分配。The control message sending module 602 is used to send a remote speech right control message to the server so that the server can allocate the speech right according to the remote speech right control message.

在一种可能的实现方式中,上述控制消息生成模块确定参与会话终端的话权需求信息的过程可以包括:从服务器发送来的状态信息中获取参与会话终端的话权需求信息,和/或,从服务器发送来的状态信息中获取参与会话终端的周围环境信息,根据参与会话终端的周围环境信息确定参与会话终端的话权需求信息。In a possible implementation, the process of the control message generation module determining the speech right requirement information of the participating session terminal may include: obtaining the speech right requirement information of the participating session terminal from the status information sent by the server, and/or obtaining the surrounding environment information of the participating session terminal from the status information sent by the server, and determining the speech right requirement information of the participating session terminal according to the surrounding environment information of the participating session terminal.

请参阅图7,示出了本申请实施例提供的应用于参与会话终端的话权控制装置的结构示意图,如图7所示,该应用于参与会话终端的话权控制装置可以包括:第二状态信息发送模块701。Please refer to FIG. 7 , which shows a schematic diagram of the structure of a speech right control device applied to a terminal participating in a conversation provided in an embodiment of the present application. As shown in FIG. 7 , the speech right control device applied to a terminal participating in a conversation may include: a second state information sending module 701 .

第二状态信息发送模块701,用于向服务器发送参与会话终端的状态信息,以便服务器在将参与会话终端的状态信息发送至目标终端后,根据来自目标终端的远程话权控制消息对话权进行分配,其中,参与会话终端为参与服务器建立的会话的终端,远程话权控制消息为目标终端在接收到参与会话终端的状态信息后生成的与参与会话终端的话权需求信息相匹配的消息,话权需求信息为反映参与会话终端对话权的需求程度的信息,目标终端为参与会话终端中具有远程话权控制能力的终端。The second state information sending module 701 is used to send state information of the participating session terminal to the server, so that the server can allocate the conversation right according to the remote conversation right control message from the target terminal after sending the state information of the participating session terminal to the target terminal, wherein the participating session terminal is a terminal participating in the session established by the server, the remote conversation right control message is a message generated by the target terminal after receiving the state information of the participating session terminal and matching the conversation right demand information of the participating session terminal, the conversation right demand information is information reflecting the degree of demand for the conversation right of the participating session terminal, and the target terminal is a terminal with remote conversation right control capability among the participating session terminals.

在一种可能的实现方式中,本申请提供的应用于参与会话终端的话权远程控制装置还可以包括:话权接受模块。In a possible implementation, the speech right remote control device applied to a terminal participating in a conversation provided in the present application may further include: a speech right accepting module.

话权接受模块,用于在向服务器发送参与会话终端的状态信息后,接受服务器授予的话权,其中,服务器授予的话权为目标终端指示服务器授予的话权,或自身申请话权后服务器授予的话权。The speech right accepting module is used to accept the speech right granted by the server after sending the status information of the terminal participating in the conversation to the server, wherein the speech right granted by the server is the speech right granted by the target terminal instructing the server to grant, or the speech right granted by the server after the target terminal applies for the speech right.

本申请实施例还提供了一种话权控制设备。可选的,图8示出了话权控制设备的硬件结构框图,参照图8,该话权控制设备的硬件结构可以包括:至少一个处理器801,至少一个通信接口802,至少一个存储器803和至少一个通信总线804;The embodiment of the present application also provides a speech right control device. Optionally, FIG8 shows a hardware structure block diagram of the speech right control device. Referring to FIG8 , the hardware structure of the speech right control device may include: at least one processor 801, at least one communication interface 802, at least one memory 803 and at least one communication bus 804;

在本申请实施例中,处理器801、通信接口802、存储器803、通信总线804的数量为至少一个,且处理器801、通信接口802、存储器803通过通信总线804完成相互间的通信;In the embodiment of the present application, the number of the processor 801, the communication interface 802, the memory 803, and the communication bus 804 is at least one, and the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804;

处理器801可能是一个中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路等;The processor 801 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention;

存储器803可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory)等,例如至少一个磁盘存储器;The memory 803 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;

其中,存储器803存储有程序,处理器801可调用存储器803存储的程序,所述程序用于实现如上述应用于服务器的话权控制方法或上述应用于目标终端的话权控制方法或上述应用于参与会话终端的话权控制方法。The memory 803 stores a program, and the processor 801 can call the program stored in the memory 803, wherein the program is used to implement the above-mentioned speech right control method applied to the server or the above-mentioned speech right control method applied to the target terminal or the above-mentioned speech right control method applied to the participating terminal.

可选的,所述程序的细化功能和扩展功能可参照上文描述。Optionally, the detailed functions and extended functions of the program may refer to the above description.

本申请实施例还提供一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如上述应用于服务器的话权控制方法或上述应用于目标终端的话权控制方法或上述应用于参与会话终端的话权控制方法。An embodiment of the present application also provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the speech right control method applied to the server or the speech right control method applied to the target terminal or the speech right control method applied to the terminal participating in the conversation is implemented.

可选的,所述程序的细化功能和扩展功能可参照上文描述。Optionally, the detailed functions and extended functions of the program may refer to the above description.

最后,还需要说明的是,在本文中,诸如和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that, in this article, relational terms such as and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

And sending the state information of the participation session terminal to a server, so that the server distributes the session right according to a remote session right control message from a target terminal after sending the state information of the participation session terminal to the target terminal, wherein the participation session terminal is a terminal participating in a session established by the server, the remote session right control message is a message which is generated by the target terminal after receiving the state information of the participation session terminal and is matched with the session right demand information of the participation session terminal, the session right demand information is information reflecting the demand degree of the session right of the participation session terminal, and the target terminal is a terminal with remote session right control capability in the participation session terminal.
CN202310386124.7A2023-04-032023-04-03 A speech right control method, device and mediumPendingCN118828994A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202310386124.7ACN118828994A (en)2023-04-032023-04-03 A speech right control method, device and medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202310386124.7ACN118828994A (en)2023-04-032023-04-03 A speech right control method, device and medium

Publications (1)

Publication NumberPublication Date
CN118828994Atrue CN118828994A (en)2024-10-22

Family

ID=93073227

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202310386124.7APendingCN118828994A (en)2023-04-032023-04-03 A speech right control method, device and medium

Country Status (1)

CountryLink
CN (1)CN118828994A (en)

Similar Documents

PublicationPublication DateTitle
CA2511937C (en)Controlling and managing sessions between endpoints
CA2510629C (en)Apparatus and method for controlling and managing individual directed sessions in a communications system
CA2510622C (en)Methods for affiliating endpoints with a group and determining common communication capabilities for the affiliated endpoints
US7023813B2 (en)Methods for managing a pool of multicast addresses and allocating addresses in a communications system
KR100819494B1 (en)Mobile communication terminal for floor control of user and floor control method using the same
JP5026964B2 (en) Method and apparatus for providing different services in a multimedia communication system
KR102173839B1 (en) How to apply for media transfer rights, and how and how to revoke media transfer rights
WO2007018694A1 (en)Method and apparatus for floor control in a communication system
KR101275915B1 (en)Method for interrupting media transmission
CN101350861A (en) conference system
WO2007109948A1 (en)A media session data transmission control method, a control relation negotiation method and a control device and a system
KR20080084918A (en) Push to talk service method and device
JP4813481B2 (en) Call processing method and system for PoC system
CN101297563B (en) Method and apparatus for push-to-talk service
CN118828994A (en) A speech right control method, device and medium
WO2007095849A1 (en)Method, system and apparatus for assigning media transmitting right of session setting up
WO2010012231A1 (en)Method and device for controlling communication time
KR20070108308A (en) Session based service providing method and system
IL169236A (en)Apparatus and method for controlling and managing individual directed sessions in a communications system

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