[go: up one dir, main page]

CN111327868B - Method, terminal, server, device and medium for setting conference speaker role - Google Patents

Method, terminal, server, device and medium for setting conference speaker role Download PDF

Info

Publication number
CN111327868B
CN111327868B CN202010109088.6A CN202010109088A CN111327868B CN 111327868 B CN111327868 B CN 111327868B CN 202010109088 A CN202010109088 A CN 202010109088A CN 111327868 B CN111327868 B CN 111327868B
Authority
CN
China
Prior art keywords
type
role
data
speaker
conference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010109088.6A
Other languages
Chinese (zh)
Other versions
CN111327868A (en
Inventor
邹斌斌
贺传森
王晓燕
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010109088.6A priority Critical patent/CN111327868B/en
Publication of CN111327868A publication Critical patent/CN111327868A/en
Application granted granted Critical
Publication of CN111327868B publication Critical patent/CN111327868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/157Conference systems defining a virtual conference space and using avatars or agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method, a terminal, a server, equipment and a medium for setting a role of a conference speaker. The method comprises the following steps: obtaining information of all the participant members participating in the conference; according to the information of all the participant members, the role types of the target participant members in the conference are obtained, wherein the target participant members are any one participant member of all the participant members; and obtaining a data packet corresponding to the role type, and sending the data packet and the information of the target participant to the autonomous server in a corresponding manner, so that the autonomous server performs video stream scheduling on the participant terminal of the target participant according to the data packet in the conference process. When setting the role of each participant, if the data packet corresponding to the role type is already stored, the data packet is directly obtained without constructing the data packet corresponding to the role type again, so that the time for setting the role of the participant by the client can be shortened rapidly, and the efficiency for setting the role of the participant by the client can be improved.

Description

设置会议发言方角色的方法、终端、服务器、设备及介质Method, terminal, server, device and medium for setting conference speaker role

技术领域technical field

本发明涉及视联网技术领域,特别是涉及一种设置会议发言方角色的方法、终端、服务器、设备及介质。The invention relates to the technical field of video networking, in particular to a method for setting the role of a conference speaker, a terminal, a server, a device and a medium.

背景技术Background technique

在视联网中创建视频会议时,需要预先为所有的会议成员设置会议角色,这些会议角色例如可以是:会议主席、发言人以及普通参会成员等。不同的会议角色通常具有不同的会议权限,因而,为保证整个视频会议的顺利进行,会议成员角色的设置十分重要。在相关技术中,在为每一个会议成员分配会议角色后,还需要为每一个会议成员构建角色数据包,并发送给服务器,告知服务器该会议成员的会议角色,以便于服务器在后续视频会议进行时,根据各个会议成员的会议角色进行视频流的调度。然而,相关技术中在为每个会议成员构建角色数据包时,效率十分低下,在大规模会议场景下,无法快速完成所有会议成员的角色设置,导致会议准备时间较长。When creating a video conference in the Internet of Vision, it is necessary to set conference roles for all conference members in advance, and these conference roles may be, for example, conference chairperson, speaker, and ordinary participants. Different conference roles usually have different conference permissions. Therefore, in order to ensure the smooth progress of the entire video conference, it is very important to set the role of conference members. In related technologies, after assigning a meeting role to each meeting member, it is also necessary to construct a role data packet for each meeting member and send it to the server to inform the server of the meeting role of the meeting member, so that the server can carry out the meeting role in the subsequent video conference. , the video stream is scheduled according to the conference role of each conference member. However, in the related art, when constructing a role data package for each conference member, the efficiency is very low. In a large-scale conference scenario, the role setting of all conference members cannot be quickly completed, resulting in a long meeting preparation time.

发明内容Contents of the invention

本申请实施例提供了一种设置会议发言方角色的方法、终端、服务器、设备及介质,旨在提高视联网视频会议时会议成员的角色设置的效率,保证在大规模会议场景下,缩短会议准备时长,提高用户的使用体验。The embodiment of the present application provides a method, terminal, server, device, and medium for setting the role of the conference speaker, aiming to improve the efficiency of setting the roles of conference members during a networked video conference, and ensure that the conference is shortened in large-scale conference scenarios. The preparation time is long and the user experience is improved.

本申请实施例第一方面提供了一种设置会议发言方角色的方法,所述方法包括:The first aspect of the embodiment of the present application provides a method for setting the role of the conference speaker, the method including:

获得参加会议的所有参会成员的信息;Obtain the information of all participants participating in the meeting;

根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员;Obtain the role type of the target participant in the meeting according to the information of all the participants, the target participant is any one of the participants;

获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度。Obtain a data packet corresponding to the role type, and send the data packet to the autonomous server in correspondence with the information of the target participant, so that the autonomous server can, according to the data packet, The video stream scheduling is performed on the participating terminals of the target participating members.

本申请实施例第二方面提供了一种设置会议发言方角色的方法,所述方法包括:The second aspect of the embodiment of the present application provides a method for setting the role of a conference speaker, the method including:

接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是所述客户端根据所述目标参会成员的信息确定的;receiving the data packet sent by the terminal, the data packet is a data packet corresponding to the role type of the target participant, and the data packet also includes the information of the target participant, and the role type is the client Determined based on the information of the target participants;

在所述数据包为正确类型数据包时,存储所述数据包;storing the data packet when the data packet is a data packet of the correct type;

向所述终端发送所述目标参会成员的角色设置成功的响应信息。Sending response information indicating that the role of the target participant is successfully set to the terminal.

本申请实施例第三方面提供一种终端,包括:The third aspect of the embodiment of the present application provides a terminal, including:

第一获得模块,用于获得参加会议的所有参会成员的信息;The first obtaining module is used to obtain the information of all participants participating in the meeting;

第二获得模块,用于根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员;The second obtaining module is used to obtain the role type of the target participant in the meeting according to the information of all the participants, and the target participant is any one of the all participants. member;

第一发送模块,用于获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度。The first sending module is configured to obtain a data packet corresponding to the role type, and send the data packet to the autonomous server corresponding to the information of the target participant, so that the autonomous server can, during the conference, According to the data packet, video stream scheduling is performed on the participating terminals of the target participating members.

本申请实施例第四方面提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现本申请第一方面所述的方法的步骤。The fourth aspect of the embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the method described in the first aspect of the present application when executed A step of.

本申请实施例第五方面提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请第一方面所述的方法中的步骤。The fifth aspect of the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.

本申请实施例第六方面提供一种服务器,包括:A sixth aspect of the embodiment of the present application provides a server, including:

接收模块,用于接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是所述客户端根据所述目标参会成员的信息确定的;The receiving module is configured to receive a data packet sent by the terminal, the data packet is a data packet corresponding to the role type of the target participant, and the data packet also includes information of the target participant, and the role type It is determined by the client according to the information of the target participant;

存储模块,用于在所述数据包为正确类型数据包时,存储所述数据包;A storage module, configured to store the data packet when the data packet is a correct type of data packet;

第二发送模块,用于向所述终端发送所述目标参会成员的角色设置成功的响应信息。The second sending module is configured to send response information indicating that the role of the target participant is successfully set to the terminal.

本申请实施例第七方面提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现本申请第二方面所述的方法的步骤。The seventh aspect of the embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the method described in the second aspect of the present application when executed A step of.

本申请实施例第八方面提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请第二方面所述的方法中的步骤。The eighth aspect of the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the method described in the second aspect of the present application are implemented.

通过本申请的设置会议发言方角色的方法设置每个参会成员的角色时,首先获得参加会议的所有参会成员的信息,然后根据所有参会成员的信息,依次获得每一个参会成员在会议中的角色类型,在确定一个参会成员在会议中的角色类型后,直接获得该角色类型已经存储的构建好的数据包,将该数据包和该参会成员的信息一并发送给自治服务器,以使自治服务器在会议过程中根据该数据包对该参会成员的参会终端进行视频流的调度。在设置每个参会成员的角色时,如果已经存储有与其角色类型对应的数据包,则直接获得该数据包,而不用再次构建该角色类型对应的数据包,因而,可以快速缩短客户端设置参会成员的角色的时间,缩短会议前期准备时长,尤其是在大规模视频会议中,本申请的设置会议发言方角色的方法提升客户端设置参会成员的角色的效率尤为突出。When setting the role of each participating member through the method of setting the role of the conference speaker in this application, first obtain the information of all participating members participating in the conference, and then obtain the information of each participating member in turn according to the information of all participating members. The role type in the meeting, after determining the role type of a participant in the meeting, directly obtain the constructed data package that has been stored for the role type, and send the data package and the information of the participant to the autonomous server, so that the autonomous server schedules the video streams of the participating terminals of the participating members according to the data packet during the conference. When setting the role of each participating member, if the data package corresponding to its role type has already been stored, the data package can be obtained directly without re-constructing the data package corresponding to the role type, so the client setting can be shortened quickly The time for the role of the participating members shortens the length of pre-conference preparations, especially in large-scale video conferences. The method for setting the role of the conference speaker in this application improves the efficiency of the client to set the role of the participating members.

附图说明Description of drawings

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

图1是本申请一实施例示出的一种设置会议发言方角色的方法的流程图;FIG. 1 is a flow chart of a method for setting the role of a conference speaker according to an embodiment of the present application;

图2是本申请一实施例示出的另一种设置会议发言方角色的方法的流程图;Fig. 2 is a flow chart of another method for setting the role of the conference speaker according to an embodiment of the present application;

图3是本申请一实施例示出的一种设置会议发言方角色的方法整体流程示意图;FIG. 3 is a schematic diagram of the overall flow of a method for setting the role of a conference speaker according to an embodiment of the present application;

图4是本申请一实施例示出的另一种设置会议发言方角色的方法整体流程示意图;FIG. 4 is a schematic flowchart of another method for setting the role of a conference speaker according to an embodiment of the present application;

图5是本申请一实施例示出的一种终端的结构框图;Fig. 5 is a structural block diagram of a terminal shown in an embodiment of the present application;

图6是本申请一实施例示出的一种服务器的结构框图;Fig. 6 is a structural block diagram of a server shown in an embodiment of the present application;

图7是本申请一实施例示出的一种视联网的组网示意图;FIG. 7 is a schematic diagram of a networking of a video network shown in an embodiment of the present application;

图8是本申请一实施例示出的一种节点服务器的硬件结构示意图;FIG. 8 is a schematic diagram of a hardware structure of a node server shown in an embodiment of the present application;

图9是本申请一实施例示出的一种接入交换机的硬件结构示意图;FIG. 9 is a schematic diagram of a hardware structure of an access switch shown in an embodiment of the present application;

图10是本申请一实施例示出的一种以太网协转网关的硬件结构示意图。Fig. 10 is a schematic diagram of a hardware structure of an Ethernet protocol conversion gateway shown in an embodiment of the present application.

具体实施方式Detailed ways

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

本申请首先提供了一种设置会议发言方角色的方法,如图1所述。图1是本申请一实施例示出的一种设置会议发言方角色的方法的流程图。参照图1,本申请的设置会议发言方角色的方法包括以下步骤:The present application firstly provides a method for setting the role of a conference speaker, as shown in FIG. 1 . Fig. 1 is a flow chart of a method for setting a speaker role in a conference according to an embodiment of the present application. Referring to Figure 1, the method for setting the role of the conference speaker in the present application includes the following steps:

步骤S11:获得参加会议的所有参会成员的信息。Step S11: Obtain the information of all participants in the meeting.

在本实施例中,设置会议发言方角色的方法的执行主体可以是客户端,该客户端可以安装在任何终端设备(例如:PC、智能手机等)中。客户端可以从第三方会议控制类软件中获得所有参会成员的信息,也可以通过自身提供的界面接收用户输入的所有的参会成员的信息,本申请实施例对所有参会成员的信息的获取方式不作具体限制。其中,参会成员的信息可以包括:参会成员的姓名、对应的参会终端的虚拟号码、所在视频会议的编号、会议角色等,本申请对参会成员的信息不作具体限制。In this embodiment, the execution subject of the method for setting the role of the conference speaker may be a client, and the client may be installed in any terminal device (such as a PC, a smart phone, etc.). The client can obtain the information of all the participants from the third-party conference control software, and can also receive the information of all the participants input by the user through the interface provided by itself. The acquisition method is not specifically limited. Among them, the information of the participating members may include: the name of the participating member, the virtual number of the corresponding participating terminal, the number of the video conference, the role of the meeting, etc. This application does not specifically limit the information of the participating members.

步骤S12:根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员。Step S12: Obtain the role type of the target participant in the conference according to the information of all the participants, and the target participant is any one of the participants.

在本实施例中,会议角色可以包括:主席、第一发言人以及第二发言人。会议角色与角色类型不同,角色类型可以包括多种,例如:同时是会议主席、第一发言人以及第二发言人,只是会议主席,或者只是普通参会成员等。根据每个参会成员的会议角色,可以确定该参会成所属的角色类型。In this embodiment, the conference roles may include: chairman, first speaker and second speaker. The conference role is different from the role type, and the role types can include multiple types, for example: being the conference chairperson, the first speaker and the second speaker at the same time, only the conference chairperson, or just ordinary participants, etc. According to the conference role of each participant, the role type to which the participant belongs can be determined.

步骤S13:获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度。Step S13: Obtain the data packet corresponding to the role type, and send the data packet to the autonomous server corresponding to the information of the target participant, so that the autonomous server can, according to the data during the conference, The package schedules video streams for the participating terminals of the target participating members.

在本实施例中,不同的角色类型对应的数据包不同。客户端在获得每个参会成员的角色类型后,需要将该角色类型告知自治服务器,使得自治服务器在后续视频会议进行过程中,可以根据各个参会成员的角色类型进行视频流的调度。因此,客户端需要根据每个参会成员的角色类型,获得对应的数据包,并将该数据包发送给自治服务器,该数据包中不仅包括参会成员的信息,还包括与多个与视频流调度相关的数据文件,以便于自治服务器执行后续会议流程。In this embodiment, different data packets correspond to different role types. After obtaining the role type of each participant, the client needs to inform the autonomous server of the role type, so that the autonomous server can schedule the video stream according to the role type of each participant during the subsequent video conference. Therefore, the client needs to obtain the corresponding data packet according to the role type of each participating member, and send the data packet to the autonomous server. The data packet not only includes the information of the participating members, but also includes multiple Data files related to stream scheduling, so that the autonomous server can execute subsequent conference processes.

在本实施例中,针对每一个角色类型,客户端在首次为该角色类型创建数据包时,都会进行存储。因而,客户端每次在确定一个参会成员的角色类型后,首先检测是否已经存在该角色类型对应的数据包,如果已经存在该角色类型对应的数据包,则直接获得该数据包,作为当前处理的参会成员的角色类型对应的数据包,而不用再次构建该角色类型对应的数据包。最后,将获得的数据包与当前处理的参会成员的信息一并发送给自治服务器。In this embodiment, for each role type, when the client creates a data package for the role type for the first time, it will store it. Therefore, each time the client determines the role type of a participant, it first checks whether there is already a data packet corresponding to the role type, and if there is already a data packet corresponding to the role type, it will directly obtain the data packet as the current The processed data packets corresponding to the role types of the participating members do not need to construct the data packets corresponding to the role types again. Finally, the obtained data packet is sent to the autonomous server together with the currently processed participant information.

在步骤S13之后,还可以执行以下步骤:After step S13, the following steps can also be performed:

在未获得所述角色类型对应的数据包时,构建所述角色类型对应的数据包,将构建得到的数据包与所述目标参会成员的信息对应发送给所述自治服务器,并存储所述构建得到的数据包。When the data packet corresponding to the role type is not obtained, construct the data packet corresponding to the role type, send the constructed data packet corresponding to the information of the target participant to the autonomous server, and store the Build the resulting packet.

在本实施例中,如果未能获得与角色类型对应的数据包,还构建与该角色类型对应的数据包。In this embodiment, if the data package corresponding to the role type cannot be obtained, a data package corresponding to the role type is also constructed.

示例地,客户端需要设置5个参会成员的角色,5个参会成员分别为成员1-成员5,其中,成员1的角色类型是第一发言人,成员2的角色类型是第二发言人,成员3的角色类型是第一发言人,成员4的角色类型是主席,成员5的角色类型是普通参会成员(无法发言)。客户端开始设置成员角色时,首先确定成员1的角色类型是第一发言人,检测是否已存在该角色类型对应的数据包(在本申请各个实施例中,同一角色类型在不同的视频会议中对应的数据包是不同的),检测结果为不存在,则构建与角色类型,即第一发言人对应的数据包,并存储,然后将该数据包和成员1的信息一并发送给自治服务器;之后,客户端确定成员2的角色类型是第二发言人,按照与设置成员1的角色相同的方式,获得成员2的角色类型对应的数据包,将该数据包和成员2的信息一并发送给自治服务器;之后,客户端确定成员3的角色类型是第一发言人,由于之前已经构建了角色类型为第一发言人时对应的数据包,因而,在设置成员3的角色时,直接获得设置成员1的角色时构建的数据包,无需再像设置成员1的角色时那样再次构建新的数据包,最后将该数据包和成员3的信息一并发送给自治服务器;关于成员4和成员5的角色的设置方式与成员1-成员3的角色的设置方式相同,在此不作赘述。For example, the client needs to set the roles of 5 participating members, the 5 participating members are member 1-member 5, among which, the role type of member 1 is the first speaker, and the role type of member 2 is the second speaker The role type of member 3 is the first speaker, the role type of member 4 is the chairman, and the role type of member 5 is ordinary participant (unable to speak). When the client starts to set member roles, it first determines that the role type of member 1 is the first speaker, and detects whether there is already a data packet corresponding to the role type (in each embodiment of the application, the same role type is used in different video conferences). The corresponding data packets are different), and the detection result is non-existent, then construct and store the data packet corresponding to the role type, that is, the first speaker, and then send the data packet and the information of member 1 to the autonomous server ; Afterwards, the client determines that the role type of member 2 is the second speaker, obtains the data packet corresponding to the role type of member 2 in the same way as setting the role of member 1, and combines the data packet with the information of member 2 Afterwards, the client determines that the role type of member 3 is the first speaker. Since the data packet corresponding to the role type of the first speaker has been constructed before, when setting the role of member 3, directly Obtain the data packet constructed when setting the role of member 1, no need to construct a new data packet again as when setting the role of member 1, and finally send the data packet and the information of member 3 to the autonomous server; about member 4 and The setting manner of the roles of member 5 is the same as that of the roles of members 1-3, and will not be repeated here.

在通过本实施例的设置会议发言方角色的方法设置每个参会成员的角色时,首先获得参加会议的所有参会成员的信息,然后根据所有参会成员的信息,依次获得每一个参会成员在会议中的角色类型,在确定一个参会成员在会议中的角色类型后,直接获得该角色类型已经存储的构建好的数据包,将该数据包和该参会成员的信息一并发送给自治服务器,以使自治服务器在会议过程中根据该数据包对该参会成员的参会终端进行视频流的调度。在设置每个参会成员的角色时,如果已经存储有与其角色类型对应的数据包,则直接获得该数据包,而不用再次构建该角色类型对应的数据包,因而,可以快速缩短客户端设置参会成员的角色的时间,缩短会议前期准备时长,尤其是在大规模视频会议中,本申请的设置会议发言方角色的方法提升客户端设置参会成员的角色的效率尤为突出。When the role of each participant is set through the method of setting the role of the conference speaker in this embodiment, the information of all the participants participating in the meeting is first obtained, and then according to the information of all the participants, each participant is sequentially obtained The role type of the member in the meeting. After determining the role type of a participant in the meeting, directly obtain the constructed data package that has been stored for the role type, and send the data package together with the information of the participant to the autonomous server, so that the autonomous server can schedule the video stream of the participating terminal of the participating member according to the data packet during the conference. When setting the role of each participating member, if the data package corresponding to its role type has already been stored, the data package can be obtained directly without re-constructing the data package corresponding to the role type, so the client setting can be shortened quickly The time for the role of the participating members shortens the length of pre-conference preparations, especially in large-scale video conferences. The method for setting the role of the conference speaker in this application improves the efficiency of the client to set the role of the participating members.

结合以上实施例,在一种实施方式中,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器具体可以包括如下步骤:In combination with the above embodiments, in an implementation manner, sending the data packet to the autonomous server corresponding to the information of the target participant may specifically include the following steps:

将所述目标参会成员的信息添加到所述数据包中,在添加成功后将所述数据包送给所述自治服务器。The information of the target participant is added to the data packet, and the data packet is sent to the autonomous server after the addition is successful.

在本实施例中,可以从目标参会成员的信息中获得部分或全部信息,添加到数据包,然后将数据包发送给自治服务器,以告知自治服务器该数据包是与哪一个参会成员对应。示例地,客户端可以从参会成员1的信息中提取出参会成员1的参会终端对应的虚拟终端号码,将该号码作为标签添加到参会成员1的角色类型对应的数据包中,然后将数据包发送给自治服务器,以告知自治服务器该数据包是与参会成员1的参会终端对应的虚拟终端号码对应的。In this embodiment, part or all of the information can be obtained from the information of the target participant, added to the data packet, and then the data packet is sent to the autonomous server to inform the autonomous server which participant the data packet corresponds to . For example, the client can extract the virtual terminal number corresponding to the participant terminal of participant 1 from the information of participant 1, and add the number as a tag to the data packet corresponding to the role type of participant 1, Then send the data packet to the autonomous server to inform the autonomous server that the data packet corresponds to the virtual terminal number corresponding to the conference participant terminal of participant 1 .

在本实施例中,客户端将参会成员的信息添加到其对应的数据包中,能保证自治服务器准确得知参会成员的角色,便于后续视频流的调度,保证视频会议的顺利进行。In this embodiment, the client adds the information of the participating members to its corresponding data packet, which can ensure that the autonomous server accurately knows the roles of the participating members, facilitates the scheduling of subsequent video streams, and ensures the smooth progress of the video conference.

结合以上实施例,在一种实施方式中,根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,具体可以包括如下步骤:In combination with the above embodiments, in one implementation manner, according to the information of all the participants, obtaining the role type of the target participant in the conference may specifically include the following steps:

在所述目标参会成员是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第一类型会议成员;When the target participant is the chairman, the first speaker, and the second speaker, determine that the role type of the target participant is the first type of meeting member;

在所述目标参会成员是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第二类型会议成员;When the target participant is the chairman, the first speaker and not the second speaker, determine that the role type of the target participant is the second type of meeting member;

在所述目标参会成员是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第三类型会议成员;When the target participant is the chairman, not the first speaker, or the second speaker, determine that the role type of the target participant is the third type of conference member;

在所述目标参会成员是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第四类型会议成员;When the target participant is the chairman, not the first speaker, and not the second speaker, determine that the role type of the target participant is the fourth type of meeting member;

在所述目标参会成员不是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第五类型会议成员;When the target participant is not the chairman, the first speaker, or the second speaker, determine that the role type of the target participant is the fifth type of meeting member;

在所述目标参会成员不是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第六类型会议成员;When the target participant is not the chairman, the first speaker and not the second speaker, determine that the role type of the target participant is the sixth type of meeting member;

在所述目标参会成员不是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第七类型会议成员;When the target participant is not the chairman, the first speaker, or the second speaker, determine that the role type of the target participant is the seventh type of meeting member;

在所述目标参会成员不是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第八类型会议成员。When the target conference member is not the chairman, not the first speaker, and not the second speaker, determine that the role type of the target conference member is the eighth type of conference member.

在本实施例中,角色类型可以分为8种,包括:第一类型会议成员、第二类型会议成员、第三类型会议成员、第四类型会议成员、第五类型会议成员、第六类型会议成员、第七类型会议成员以及第八类型会议成员。In this embodiment, role types can be divided into 8 types, including: first type meeting member, second type meeting member, third type meeting member, fourth type meeting member, fifth type meeting member, sixth type meeting member members, members of the seventh type of meeting, and members of the eighth type of meeting.

当然,在本申请中,角色类型可以根据会议角色的类型划分为多种,示例地,会议角色包括主席、第一发言人以及第二发言人时,角色类型可以分为8种,会议角色包括主席、第一发言人、第二发言人以及第三发言人时,角色类型可以分为16种,以此类推,还可以设置更多发言人,以获得实际所需的更多的角色类型,本申请对此不作具体限制。Of course, in this application, the role types can be divided into multiple types according to the types of meeting roles. For example, when the meeting roles include the chairman, the first speaker, and the second speaker, the role types can be divided into 8 types, and the meeting roles include For chairman, first speaker, second speaker and third speaker, the role types can be divided into 16 types, and so on, and more speakers can be set to obtain more role types that are actually needed. This application does not specifically limit this.

在本实施例中,可以根据会议角色设置获得多个角色类型,能满足视频会议过程中发言方的多样化的需求,改善用户的使用体验。In this embodiment, multiple role types can be obtained according to the meeting role setting, which can meet the diverse needs of speakers during the video conference and improve user experience.

结合以上实施例,在一种实施方式中,每一个角色类型对应的数据包中包括本地数据文件和接收数据文件,所述接收数据文件中包括主席数据、第一发言人数据以及第二发言人数据。相应地,构建所述角色类型对应的数据包具体可以包括如下步骤:In combination with the above embodiments, in one implementation, the data package corresponding to each role type includes a local data file and a received data file, and the received data file includes chairman data, first speaker data, and second speaker data data. Correspondingly, constructing the data package corresponding to the role type may specifically include the following steps:

在所述目标参会成员的角色类型为第一类型会议成员时,构建第一类型数据包,所述第一类型数据包的本地数据文件中包括主席数据、第一发言人数据以及第二发言人数据;When the role type of the target participating member is the first type of meeting member, construct the first type of data package, the local data file of the first type of data package includes chairman data, first speaker data and second speech personal data;

在所述目标参会成员的角色类型为第二类型会议成员时,构建第二类型数据包,所述第二类型数据包的本地数据文件中包括主席数据和第一发言人数据;When the role type of the target participating member is a second type of conference member, construct a second type of data package, the local data file of the second type of data package includes chairman data and first speaker data;

在所述目标参会成员的角色类型为第三类型会议成员时,构建第三类型数据包,所述第三类型数据包的本地数据文件中包括主席数据和第二发言人数据;When the role type of the target participating member is a third type of conference member, a third type of data package is constructed, and the local data file of the third type of data package includes chairman data and second speaker data;

在所述目标参会成员的角色类型为第四类型会议成员时,构建第四类型数据包,所述第四类型数据包的本地数据文件中包括主席数据;When the role type of the target participating member is a fourth type of conference member, construct a fourth type of data package, the local data file of the fourth type of data package includes chairman data;

在所述目标参会成员的角色类型为第五类型会议成员时,构建第五类型数据包,所述第五类型数据包的本地数据文件中包括第一发言人数据和第二发言人数据;When the role type of the target participating member is a fifth type of conference member, a fifth type of data package is constructed, and the local data file of the fifth type of data package includes first speaker data and second speaker data;

在所述目标参会成员的角色类型为第六类型会议成员时,构建第六类型数据包,所述第六类型数据包的本地数据文件中包括第一发言人数据;When the role type of the target participating member is the sixth type of conference member, construct a sixth type data package, the local data file of the sixth type data package includes the first speaker data;

在所述目标参会成员的角色类型为第七类型会议成员时,构建第七类型数据包,所述第七类型数据包的本地数据文件中包括第二发言人数据;When the role type of the target participating member is the seventh type of conference member, construct a seventh type data package, the local data file of the seventh type data package includes the second speaker data;

在所述目标参会成员的角色类型为第八类型会议成员时,构建第八类型数据包,所述第八类型数据包中无本地数据文件。When the role type of the target participant is the eighth type of conference member, an eighth type data package is constructed, and there is no local data file in the eighth type data package.

在本实施例中,为降低自治服务器的运行压力,由客户端完成设置每个参会成员的角色时的数据包的构建任务。其中,本地数据文件用于在会议过程中存储主席或发言人产生的音视频流,接收数据文件用于接收在会议过程中由主席或发言人发送的音视频流。In this embodiment, in order to reduce the operating pressure of the autonomous server, the client completes the task of constructing the data package when setting the role of each participant. Wherein, the local data file is used to store the audio and video stream generated by the chairman or the speaker during the meeting, and the receiving data file is used to receive the audio and video stream sent by the chairman or the speaker during the meeting.

具体地,如果一个参会成员同时是第一发言人和第二发言人,那么该参会成员的数据包的本地数据文件中应当包括用于存储第一发言人数据的子文件和用于存储第二发言人数据的子文件,由于该参会成员同时为第一发言人和第二发言人,因而在该参会成员发言人,其产生的音视频流可以同时存在在第一发言人数据的子文件和第二发言人数据的子文件中。其中,每个子文件中可以包括用于存储音频的部分,和用于存储视频的部分。如果一个参会成员既不是主席,也不是第一发言人或第二发言人,那么该参会成员为不具有发言权限的普通参会成员,数据包中只有接收数据文件,用于接收所有的主席、第一发言人或者第二发言人产生的音视频流。Specifically, if a participant is the first speaker and the second speaker at the same time, the local data file of the participant's data package should include a subfile for storing the data of the first speaker and a subfile for storing The sub-file of the second speaker’s data, since the participant is the first speaker and the second speaker at the same time, the audio and video stream generated by the participant’s speaker can also exist in the first speaker’s data in the subfile of and the subfile of the second speaker data. Wherein, each sub-file may include a part for storing audio and a part for storing video. If a participant is neither the chairman nor the first speaker or the second speaker, then the participant is an ordinary participant who does not have the right to speak. Audio and video streams generated by the chairman, first speaker, or second speaker.

本实施例中,由客户端完成原来的由自治服务器构建每个参会成员对应的角色类型的数据包的任务,能降低自治服务器的运行压力,同时保证视频会议的顺利进行。In this embodiment, the client completes the original task of the autonomous server constructing a data packet of the role type corresponding to each participant, which can reduce the operating pressure of the autonomous server and ensure the smooth progress of the video conference.

本申请还提供了另一种设置会议发言方角色的方法,如图2所示。图2是本申请一实施例示出的另一种设置会议发言方角色的方法的流程图。参照图2,本申请提供的另一种设置会议发言方角色的方法可以包括如下步骤:The present application also provides another method for setting the role of the conference speaker, as shown in FIG. 2 . Fig. 2 is a flow chart of another method for setting a speaker role in a conference according to an embodiment of the present application. Referring to Figure 2, another method for setting the role of the conference speaker provided by this application may include the following steps:

步骤S21:接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是所述客户端根据所述目标参会成员的信息确定的;Step S21: Receive the data packet sent by the terminal, the data packet is a data packet corresponding to the role type of the target participant, the data packet also includes the information of the target participant, the role type is the The client is determined according to the information of the target participant;

步骤S22:在所述数据包为正确类型数据包时,存储所述数据包;Step S22: when the data packet is of the correct type, store the data packet;

步骤S23:向所述终端发送所述目标参会成员的角色设置成功的响应信息。Step S23: Sending a response message indicating that the role of the target participant is successfully set to the terminal.

在本实施例中,自治服务器在接收到客户端发送的数据包后,判断数据包是否符合预设的数据包类型,如果符合,则存储该数据包,然后向客户端发送目标参会成员的角色设置成功的响应信息。In this embodiment, after receiving the data packet sent by the client, the autonomous server judges whether the data packet conforms to the preset data packet type, and if so, stores the data packet, and then sends the target participant's ID to the client. Response message of successful role setting.

结合以上实施例,在一种实施方式中,本申请的设置会议发言方角色的方法还可以包括:In combination with the above embodiments, in an implementation manner, the method for setting the role of the conference speaker of the present application may further include:

在参加会议的所有参会成员的角色设置成功后,且所述会议开始时,根据所有参会成员的角色类型,对所有参会成员的参会终端进行视频流的调度。After the roles of all the participants participating in the conference are successfully set, and when the conference starts, according to the role types of all the participants, video stream scheduling is performed on the terminals of all the participants.

具体地,对所有参会成员的参会终端进行视频流的调度可以包括:Specifically, the scheduling of video streams for the participating terminals of all participating members may include:

确定当前正在发言的参会成员的参会终端;Determine the participant terminal of the participant who is currently speaking;

获得与所述正在发言的参会成员对应的数据包中的本地数据文件;Obtain the local data file in the data packet corresponding to the speaking participant;

实时从所述本地数据文件中获得会议数据,按照预先根据所有参会成员的角色类型设置的调度规则,将所述会议数据发送给其他参会成员的参会终端,以使其他参会成员的参会终端将所述会议数据存储到对应的数据包中的接收数据文件中。Obtain meeting data from the local data file in real time, and send the meeting data to the participating terminals of other participating members according to the scheduling rule set in advance according to the role types of all participating members, so that the other participating members' The conference participating terminal stores the conference data in the received data file in the corresponding data packet.

在本实施例中,调度规则可以根据所有参会成员的角色类型灵活设置,例如可以设置所有参会成员的参会终端均可以接收主席的视频流和音频流,所有参会成员的参会终端均可以接收第一发言人的视频流,所有参会成员的参会终端均可以接收第二发言人的音频流等。根据该调度规则,在视频会议进行过程中,自治服务器可以获得当前正在发言的参会成员的参会终端产生的视频流和/或音频流并发送给其它的参会成员。由于当前正在发言的参会成员的参会终端产生的视频流和/或音频流会实时记录在该参会成员的角色类型对应的数据包的本地数据文件中,因而,自治服务器可以从该本地数据文件中获得视频流和/或音频流,发送给其它的参会成员的参会终端,其它的参会成员的参会终端可以将接收到的视频流和/或音频流存储在对应的数据包的接收数据文件中。In this embodiment, the scheduling rule can be flexibly set according to the role types of all participants. For example, it can be set that all participants' terminals can receive the chairman's video stream and audio stream, and all participants' terminals can receive the video stream and audio stream of the chairman. All can receive the video stream of the first speaker, and the terminals of all participants can receive the audio stream of the second speaker. According to the scheduling rule, during the video conference, the autonomous server can obtain the video stream and/or audio stream generated by the conference terminal of the conference member who is currently speaking and send it to other conference members. Since the video stream and/or audio stream generated by the participating terminal of the currently speaking participant will be recorded in real time in the local data file of the data packet corresponding to the role type of the participant, therefore, the autonomous server can start from the local Obtain the video stream and/or audio stream in the data file, and send it to the participating terminals of other conference members, and the conference terminals of other conference members can store the received video stream and/or audio stream in the corresponding data file in the received data file of the package.

示例地,假设某次视频会议有10个参会成员,分别为成员1-成员10,成员1为主席,成员2为第一发言人,成员3为第二发言人,调度规则为所有参会成员可以同时接收主席的视频流和音频流、所有参会成员可以接收第一发言人的视频流以及所有参会成员可以接收第二发言人的音频流。在视频会议进行过程中,如果自治服务器检测到当前时刻成员1正在发言,那么从成员1的参会终端的数据包的本地数据文件中获得视频流和音频流同时发送给成员2-成员10的参会终端,成员2-成员10的参会终端接收到视频流和音频流时,将其存储到接收数据文件的主席数据中;如果自治服务器检测到当前时刻成员2正在发言,那么从成员2的参会终端的数据包的本地数据文件中获得视频流,同时发送给成员1、成员3-成员10的参会终端,成员1、成员3-成员10的参会终端接收到视频流时,将其存储到接收数据文件的第一发言人数据中;如果自治服务器检测到当前时刻成员3正在发言,那么从成员3的参会终端的数据包的本地数据文件中获得音频流,同时发送给成员1、成员2、成员4-成员10的参会终端,成员1、成员2、成员4-成员10的参会终端接收到音频流时,将其存储到接收数据文件的第二发言人数据中。For example, suppose there are 10 participants in a video conference, namely member 1-member 10, member 1 is the chairperson, member 2 is the first speaker, member 3 is the second speaker, and the scheduling rule is that all participants Members can receive the chairman's video stream and audio stream at the same time, all participants can receive the video stream of the first speaker, and all participants can receive the audio stream of the second speaker. During the video conference, if the autonomous server detects that member 1 is speaking at the current moment, then the video stream and audio stream are obtained from the local data file of the data packet of the participant terminal of member 1 and sent to member 2-member 10 at the same time When the participating terminals of member 2-member 10 receive the video stream and audio stream, they are stored in the chairman data of the received data file; if the autonomous server detects that member 2 is speaking at the current moment, then from member 2 The video stream is obtained from the local data file of the data packet of the participating terminal, and sent to the participating terminals of member 1, member 3-member 10 at the same time, when the participating terminals of member 1, member 3-member 10 receive the video stream, Store it in the first speaker data of the receiving data file; if the autonomous server detects that member 3 is speaking at the current moment, then obtain the audio stream from the local data file of the data packet of the participant terminal of member 3, and send it to The participating terminals of member 1, member 2, member 4-member 10, when the participating terminals of member 1, member 2, member 4-member 10 receive the audio stream, store it in the second speaker data of the received data file middle.

图3是本申请一实施例示出的一种设置会议发言方角色的方法整体流程示意图。图4是本申请一实施例示出的另一种设置会议发言方角色的方法整体流程示意图。下面将结合图3和图4对本申请的设置会议发言方角色的方法做一个整体说明。Fig. 3 is a schematic flowchart of a method for setting a speaker role in a conference according to an embodiment of the present application. Fig. 4 is a schematic flowchart of another method for setting a conference speaker role according to an embodiment of the present application. The following will make an overall description of the method for setting the role of the conference speaker in this application with reference to FIG. 3 and FIG. 4 .

在图3中,某次视频会议共有N个参会成员,分别为成员1-成员N,客户端每次在获得一个成员后,首先判断该成员是否为主席,然后再判断是否为第一发言人(对应图3中的发1),最后判断是否为第二发言人(对应图3中的发2),总共有8种结果,分别为A类-H类,对应8种角色类型,根据这8种角色类型可以确定所有的成员的角色类型,在确定得到角色类型后,如果是第一次构建该种角色类型的数据包,则在构建后将数据包发送给自治服务器,如果不是第一次构建该种角色类型的数据包,则获得第一次构建得到的该种角色类型的数据包发送给自治服务器。In Figure 3, there are N participants in a certain video conference, which are member 1-member N. Each time the client obtains a member, it first judges whether the member is the chairman, and then judges whether it is the first speaker Person (corresponding to hair 1 in Figure 3), and finally judge whether it is the second speaker (corresponding to hair 2 in Figure 3), there are a total of 8 results, which are respectively A-H, corresponding to 8 types of roles, according to These 8 role types can determine the role types of all members. After the role type is determined, if it is the first time to construct the data packet of this role type, the data packet will be sent to the autonomous server after construction. If it is not the first Once the data packet of this role type is constructed, the data packet of this role type obtained for the first construction is sent to the autonomous server.

示例地,参照图4,客户端在某次获得一个成员后,判断得到该成员为主席,不是第一发言人,是第二发言人,那么确定该成员的角色类型为D类,如果是第一次构建D类数据包,则在构建后将数据包发送给自治服务器,如果不是第一次构建D类数据包,则获得第一次构建得到的D类数据包发送给自治服务器;再示例地,客户端在某次获得一个成员后,判断得到该成员不是主席,不是第一发言人,不是第二发言人,那么确定该成员的角色类型为H类,如果是第一次构建H类数据包,则在构建后将数据包发送给自治服务器,如果不是第一次构建H类数据包,则获得第一次构建得到的H类数据包发送给自治服务器。For example, referring to FIG. 4 , after obtaining a member, the client judges that the member is the chairman, not the first speaker, but the second speaker, and then determines that the role type of the member is class D. If it is the first speaker Build a class D data packet once, then send the data packet to the autonomous server after construction, if it is not the first time to construct a class D data packet, then get the class D data packet from the first construction and send it to the autonomous server; another example Specifically, after the client obtains a member at a certain time, it judges that the member is not the chairman, the first speaker, or the second speaker, then it is determined that the role type of the member is class H. If it is the first time to build class H data packet, then send the data packet to the autonomous server after construction, if it is not the first time to construct the H type data packet, then obtain the H type data packet constructed for the first time and send it to the autonomous server.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

本申请还提供了一种终端500,如图5所示。图5是本申请一实施例示出的一种终端的结构框图。参照图5,本申请的终端500可以包括:The present application also provides a terminal 500, as shown in FIG. 5 . Fig. 5 is a structural block diagram of a terminal shown in an embodiment of the present application. Referring to FIG. 5, the terminal 500 of the present application may include:

第一获得模块501,用于获得参加会议的所有参会成员的信息;The first obtaining module 501 is used to obtain the information of all participants participating in the conference;

第二获得模块502,用于根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员;The second obtaining module 502 is configured to obtain the role type of the target participant in the conference according to the information of all the participants, and the target participant is any one of the all participants. members;

第一发送模503,用于获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度。The first sending module 503 is used to obtain the data packet corresponding to the role type, and send the data packet to the autonomous server corresponding to the information of the target participant, so that the autonomous server can , performing video stream scheduling on the conference terminal of the target conference member according to the data packet.

可选地,所述终端500还包括:Optionally, the terminal 500 further includes:

构建模块,用于在未获得所述角色类型对应的数据包时,构建所述角色类型对应的数据包,将构建得到的数据包与所述目标参会成员的信息对应发送给所述自治服务器,并存储所述构建得到的数据包。A construction module, configured to construct a data packet corresponding to the role type when the data packet corresponding to the role type is not obtained, and send the constructed data packet corresponding to the information of the target participant to the autonomous server , and store the resulting package of builds.

可选地,所述第一发送模块503包括:Optionally, the first sending module 503 includes:

第一发送子模块,用于将所述目标参会成员的信息添加到所述数据包中,在添加成功后将所述数据包送给所述自治服务器。The first sending submodule is configured to add the information of the target participant to the data packet, and send the data packet to the autonomous server after the addition is successful.

可选地,所述第二获得模块502包括:Optionally, the second obtaining module 502 includes:

第一确定子模块,用于在所述目标参会成员是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第一类型会议成员;The first determination submodule is used to determine that the role type of the target participant is the first type of conference member when the target participant is the chairman, the first speaker, and the second speaker;

第二确定子模块,用于在所述目标参会成员是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第二类型会议成员;The second determination submodule is used to determine that the role type of the target participant is the second type of conference member when the target participant is the chairman, the first speaker, and not the second speaker;

第三确定子模块,用于在所述目标参会成员是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第三类型会议成员;The third determination submodule is used to determine that the role type of the target participant is the third type of conference member when the target participant is the chairman, not the first speaker, or the second speaker;

第四确定子模块,用于在所述目标参会成员是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第四类型会议成员;The fourth determination submodule is used to determine that the role type of the target participant is the fourth type of meeting member when the target participant is the chairman, not the first speaker, and not the second speaker;

第五确定子模块,用于在所述目标参会成员不是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第五类型会议成员;The fifth determination submodule is used to determine that the role type of the target participant is the fifth type of conference member when the target participant is not the chairman, is the first speaker, and is the second speaker;

第六确定子模块,用于在所述目标参会成员不是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第六类型会议成员;The sixth determination submodule is used to determine that the role type of the target participant is the sixth type of conference member when the target participant is not the chairman, the first speaker, and not the second speaker;

第七确定子模块,用于在所述目标参会成员不是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第七类型会议成员;The seventh determining submodule is used to determine that the role type of the target participant is the seventh type of meeting member when the target participant is not the chairman, the first speaker, or the second speaker;

第八确定子模块,用于在所述目标参会成员不是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第八类型会议成员。The eighth determination submodule is used to determine that the role type of the target participant is the eighth type of conference member when the target participant is not the chairman, the first speaker and the second speaker.

可选地,每一个所述角色类型对应的数据包中包括本地数据文件和接收数据文件,所述接收数据文件中包括主席数据、第一发言人数据以及第二发言人数据;所述构建模块包括:Optionally, each data package corresponding to the role type includes a local data file and a received data file, and the received data file includes chairman data, first speaker data, and second speaker data; the building module include:

第一构建子模块,用于在所述目标参会成员的角色类型为第一类型会议成员时,构建第一类型数据包,所述第一类型数据包的本地数据文件中包括主席数据、第一发言人数据以及第二发言人数据;The first construction submodule is used to construct a first type of data package when the role type of the target participant is a first type of conference member, and the local data file of the first type of data package includes chairman data, the first First speaker data and second speaker data;

第二构建子模块,用于在所述目标参会成员的角色类型为第二类型会议成员时,构建第二类型数据包,所述第二类型数据包的本地数据文件中包括主席数据和第一发言人数据;The second construction submodule is used to construct a second type of data package when the role type of the target participating member is a second type of conference member, and the local data file of the second type of data package includes the chairman data and the first a speaker data;

第三构建子模块,用于在所述目标参会成员的角色类型为第三类型会议成员时,构建第三类型数据包,所述第三类型数据包的本地数据文件中包括主席数据和第二发言人数据;The third construction submodule is used to construct a third type of data package when the role type of the target participating member is a third type of conference member, and the local data file of the third type of data package includes the chairman data and the first Data of the second speaker;

第四构建子模块,用于在所述目标参会成员的角色类型为第四类型会议成员时,构建第四类型数据包,所述第四类型数据包的本地数据文件中包括主席数据;The fourth construction submodule is used to construct a fourth type of data package when the role type of the target participant is a fourth type of conference member, and the local data file of the fourth type of data package includes chairman data;

第五构建子模块,用于在所述目标参会成员的角色类型为第五类型会议成员时,构建第五类型数据包,所述第五类型数据包的本地数据文件中包括第一发言人数据和第二发言人数据;The fifth construction submodule is used to construct a fifth type of data package when the role type of the target participant is a fifth type of conference member, and the local data file of the fifth type of data package includes the first speaker data and second speaker data;

第六构建子模块,用于在所述目标参会成员的角色类型为第六类型会议成员时,构建第六类型数据包,所述第六类型数据包的本地数据文件中包括第一发言人数据;The sixth construction submodule is used to construct a sixth type of data package when the role type of the target participant is a sixth type of conference member, and the local data file of the sixth type data package includes the first speaker data;

第七构建子模块,用于在所述目标参会成员的角色类型为第七类型会议成员时,构建第七类型数据包,所述第七类型数据包的本地数据文件中包括第二发言人数据;The seventh construction submodule is used to construct the seventh type data package when the role type of the target participant is the seventh type conference member, and the local data file of the seventh type data package includes the second speaker data;

第八构建子模块,用于在所述目标参会成员的角色类型为第八类型会议成员时,构建第八类型数据包,所述第八类型数据包中无本地数据文件。The eighth construction sub-module is configured to construct an eighth type data package when the role type of the target participant is an eighth type conference member, and the eighth type data package does not contain a local data file.

基于同一发明构思,本申请提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现本申请上述任一实施例所述的设置会议发言方角色的方法中的步骤。Based on the same inventive concept, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. Steps in the method of setting the conference speaker role.

基于同一发明构思,本申请提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请上述任一实施例所述的设置会议发言方角色的方法中的步骤。Based on the same inventive concept, the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for setting the role of the conference speaker as described in any of the above-mentioned embodiments of the present application is implemented. A step of.

本申请还提供了一种服务器600,如图6所示。图6是本申请一实施例示出的一种服务器的结构框图。参照图6,本申请的服务器600可以包括:The present application also provides a server 600, as shown in FIG. 6 . Fig. 6 is a structural block diagram of a server according to an embodiment of the present application. Referring to FIG. 6, the server 600 of the present application may include:

接收模块601,用于接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是所述客户端根据所述目标参会成员的信息确定的;The receiving module 601 is configured to receive a data packet sent by a terminal, the data packet is a data packet corresponding to a role type of a target participant, and the data packet further includes information of the target participant, and the role The type is determined by the client according to the information of the target participant;

存储模块602,用于在所述数据包为正确类型数据包时,存储所述数据包;A storage module 602, configured to store the data packet when the data packet is a correct type of data packet;

第二发送模块603,用于向所述终端发送所述目标参会成员的角色设置成功的响应信息。The second sending module 603 is configured to send response information indicating that the role of the target participant is successfully set to the terminal.

可选地,所述服务器600还包括:Optionally, the server 600 also includes:

调度模块,用于在参加会议的所有参会成员的角色设置成功后,且所述会议开始时,根据所有参会成员的角色类型,对所有参会成员的参会终端进行视频流的调度。The scheduling module is used to schedule the video streams of the terminals of all the participants according to the role types of all the participants after the roles of all the participants in the conference are set successfully and when the conference starts.

可选地,所述调度模块包括:Optionally, the scheduling module includes:

第九确定子模块,用于确定当前正在发言的参会成员的参会终端;The ninth determining submodule is used to determine the participating terminals of the participating members who are currently speaking;

第三获得模块,用于获得与所述正在发言的参会成员对应的数据包中的本地数据文件;The third obtaining module is used to obtain the local data file in the data packet corresponding to the speaking participant;

调度子模块,用于实时从所述本地数据文件中获得会议数据,按照预先根据所有参会成员的角色类型设置的调度规则,将所述会议数据发送给其他参会成员的参会终端,以使其他参会成员的参会终端将所述会议数据存储到对应的数据包中的接收数据文件中。The scheduling submodule is used to obtain meeting data from the local data file in real time, and send the meeting data to the participating terminals of other participating members according to the scheduling rules set in advance according to the role types of all participating members, so as to The participating terminals of other participating members store the conference data in the received data file in the corresponding data packet.

基于同一发明构思,本申请提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现本申请上述任一实施例所述的设置会议发言方角色的方法中的步骤。Based on the same inventive concept, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. Steps in the method of setting the conference speaker role.

基于同一发明构思,本申请提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请上述任一实施例所述的设置会议发言方角色的方法中的步骤。Based on the same inventive concept, the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for setting the role of the conference speaker as described in any of the above-mentioned embodiments of the present application is implemented. A step of.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

视联网是网络发展的重要里程碑,是一个实时网络,能够实现高清视频实时传输,将众多互联网应用推向高清视频化,高清面对面。The Internet of Vision is an important milestone in the development of the network. It is a real-time network that can realize real-time transmission of high-definition video, and push many Internet applications to high-definition video, high-definition face-to-face.

视联网采用实时高清视频交换技术,可以在一个网络平台上将所需的服务,如高清视频会议、视频监控、智能化监控分析、应急指挥、数字广播电视、延时电视、网络教学、现场直播、VOD点播、电视邮件、个性录制(PVR)、内网(自办)频道、智能化视频播控、信息发布等数十种视频、语音、图片、文字、通讯、数据等服务全部整合在一个系统平台,通过电视或电脑实现高清品质视频播放。The Internet of View adopts real-time high-definition video exchange technology, which can provide required services on one network platform, such as high-definition video conferencing, video surveillance, intelligent monitoring and analysis, emergency command, digital broadcast TV, time-lapse TV, online teaching, live broadcast , VOD on demand, TV mail, personalized recording (PVR), intranet (self-managed) channel, intelligent video broadcast control, information release and other dozens of video, voice, picture, text, communication, data and other services are all integrated in one System platform, realize high-definition quality video playback through TV or computer.

为使本领域技术人员更好地理解本发明实施例,以下对视联网进行介绍:In order to enable those skilled in the art to better understand the embodiments of the present invention, the Internet of Things is introduced as follows:

视联网所应用的部分技术如下所述:Some of the technologies applied in the Internet of Things are as follows:

网络技术(Network Technology)Network Technology

视联网的网络技术创新改良了传统以太网(Ethernet),以面对网络上潜在的巨大视频流量。不同于单纯的网络分组包交换(Packet Switching)或网络电路交换(CircuitSwitching),视联网技术采用Packet Switching满足Streaming需求。视联网技术具备分组交换的灵活、简单和低价,同时具备电路交换的品质和安全保证,实现了全网交换式虚拟电路,以及数据格式的无缝连接。The network technology innovation of the Internet of View has improved the traditional Ethernet (Ethernet) to face the potentially huge video traffic on the network. Different from pure network packet switching (Packet Switching) or network circuit switching (Circuit Switching), video networking technology uses Packet Switching to meet Streaming requirements. The Internet of Vision technology has the flexibility, simplicity and low price of packet switching, and at the same time has the quality and security guarantee of circuit switching, realizing the seamless connection of switched virtual circuits and data formats throughout the network.

交换技术(Switching Technology)Switching Technology

视联网采用以太网的异步和包交换两个优点,在全兼容的前提下消除了以太网缺陷,具备全网端到端无缝连接,直通用户终端,直接承载IP数据包。用户数据在全网范围内不需任何格式转换。视联网是以太网的更高级形态,是一个实时交换平台,能够实现目前互联网无法实现的全网大规模高清视频实时传输,将众多网络视频应用推向高清化、统一化。Video networking adopts the two advantages of Ethernet asynchronous and packet switching, eliminates the defects of Ethernet under the premise of full compatibility, has end-to-end seamless connection of the whole network, directly connects to user terminals, and directly carries IP data packets. User data does not require any format conversion within the entire network. Video networking is a more advanced form of Ethernet. It is a real-time switching platform, which can realize the real-time transmission of large-scale high-definition video in the whole network that cannot be realized by the Internet at present, and push many network video applications to high-definition and unification.

服务器技术(Server Technology)Server Technology

视联网和统一视频平台上的服务器技术不同于传统意义上的服务器,它的流媒体传输是建立在面向连接的基础上,其数据处理能力与流量、通讯时间无关,单个网络层就能够包含信令及数据传输。对于语音和视频业务来说,视联网和统一视频平台流媒体处理的复杂度比数据处理简单许多,效率比传统服务器大大提高了百倍以上。The server technology on the Internet of View and unified video platform is different from the server in the traditional sense. Its streaming media transmission is based on connection-oriented, and its data processing capability has nothing to do with traffic and communication time. A single network layer can contain information command and data transmission. For voice and video services, the complexity of video streaming and unified video platform streaming media processing is much simpler than data processing, and the efficiency is greatly improved by more than 100 times compared with traditional servers.

储存器技术(Storage Technology)Storage Technology

统一视频平台的超高速储存器技术为了适应超大容量和超大流量的媒体内容而采用了最先进的实时操作系统,将服务器指令中的节目信息映射到具体的硬盘空间,媒体内容不再经过服务器,瞬间直接送达到用户终端,用户等待一般时间小于0.2秒。最优化的扇区分布大大减少了硬盘磁头寻道的机械运动,资源消耗仅占同等级IP互联网的20%,但产生大于传统硬盘阵列3倍的并发流量,综合效率提升10倍以上。The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the super-large capacity and super-large-flow media content, and maps the program information in the server command to the specific hard disk space, and the media content no longer passes through the server. It is delivered directly to the user terminal in an instant, and the user generally waits for less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical movement of the hard disk head seeking. The resource consumption is only 20% of that of IP Internet at the same level, but the concurrent traffic generated is 3 times larger than that of the traditional hard disk array, and the overall efficiency is increased by more than 10 times.

网络安全技术(Network Security Technology)Network Security Technology

视联网的结构性设计通过每次服务单独许可制、设备与用户数据完全隔离等方式从结构上彻底根除了困扰互联网的网络安全问题,一般不需要杀毒程序、防火墙,杜绝了黑客与病毒的攻击,为用户提供结构性的无忧安全网络。The structural design of the Internet of View completely eradicates the network security problems that plague the Internet through the individual licensing system for each service, complete isolation of equipment and user data, and generally does not require anti-virus programs and firewalls, preventing hackers and virus attacks , to provide users with a structured worry-free security network.

服务创新技术(Service Innovation Technology)Service Innovation Technology

统一视频平台将业务与传输融合在一起,不论是单个用户、私网用户还是一个网络的总合,都不过是一次自动连接。用户终端、机顶盒或PC直接连到统一视频平台,获得丰富多彩的各种形态的多媒体视频服务。统一视频平台采用“菜谱式”配表模式来替代传统的复杂应用编程,可以使用非常少的代码即可实现复杂的应用,实现“无限量”的新业务创新。The unified video platform integrates business and transmission together, whether it is a single user, a private network user or the sum of a network, it is just an automatic connection. User terminals, set-top boxes or PCs are directly connected to the unified video platform to obtain rich and colorful multimedia video services in various forms. The unified video platform adopts the "recipe-style" table matching mode to replace the traditional complex application programming. It can realize complex applications with very little code and realize "unlimited" new business innovations.

视联网的组网如下所述:The networking of the Internet of View is as follows:

视联网是一种集中控制的网络结构,该网络可以是树型网、星型网、环状网等等类型,但在此基础上网络中需要有集中控制节点来控制整个网络。Vision networking is a network structure with centralized control. The network can be a tree network, star network, ring network, etc., but on this basis, a centralized control node is required in the network to control the entire network.

图7是本申请一实施例示出的一种视联网的组网示意图。如图7所示,视联网分为接入网和城域网两部分。Fig. 7 is a schematic diagram of networking of a video network according to an embodiment of the present application. As shown in Figure 7, the Internet of Things is divided into two parts: the access network and the metropolitan area network.

接入网部分的设备主要可以分为3类:节点服务器,接入交换机,终端(包括各种机顶盒、编码板、存储器等)。节点服务器与接入交换机相连,接入交换机可以与多个终端相连,并可以连接以太网。The equipment in the access network can be mainly divided into three categories: node servers, access switches, and terminals (including various set-top boxes, encoding boards, memory, etc.). The node server is connected with the access switch, and the access switch can be connected with multiple terminals and can be connected with Ethernet.

其中,节点服务器是接入网中起集中控制功能的节点,可控制接入交换机和终端。节点服务器可直接与接入交换机相连,也可以直接与终端相连。Wherein, the node server is a node with centralized control function in the access network, which can control the access switches and terminals. The node server can be directly connected to the access switch, and can also be directly connected to the terminal.

类似的,城域网部分的设备也可以分为3类:城域服务器,节点交换机,节点服务器。城域服务器与节点交换机相连,节点交换机可以与多个节点服务器相连。Similarly, the devices in the MAN part can also be divided into three categories: MAN servers, node switches, and node servers. The metro server is connected to the node switch, and the node switch can be connected to multiple node servers.

其中,节点服务器即为接入网部分的节点服务器,即节点服务器既属于接入网部分,又属于城域网部分。Wherein, the node server is the node server of the access network part, that is, the node server belongs to both the access network part and the metropolitan area network part.

城域服务器是城域网中起集中控制功能的节点,可控制节点交换机和节点服务器。城域服务器可直接连接节点交换机,也可直接连接节点服务器。The metropolitan area server is a node with a centralized control function in the metropolitan area network, which can control node switches and node servers. The metro server can be directly connected to the node switch, or directly connected to the node server.

由此可见,整个视联网络是一种分层集中控制的网络结构,而节点服务器和城域服务器下控制的网络可以是树型、星型、环状等各种结构。It can be seen that the entire Vision Network is a layered centralized control network structure, while the network controlled by the node server and the metro server can be in various structures such as tree, star, and ring.

形象地称,接入网部分可以组成统一视频平台(虚线圈中部分),多个统一视频平台可以组成视联网;每个统一视频平台可以通过城域以及广域视联网互联互通。Vividly speaking, the access network part can form a unified video platform (the part in the dotted circle), and multiple unified video platforms can form a video network; each unified video platform can be interconnected through the metropolitan area and the wide area video network.

视联网设备分类Classification of Internet of Things devices

1.1本发明实施例的视联网中的设备主要可以分为3类:服务器,交换机(包括以太网网关),终端(包括各种机顶盒,编码板,存储器等)。视联网整体上可以分为城域网(或者国家网、全球网等)和接入网。1.1 The devices in the Internet of View in the embodiment of the present invention can be mainly divided into three categories: servers, switches (including Ethernet gateways), terminals (including various set-top boxes, encoding boards, memory, etc.). As a whole, the Internet of Things can be divided into a metropolitan area network (or a national network, a global network, etc.) and an access network.

1.2其中接入网部分的设备主要可以分为3类:节点服务器,接入交换机(包括以太网网关),终端(包括各种机顶盒,编码板,存储器等)。1.2 The equipment in the access network can be mainly divided into three categories: node servers, access switches (including Ethernet gateways), terminals (including various set-top boxes, encoding boards, storage, etc.).

各接入网设备的具体硬件结构为:The specific hardware structure of each access network device is:

节点服务器:Node server:

图8是本申请一实施例示出的一种节点服务器的硬件结构示意图。如图8所示,主要包括网络接口模块201、交换引擎模块202、CPU模块203、磁盘阵列模块204;Fig. 8 is a schematic diagram of a hardware structure of a node server shown in an embodiment of the present application. As shown in Figure 8, it mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;

其中,网络接口模块201,CPU模块203、磁盘阵列模块204进来的包均进入交换引擎模块202;交换引擎模块202对进来的包进行查地址表205的操作,从而获得包的导向信息;并根据包的导向信息把该包存入对应的包缓存器206的队列;如果包缓存器206的队列接近满,则丢弃;交换引擎模202轮询所有包缓存器队列,如果满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。磁盘阵列模块204主要实现对硬盘的控制,包括对硬盘的初始化、读写等操作;CPU模块203主要负责与接入交换机、终端(图中未示出)之间的协议处理,对地址表205(包括下行协议包地址表、上行协议包地址表、数据包地址表)的配置,以及,对磁盘阵列模块204的配置。Wherein, network interface module 201, the bag that CPU module 203, disk array module 204 come in all enters switching engine module 202; The guide information of packet stores this packet into the queue of corresponding packet buffer 206; If the queue of packet buffer 206 is close to full, then discards; Switching engine module 202 polls all packet buffer queues, and forwards if the following conditions are met: 1) The sending buffer of the port is not full; 2) The queue packet counter is greater than zero. Disk array module 204 mainly realizes the control to hard disk, comprises operations such as the initialization of hard disk, read and write; (including downlink protocol packet address table, uplink protocol packet address table, and data packet address table), and configuration of the disk array module 204 .

接入交换机:Access switch:

图9是本申请一实施例示出的一种接入交换机的硬件结构示意图。如图9所示,主要包括网络接口模块(下行网络接口模块301、上行网络接口模块302)、交换引擎模块303和CPU模块304;Fig. 9 is a schematic diagram of a hardware structure of an access switch shown in an embodiment of the present application. As shown in Figure 9, mainly include network interface module (downlink network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;

其中,下行网络接口模块301进来的包(上行数据)进入包检测模块305;包检测模块305检测包的目地地址(DA)、源地址(SA)、数据包类型及包长度是否符合要求,如果符合,则分配相应的流标识符(stream-id),并进入交换引擎模块303,否则丢弃;上行网络接口模块302进来的包(下行数据)进入交换引擎模块303;CPU模块304进来的数据包进入交换引擎模块303;交换引擎模块303对进来的包进行查地址表306的操作,从而获得包的导向信息;如果进入交换引擎模块303的包是下行网络接口往上行网络接口去的,则结合流标识符(stream-id)把该包存入对应的包缓存器307的队列;如果该包缓存器307的队列接近满,则丢弃;如果进入交换引擎模块303的包不是下行网络接口往上行网络接口去的,则根据包的导向信息,把该数据包存入对应的包缓存器307的队列;如果该包缓存器307的队列接近满,则丢弃。Wherein, the packet (upstream data) that the downstream network interface module 301 comes in enters the packet detection module 305; Whether the destination address (DA), source address (SA), data packet type and packet length of the packet detection module 305 detection packet meet the requirements, if Meet, then distribute corresponding flow identifier (stream-id), and enter switching engine module 303, otherwise discard; The packet (downstream data) that upstream network interface module 302 comes in enters switching engine module 303; The data packet that CPU module 304 comes in Enter switching engine module 303; Switching engine module 303 carries out the operation of looking into address table 306 to the bag that comes in, thereby obtains the guiding information of packet; If the bag that enters switching engine module 303 is that downlink network interface goes to uplink network interface, then combines Flow identifier (stream-id) stores this packet into the queue of corresponding packet cache 307; If the queue of this packet cache 307 is close to full, then discards; If the packet that enters switching engine module 303 is not downlink network interface, goes up If the data packet is sent to the network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the direction information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.

交换引擎模块303轮询所有包缓存器队列,在本发明实施例中分两种情形:Switching engine module 303 polls all packet buffer queues, divides two kinds of situations in the embodiment of the present invention:

如果该队列是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零;3)获得码率控制模块产生的令牌;If the queue goes from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port sending buffer is not full; 2) the queue packet counter is greater than zero; 3) the token generated by the code rate control module is obtained ;

如果该队列不是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。If the queue does not go from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the sending buffer of the port is not full; 2) the packet counter of the queue is greater than zero.

码率控制模块208是由CPU模块204来配置的,在可编程的间隔内对所有下行网络接口往上行网络接口去的包缓存器队列产生令牌,用以控制上行转发的码率。The code rate control module 208 is configured by the CPU module 204 to generate tokens for all packet buffer queues going from the downlink network interface to the uplink network interface within a programmable interval to control the uplink forwarding code rate.

CPU模块304主要负责与节点服务器之间的协议处理,对地址表306的配置,以及,对码率控制模块308的配置。The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306 , and configuration of the code rate control module 308 .

以太网协转网关 Ethernet protocol conversion gateway :

图10是本申请一实施例示出的一种以太网协转网关的硬件结构示意图。如图10所示,主要包括网络接口模块(下行网络接口模块401、上行网络接口模块402)、交换引擎模块403、CPU模块404、包检测模块405、码率控制模块408、地址表406、包缓存器407和MAC添加模块409、MAC删除模块410。Fig. 10 is a schematic diagram of a hardware structure of an Ethernet protocol conversion gateway shown in an embodiment of the present application. As shown in Figure 10, it mainly includes a network interface module (downlink network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, code rate control module 408, address table 406, packet Buffer 407 and MAC adding module 409 , MAC deleting module 410 .

其中,下行网络接口模块401进来的数据包进入包检测模块405;包检测模块405检测数据包的以太网MAC DA、以太网MAC SA、以太网length or frame type、视联网目地地址DA、视联网源地址SA、视联网数据包类型及包长度是否符合要求,如果符合则分配相应的流标识符(stream-id);然后,由MAC删除模块410减去MAC DA、MAC SA、length or frame type(2byte),并进入相应的接收缓存,否则丢弃;Wherein, the data packet coming in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects the Ethernet MAC DA, Ethernet MAC SA, Ethernet length or frame type, visual networking destination address DA, visual networking Source address SA, depending on whether the network data packet type and packet length meet the requirements, if so, assign the corresponding stream identifier (stream-id); then, subtract MAC DA, MAC SA, length or frame type by the MAC deletion module 410 (2byte), and enter the corresponding receiving buffer, otherwise discard;

下行网络接口模块401检测该端口的发送缓存,如果有包则根据包的视联网目地地址DA获知对应的终端的以太网MAC DA,添加终端的以太网MAC DA、以太网协转网关的MACSA、以太网length or frame type,并发送。The downlink network interface module 401 detects the sending buffer of the port, if there is a packet, the Ethernet MAC DA of the corresponding terminal is known according to the visual network destination address DA of the packet, and the Ethernet MAC DA of the terminal, the MACSA of the Ethernet protocol conversion gateway, and the MACSA of the Ethernet protocol conversion gateway are added. Ethernet length or frame type, and send.

以太网协转网关中其他模块的功能与接入交换机类似。The functions of other modules in the Ethernet protocol conversion gateway are similar to those of the access switch.

终端:terminal:

主要包括网络接口模块、业务处理模块和CPU模块;例如,机顶盒主要包括网络接口模块、视音频编解码引擎模块、CPU模块;编码板主要包括网络接口模块、视音频编码引擎模块、CPU模块;存储器主要包括网络接口模块、CPU模块和磁盘阵列模块。It mainly includes a network interface module, a business processing module and a CPU module; for example, a set-top box mainly includes a network interface module, an video and audio codec engine module, and a CPU module; an encoding board mainly includes a network interface module, an video and audio encoding engine module, and a CPU module; It mainly includes network interface module, CPU module and disk array module.

1.3城域网部分的设备主要可以分为2类:节点服务器,节点交换机,城域服务器。其中,节点交换机主要包括网络接口模块、交换引擎模块和CPU模块;城域服务器主要包括网络接口模块、交换引擎模块和CPU模块构成。1.3 The equipment of the metropolitan area network can be mainly divided into two categories: node server, node switch, and metropolitan area server. Among them, the node switch mainly includes a network interface module, a switching engine module and a CPU module; the metro server mainly includes a network interface module, a switching engine module and a CPU module.

2、视联网数据包定义2. Definition of Internet of Vision data packets

2.1接入网数据包定义2.1 Definition of access network data packet

接入网的数据包主要包括以下几部分:目的地址(DA)、源地址(SA)、保留字节、payload(PDU)、CRC。The data packet of the access network mainly includes the following parts: destination address (DA), source address (SA), reserved bytes, payload (PDU), and CRC.

如下表所示,接入网的数据包主要包括以下几部分:As shown in the table below, the data packets of the access network mainly include the following parts:

DADA SASA ReservedReserved PayloadPayload CRCCRC

其中:in:

目的地址(DA)由8个字节(byte)组成,第一个字节表示数据包的类型(例如各种协议包、组播数据包、单播数据包等),最多有256种可能,第二字节到第六字节为城域网地址,第七、第八字节为接入网地址;The destination address (DA) consists of 8 bytes (byte), the first byte indicates the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are up to 256 possibilities, The second byte to the sixth byte is the address of the metropolitan area network, and the seventh and eighth bytes are the address of the access network;

源地址(SA)也是由8个字节(byte)组成,定义与目的地址(DA)相同;The source address (SA) is also composed of 8 bytes (byte), and the definition is the same as that of the destination address (DA);

保留字节由2个字节组成;Reserved bytes consist of 2 bytes;

payload部分根据不同的数据报的类型有不同的长度,如果是各种协议包的话是64个字节,如果是单组播数据包话是32+1024=1056个字节,当然并不仅仅限于以上2种;The payload part has different lengths according to different datagram types. If it is a variety of protocol packets, it is 64 bytes. If it is a single multicast data packet, it is 32+1024=1056 bytes. Of course, it is not limited to Above 2 types;

CRC有4个字节组成,其计算方法遵循标准的以太网CRC算法。CRC consists of 4 bytes, and its calculation method follows the standard Ethernet CRC algorithm.

2.2城域网数据包定义2.2 MAN packet definition

城域网的拓扑是图型,两个设备之间可能有2种、甚至2种以上的连接,即节点交换机和节点服务器、节点交换机和节点交换机、节点交换机和节点服务器之间都可能超过2种连接。但是,城域网设备的城域网地址却是唯一的,为了精确描述城域网设备之间的连接关系,在本发明实施例中引入参数:标签,来唯一描述一个城域网设备。The topology of the metropolitan area network is a graph. There may be two or even more than two types of connections between two devices, that is, there may be more than 2 connections between node switches and node servers, node switches and node switches, and node switches and node servers. kind of connection. However, the MAN address of the MAN device is unique. In order to accurately describe the connection relationship between MAN devices, a parameter: label is introduced in the embodiment of the present invention to uniquely describe a MAN device.

本说明书中标签的定义和MPLS(Multi-Protocol Label Switch,多协议标签交换)的标签的定义类似,假设设备A和设备B之间有两个连接,那么数据包从设备A到设备B就有2个标签,数据包从设备B到设备A也有2个标签。标签分入标签、出标签,假设数据包进入设备A的标签(入标签)是0x0000,这个数据包离开设备A时的标签(出标签)可能就变成了0x0001。城域网的入网流程是集中控制下的入网过程,也就意味着城域网的地址分配、标签分配都是由城域服务器主导的,节点交换机、节点服务器都是被动的执行而已,这一点与MPLS的标签分配是不同的,MPLS的标签分配是交换机、服务器互相协商的结果。The definition of labels in this manual is similar to the definition of labels in MPLS (Multi-Protocol Label Switch, Multi-Protocol Label Switching). Assuming that there are two connections between device A and device B, then the data packets from device A to device B have 2 labels, the packet from device B to device A also has 2 labels. The label is divided into an incoming label and an outgoing label. Assuming that the label (incoming label) of the data packet entering device A is 0x0000, the label (outgoing label) of the data packet when it leaves device A may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, which means that the address allocation and label allocation of the metropolitan area network are all dominated by the metropolitan area server, and the node switches and node servers are all passively executed. Different from MPLS label allocation, MPLS label allocation is the result of mutual negotiation between switches and servers.

如下表所示,城域网的数据包主要包括以下几部分:As shown in the table below, the data packet of the MAN mainly includes the following parts:

DADA SASA ReservedReserved 标签Label PayloadPayload CRCCRC

即目的地址(DA)、源地址(SA)、保留字节(Reserved)、标签、payload(PDU)、CRC。其中,标签的格式可以参考如下定义:标签是32bit,其中高16bit保留,只用低16bit,它的位置是在数据包的保留字节和payload之间。That is, destination address (DA), source address (SA), reserved byte (Reserved), label, payload (PDU), and CRC. Among them, the format of the label can refer to the following definition: the label is 32bit, of which the high 16bit is reserved, and only the low 16bit is used, and its position is between the reserved byte of the data packet and the payload.

基于视联网的上述特性,提出了本发明实施例的核心构思之一,遵循视联网的协议,在通过本实施例的设置会议发言方角色的方法设置每个参会成员的角色时,首先获得参加会议的所有参会成员的信息,然后根据所有参会成员的信息,依次获得每一个参会成员在会议中的角色类型,在确定一个参会成员在会议中的角色类型后,直接获得该角色类型已经存储的构建好的数据包,将该数据包和该参会成员的信息一并发送给自治服务器,以使自治服务器在会议过程中根据该数据包对该参会成员进行视频流的调度。Based on the above-mentioned characteristics of the Internet of Vision, one of the core ideas of the embodiment of the present invention is proposed. Following the protocol of the Internet of Vision, when setting the role of each participant through the method of setting the role of the conference speaker in this embodiment, first obtain The information of all the participants who participated in the meeting, and then according to the information of all the participants, obtain the role type of each participant in the meeting in turn, after determining the role type of a participant in the meeting, directly obtain the The constructed data package that has been stored by the role type, and send the data package and the information of the participant to the autonomous server, so that the autonomous server can perform video streaming of the participant according to the data package during the meeting. scheduling.

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

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

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

以上对本发明所提供的一种设置会议发言方角色的方法、终端、服务器、设备及介质,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, terminal, server, equipment and media provided by the present invention for setting the role of the conference speaker have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The above embodiments The description is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, As stated above, the content of this specification should not be construed as limiting the present invention.

Claims (14)

1.一种设置会议发言方角色的方法,其特征在于,包括:1. A method for setting the role of a conference speaker, characterized in that, comprising: 获得参加会议的所有参会成员的信息;Obtain the information of all participants participating in the meeting; 根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员;Obtain the role type of the target participant in the meeting according to the information of all the participants, the target participant is any one of the participants; 检测是否存在所述角色类型对应的数据包,若存在,获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度,其中,会议角色包括:主席、第一发言人以及第二发言人,根据每个参会成员的会议角色,确定所述参会成员所属的角色类型。Detecting whether there is a data packet corresponding to the role type, if there is, obtaining the data packet corresponding to the role type, and sending the data packet to the autonomous server corresponding to the information of the target participant, so that the autonomous During the conference, the server schedules video streams for the conference terminals of the target participants according to the data packets, wherein the conference roles include: chairman, first speaker, and second speaker, and according to each participant The meeting role of the meeting member is determined to determine the role type to which the meeting member belongs. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 在未获得所述角色类型对应的数据包时,构建所述角色类型对应的数据包,将构建得到的数据包与所述目标参会成员的信息对应发送给所述自治服务器,并存储所述构建得到的数据包。When the data packet corresponding to the role type is not obtained, construct the data packet corresponding to the role type, send the constructed data packet corresponding to the information of the target participant to the autonomous server, and store the Build the resulting packet. 3.根据权利要求2所述的方法,其特征在于,将所述数据包与所述目标参会成员的信息对应发送给所述自治服务器,包括:3. The method according to claim 2, wherein sending the data packet to the autonomous server corresponding to the information of the target participant includes: 将所述目标参会成员的信息添加到所述数据包中,在添加成功后将所述数据包送给所述自治服务器。The information of the target participant is added to the data packet, and the data packet is sent to the autonomous server after the addition is successful. 4.根据权利要求1所述的方法,其特征在于,根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,包括:4. The method according to claim 1, wherein, according to the information of all the participating members, obtaining the role type of the target participating members in the meeting includes: 在所述目标参会成员是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第一类型会议成员;When the target participant is the chairman, the first speaker, and the second speaker, determine that the role type of the target participant is the first type of meeting member; 在所述目标参会成员是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第二类型会议成员;When the target participant is the chairman, the first speaker and not the second speaker, determine that the role type of the target participant is the second type of meeting member; 在所述目标参会成员是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第三类型会议成员;When the target participant is the chairman, not the first speaker, or the second speaker, determine that the role type of the target participant is the third type of conference member; 在所述目标参会成员是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第四类型会议成员;When the target participant is the chairman, not the first speaker, and not the second speaker, determine that the role type of the target participant is the fourth type of meeting member; 在所述目标参会成员不是主席、是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第五类型会议成员;When the target participant is not the chairman, the first speaker, or the second speaker, determine that the role type of the target participant is the fifth type of meeting member; 在所述目标参会成员不是主席、是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第六类型会议成员;When the target participant is not the chairman, the first speaker and not the second speaker, determine that the role type of the target participant is the sixth type of meeting member; 在所述目标参会成员不是主席、不是第一发言人以及是第二发言人时,确定所述目标参会成员的角色类型为第七类型会议成员;When the target participant is not the chairman, the first speaker, or the second speaker, determine that the role type of the target participant is the seventh type of meeting member; 在所述目标参会成员不是主席、不是第一发言人以及不是第二发言人时,确定所述目标参会成员的角色类型为第八类型会议成员。When the target conference member is not the chairman, not the first speaker, and not the second speaker, determine that the role type of the target conference member is the eighth type of conference member. 5.根据权利要求4所述的方法,其特征在于,每一个所述角色类型对应的数据包中包括本地数据文件和接收数据文件,所述接收数据文件中包括主席数据、第一发言人数据以及第二发言人数据;5. The method according to claim 4, wherein each data packet corresponding to the role type includes a local data file and a received data file, and the received data file includes chairman data, first speaker data and second speaker data; 构建所述角色类型对应的数据包,包括:Construct the data package corresponding to the role type, including: 在所述目标参会成员的角色类型为第一类型会议成员时,构建第一类型数据包,所述第一类型数据包的本地数据文件中包括主席数据、第一发言人数据以及第二发言人数据;When the role type of the target participating member is the first type of meeting member, construct the first type of data package, the local data file of the first type of data package includes chairman data, first speaker data and second speech personal data; 在所述目标参会成员的角色类型为第二类型会议成员时,构建第二类型数据包,所述第二类型数据包的本地数据文件中包括主席数据和第一发言人数据;When the role type of the target participating member is a second type of conference member, construct a second type of data package, the local data file of the second type of data package includes chairman data and first speaker data; 在所述目标参会成员的角色类型为第三类型会议成员时,构建第三类型数据包,所述第三类型数据包的本地数据文件中包括主席数据和第二发言人数据;When the role type of the target participating member is a third type of conference member, a third type of data package is constructed, and the local data file of the third type of data package includes chairman data and second speaker data; 在所述目标参会成员的角色类型为第四类型会议成员时,构建第四类型数据包,所述第四类型数据包的本地数据文件中包括主席数据;When the role type of the target participating member is a fourth type of conference member, construct a fourth type of data package, the local data file of the fourth type of data package includes chairman data; 在所述目标参会成员的角色类型为第五类型会议成员时,构建第五类型数据包,所述第五类型数据包的本地数据文件中包括第一发言人数据和第二发言人数据;When the role type of the target participating member is a fifth type of conference member, a fifth type of data package is constructed, and the local data file of the fifth type of data package includes first speaker data and second speaker data; 在所述目标参会成员的角色类型为第六类型会议成员时,构建第六类型数据包,所述第六类型数据包的本地数据文件中包括第一发言人数据;When the role type of the target participating member is the sixth type of conference member, construct a sixth type data package, the local data file of the sixth type data package includes the first speaker data; 在所述目标参会成员的角色类型为第七类型会议成员时,构建第七类型数据包,所述第七类型数据包的本地数据文件中包括第二发言人数据;When the role type of the target participating member is the seventh type of conference member, construct a seventh type data package, the local data file of the seventh type data package includes the second speaker data; 在所述目标参会成员的角色类型为第八类型会议成员时,构建第八类型数据包,所述第八类型数据包中无本地数据文件。When the role type of the target participant is the eighth type of conference member, an eighth type data package is constructed, and there is no local data file in the eighth type data package. 6.一种设置会议发言方角色的方法,其特征在于,包括:6. A method for setting the role of a conference speaker, comprising: 接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是客户端根据所述目标参会成员的信息确定的,以使客户端检测是否存在所述角色类型对应的数据包,若存在,获得所述角色类型对应的数据包,其中,会议角色包括:主席、第一发言人以及第二发言人,根据每个参会成员的会议角色,确定所述参会成员所属的角色类型;Receiving the data packet sent by the terminal, the data packet is a data packet corresponding to the role type of the target participant, and the data packet also includes the information of the target participant, and the role type is determined by the client according to the The information of the target participants is determined, so that the client detects whether there is a data packet corresponding to the role type, and if it exists, obtains the data packet corresponding to the role type, wherein the conference roles include: chairman, first speaker The person and the second speaker determine the role type of the participating member according to the meeting role of each participating member; 在所述数据包为正确类型数据包时,存储所述数据包;storing the data packet when the data packet is a data packet of the correct type; 向所述终端发送所述目标参会成员的角色设置成功的响应信息。Sending response information indicating that the role of the target participant is successfully set to the terminal. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, further comprising: 在参加会议的所有参会成员的角色设置成功后,且所述会议开始时,根据所有参会成员的角色类型,对所有参会成员的参会终端进行视频流的调度。After the roles of all the participants participating in the conference are successfully set, and when the conference starts, according to the role types of all the participants, video stream scheduling is performed on the terminals of all the participants. 8.根据权利要求7所述的方法,其特征在于,对所有参会成员的参会终端进行视频流的调度,包括:8. The method according to claim 7, characterized in that, the scheduling of the video streams to the participating terminals of all participating members includes: 确定当前正在发言的参会成员的参会终端;Determine the participant terminal of the participant who is currently speaking; 获得与所述正在发言的参会成员对应的数据包中的本地数据文件;Obtain the local data file in the data packet corresponding to the speaking participant; 实时从所述本地数据文件中获得会议数据,按照预先根据所有参会成员的角色类型设置的调度规则,将所述会议数据发送给其他参会成员的参会终端,以使其他参会成员的参会终端将所述会议数据存储到对应的数据包中的接收数据文件中。Obtain meeting data from the local data file in real time, and send the meeting data to the participating terminals of other participating members according to the scheduling rule set in advance according to the role types of all participating members, so that the other participating members' The conference participating terminal stores the conference data in the received data file in the corresponding data packet. 9.一种终端,其特征在于,包括:9. A terminal, characterized in that, comprising: 第一获得模块,用于获得参加会议的所有参会成员的信息;The first obtaining module is used to obtain the information of all participants participating in the meeting; 第二获得模块,用于根据所述所有参会成员的信息,获得目标参会成员在所述会议中的角色类型,所述目标参会成员为所述所有参会成员中的任意一个参会成员;The second obtaining module is used to obtain the role type of the target participant in the meeting according to the information of all the participants, and the target participant is any one of the all participants. member; 第一发送模块,用于检测是否存在所述角色类型对应的数据包,若存在,获得所述角色类型对应的数据包,将所述数据包与所述目标参会成员的信息对应发送给自治服务器,以使所述自治服务器在会议过程中,根据所述数据包对所述目标参会成员的参会终端进行视频流的调度,其中,会议角色包括:主席、第一发言人以及第二发言人,根据每个参会成员的会议角色,确定所述参会成员所属的角色类型。The first sending module is used to detect whether there is a data packet corresponding to the role type, if it exists, obtain the data packet corresponding to the role type, and send the data packet corresponding to the information of the target participant to the autonomous server, so that the autonomous server schedules video streams for the conference terminals of the target participants according to the data packets during the conference, wherein the conference roles include: chairman, first speaker, and second The speaker determines the role type of each participant according to the conference role of each participant. 10.一种服务器,其特征在于,包括:10. A server, characterized in that, comprising: 接收模块,用于接收终端发送的数据包,所述数据包为与目标参会成员的角色类型对应的数据包,所述数据包中还包括所述目标参会成员的信息,所述角色类型是客户端根据所述目标参会成员的信息确定的,以使客户端检测是否存在所述角色类型对应的数据包,若存在,获得所述角色类型对应的数据包,其中,会议角色包括:主席、第一发言人以及第二发言人,根据每个参会成员的会议角色,确定所述参会成员所属的角色类型;The receiving module is configured to receive a data packet sent by the terminal, the data packet is a data packet corresponding to the role type of the target participant, and the data packet also includes information of the target participant, and the role type It is determined by the client according to the information of the target participant, so that the client detects whether there is a data packet corresponding to the role type, and if it exists, obtains the data packet corresponding to the role type, wherein the conference role includes: The chairman, the first speaker, and the second speaker determine the role type of the participating member according to the meeting role of each participating member; 存储模块,用于在所述数据包为正确类型数据包时,存储所述数据包;A storage module, configured to store the data packet when the data packet is a correct type of data packet; 第二发送模块,用于向所述终端发送所述目标参会成员的角色设置成功的响应信息。The second sending module is configured to send response information indicating that the role of the target participant is successfully set to the terminal. 11.一种电子设备,其特征在于,包括:11. An electronic device, characterized in that it comprises: 一个或多个处理器;和one or more processors; and 其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-5任一项所述的设置会议发言方角色的方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the electronic device to perform the method of setting a conference speaker according to any one of claims 1-5 method of the role. 12.一种计算机可读存储介质,其特征在于,其存储的计算机程序使得处理器执行如权利要求1-5任一项所述的设置会议发言方角色的方法。12. A computer-readable storage medium, wherein a computer program stored therein enables a processor to execute the method for setting a conference speaker role according to any one of claims 1-5. 13.一种电子设备,其特征在于,包括:13. An electronic device, characterized in that it comprises: 一个或多个处理器;和one or more processors; and 其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如权利要求6-8任一项所述的设置会议发言方角色的方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the electronic device to perform the method of setting a conference speaker according to any one of claims 6-8 method of the role. 14.一种计算机可读存储介质,其特征在于,其存储的计算机程序使得处理器执行如权利要求6-8任一项所述的设置会议发言方角色的方法。14. A computer-readable storage medium, wherein a computer program stored therein enables a processor to execute the method for setting a conference speaker role according to any one of claims 6-8.
CN202010109088.6A 2020-02-21 2020-02-21 Method, terminal, server, device and medium for setting conference speaker role Active CN111327868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010109088.6A CN111327868B (en) 2020-02-21 2020-02-21 Method, terminal, server, device and medium for setting conference speaker role

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010109088.6A CN111327868B (en) 2020-02-21 2020-02-21 Method, terminal, server, device and medium for setting conference speaker role

Publications (2)

Publication Number Publication Date
CN111327868A CN111327868A (en) 2020-06-23
CN111327868B true CN111327868B (en) 2023-07-04

Family

ID=71172882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010109088.6A Active CN111327868B (en) 2020-02-21 2020-02-21 Method, terminal, server, device and medium for setting conference speaker role

Country Status (1)

Country Link
CN (1) CN111327868B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206975B (en) * 2021-04-29 2022-12-02 北京融讯科创技术有限公司 Video conference picture display method, device, equipment and storage medium
CN114554134B (en) * 2022-02-25 2023-09-22 北京字跳网络技术有限公司 Method, device, server and storage medium for configuring audio/video conference
CN116684213B (en) * 2023-06-13 2024-02-09 广州市升谱达音响科技有限公司 Paperless conference system, paperless conference method and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769006B2 (en) * 2006-11-28 2014-07-01 International Business Machines Corporation Role-based display of document renditions for web conferencing
CN102724475B (en) * 2012-06-14 2016-03-02 华为技术有限公司 The implementation method of video conference and conference management apparatus
CN104601339B (en) * 2013-10-30 2018-05-25 华为技术有限公司 Net control method, device, server and the terminal device of true meeting
JP6766600B2 (en) * 2016-03-17 2020-10-14 株式会社リコー Information processing equipment and its programs and conference support system
CN108024087B (en) * 2016-10-31 2019-05-03 视联动力信息技术股份有限公司 A kind of method and system of video dispatching
CN110121049A (en) * 2019-05-08 2019-08-13 视联动力信息技术股份有限公司 A kind of IMS conference medium method of flow control and device
CN110519549B (en) * 2019-08-15 2021-06-11 视联动力信息技术股份有限公司 Conference terminal list obtaining method and system

Also Published As

Publication number Publication date
CN111327868A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN110049271B (en) Video networking conference information display method and device
CN110620896A (en) Conference establishing method, system and device
CN110460804B (en) Conference data transmitting method, system, device and computer readable storage medium
CN109120879B (en) Video conference processing method and system
CN110475102A (en) A kind of monitoring data processing method and system based on view networking
CN110049273B (en) Video networking-based conference recording method and transfer server
CN109768963B (en) Conference opening method and system based on video network
CN110536100A (en) A kind of recording method and system of view networking meeting
CN111478884B (en) Method, device and storage medium for data transmission among different video networks
CN111431966B (en) Service request processing method and device, electronic equipment and storage medium
CN111131752B (en) Video conference control method, device, equipment and medium based on video networking
CN110545395A (en) A video network conference switching method and device
CN111327868B (en) Method, terminal, server, device and medium for setting conference speaker role
CN110855926A (en) Video conference processing method and device
CN112751849B (en) Conference control method, device, equipment and medium based on video networking
CN109873864B (en) Communication connection establishing method and system based on video networking
CN110519549A (en) A kind of conference terminal list obtaining method and system
CN110430385A (en) Video conference processing method, device and storage medium
CN111182258B (en) Data transmission method and device for network conference
CN111478882B (en) Method and device for terminal detection
CN111131751B (en) Information display method, device and system for video network conference
CN109922300B (en) Method and server for inviting video network MCU conference to Internet MCU conference
CN110475128A (en) A kind of video transcoding method, device, electronic equipment and storage medium
CN110417792A (en) Communication method, system, gateway device and storage medium
CN111526323B (en) A method and device for processing panoramic video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China