Movatterモバイル変換


[0]ホーム

URL:


CN109996024A - A kind of exchange method and device - Google Patents

A kind of exchange method and device
Download PDF

Info

Publication number
CN109996024A
CN109996024ACN201810001248.8ACN201810001248ACN109996024ACN 109996024 ACN109996024 ACN 109996024ACN 201810001248 ACN201810001248 ACN 201810001248ACN 109996024 ACN109996024 ACN 109996024A
Authority
CN
China
Prior art keywords
client device
user
server
authority
playback control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810001248.8A
Other languages
Chinese (zh)
Inventor
骆正虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communication 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 China Mobile Communications Group Co Ltd, China Mobile Communication Co LtdfiledCriticalChina Mobile Communications Group Co Ltd
Priority to CN201810001248.8ApriorityCriticalpatent/CN109996024A/en
Publication of CN109996024ApublicationCriticalpatent/CN109996024A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种交互方法及装置。该方法包括:服务器接收第一客户端设备发送的播放控制指令,所述第一客户端设备的用户被分配有主讲权限,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;所述服务器将所述播放控制指令发送给第二客户端设备,所述第二客户端设备的用户被分配有观众权限,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。

The present application discloses an interaction method and device. The method includes: the server receives a playback control instruction sent by a first client device, a user of the first client device is assigned a speaker authority, and the playback control instruction sent by the first client device is used to A client device uploads a multimedia file to the server for playback control; the server sends the playback control instruction to the second client device, and the user of the second client device is assigned audience rights, and sends the instruction to the second client device. The play control instruction of the second client device is used to control the play of the multimedia file played by the second client device.

Description

Translated fromChinese
一种交互方法及装置An interactive method and device

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种交互方法及装置。The present invention relates to the field of communication technologies, and in particular, to an interaction method and device.

背景技术Background technique

教师授课、会议演讲等场景下,为了获得更好的视听效果,演讲者通常将演讲资料通过投影仪投影到大屏幕的方式展示给观众,观众通过大屏幕观看演讲内容。对于多人轮流演讲的场景,一般是通过两种方式实现:一是组织者事先将所有演讲资料存储至同一台电脑上,该电脑连接投影仪,不同的演讲者在演讲时对该电脑上存储的演讲资料进行播放控制,从而通过投影仪投影到屏幕上供观众观看;二是演讲者各自携带自己的电脑,在演讲者演讲时将自己的电脑连接至投影仪,对该电脑上存储的演讲资料进行播放控制,从而通过投影仪投影到屏幕上供观众观看。In scenarios such as teacher teaching, conference speech, etc., in order to obtain better audio-visual effects, the speaker usually displays the speech materials to the audience by projecting the speech materials on a large screen through a projector, and the audience watches the speech content through the large screen. For the scenario of multiple people giving speeches in turn, it is generally realized in two ways: one is that the organizer stores all speech materials on the same computer in advance, the computer is connected to the projector, and different speakers store the data on the computer during the speech. The lecture materials of the lecturer can be played and controlled, so that they can be projected on the screen through the projector for the audience to watch; the second is that the speakers carry their own computers, and when the lecturers are speaking, they connect their computers to the projector, and the lectures stored on the computer are stored on the computer. The material is controlled for playback, so that it can be projected on the screen through the projector for the audience to watch.

上述实现方式中,演讲者在演讲时,将电脑上的演讲资料通过投影的方式展示给现场观众,观众只能通过大屏幕观看,导致坐在距离屏幕远的观众不能更清楚地看到屏幕,远程的观众更是根本无法观看。In the above implementation manner, when the speaker is giving a speech, the lecture material on the computer is displayed to the audience through projection, and the audience can only watch it through the large screen, so that the audience sitting far away from the screen cannot see the screen more clearly. Remote viewers can't watch at all.

发明内容SUMMARY OF THE INVENTION

为解决上述技术问题,本申请实施例提供一种交互方法及装置。To solve the above technical problems, embodiments of the present application provide an interaction method and apparatus.

第一方面,提供一种交互方法,该方法包括:In a first aspect, an interaction method is provided, the method comprising:

服务器接收第一客户端设备发送的播放控制指令,所述第一客户端设备的用户被分配有主讲权限,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;The server receives the playback control instruction sent by the first client device, the user of the first client device is assigned the right to speak, and the playback control instruction sent by the first client device is used for the first client device The multimedia files uploaded to the server are controlled for playback;

所述服务器将所述播放控制指令发送给第二客户端设备,所述第二客户端设备的用户被分配有观众权限,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。The server sends the playback control instruction to the second client device, the user of the second client device is assigned with viewer rights, and the playback control instruction sent to the second client device is used to The multimedia file played by the second client device performs playback control.

可选地,所述服务器接收第一客户端设备发送的播放控制指令之后,还包括:所述服务器将所述播放控制指令发送给播放设备,发送给所述播放设备的播放控制指令用于对所述播放设备播放的所述多媒体文件进行播放控制。Optionally, after the server receives the playback control instruction sent by the first client device, the method further includes: the server sends the playback control instruction to the playback device, and the playback control instruction sent to the playback device is used for The multimedia file played by the playback device is controlled to be played.

可选地,所述第一客户端设备的用户被分配主讲权限之前,所述方法还包括:Optionally, before the user of the first client device is assigned the right to speak, the method further includes:

所述服务器接收第一客户端设备发送的主讲权限获取请求,所述主讲权限获取请求是未分配有主将权限的用户通过所述第一客户端设备发送的;receiving, by the server, a speaker permission acquisition request sent by the first client device, where the speaker permission acquisition request is sent by a user who is not assigned the speaker permission through the first client device;

所述服务器对所述主讲权限获取请求进行鉴权,并在鉴权通过后将主讲权限分配给所述第一客户端设备的用户。The server authenticates the speaker permission acquisition request, and assigns the speaker permission to the user of the first client device after the authentication is passed.

可选地,若所述服务器接收到所述主讲权限获取请求后,判断第三客户端设备的用户已分配有主讲权限,则所述方法还包括:所述服务器收回所述第三客户端设备的用户的主讲权限,为所述第三客户端设备的用户分配观众权限。Optionally, if the server determines that the user of the third client device has been assigned the speaker permission after receiving the request for obtaining the speaking authority, the method further includes: the server withdrawing the third client device. The presenting authority of the user of the third client device is assigned the audience authority for the user of the third client device.

可选地,将主讲权限分配给所述第一客户端设备的用户之后,还包括:Optionally, after allocating the speaking authority to the user of the first client device, the method further includes:

所述服务器接收所述第一客户端设备上传的所述多媒体文件;receiving, by the server, the multimedia file uploaded by the first client device;

所述服务器将所述多媒体文件发送给所述第二客户端。The server sends the multimedia file to the second client.

可选地,所述方法还包括:Optionally, the method further includes:

所述服务器接收所述第一客户端设备发送的主讲权限放弃请求;receiving, by the server, a request for giving up the speaker permission sent by the first client device;

所述服务器根据所述主讲权限放弃请求,收回所述第一客户端设备的用户的主讲权限。The server withdraws the presenting authority of the user of the first client device according to the presenting authority abandonment request.

可选地,所述服务器收回所述第一客户端设备的用户的主讲权限之后,还包括:所述服务器确定第四客户端设备的用户为新的具有主讲权限的用户,并将主讲权限分配给第四客户端设备的用户。Optionally, after the server recovers the speaking authority of the user of the first client device, the method further includes: the server determines that the user of the fourth client device is a new user with the speaking authority, and assigns the speaking authority to the user. to the user of the fourth client device.

可选地,所述服务器确定第四客户端设备的用户为新的具有主讲权限的用户,包括:Optionally, the server determines that the user of the fourth client device is a new user with presenting authority, including:

所述服务器根据所述主讲权限放弃请求携带的新的主讲权限用户的指示信息,确定第四客户端设备的用户为新的具有主讲权限的用户,其中所述指示信息用于指示第四客户端设备的用户;或者The server determines that the user of the fourth client device is a new user with the presenting authority according to the indication information of the user with the new presenting authority carried in the presenting authority relinquishment request, wherein the indication information is used to indicate the fourth client the user of the device; or

所述服务器从请求获取主讲权限的用户队列中选取第四客户端设备的用户作为新的具有主讲权限的用户。The server selects the user of the fourth client device from the queue of users requesting to acquire the presenting authority as a new user with presenting authority.

第二方面,提供一种交互方法,该方法包括:In a second aspect, an interaction method is provided, the method comprising:

客户端设备作为主讲权限用户的客户端设备时,向服务器发送播放控制指令,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;When the client device is the client device of the user with the presenting authority, it sends a playback control instruction to the server, and the playback control instruction sent by the first client device is used for the multimedia files uploaded by the first client device to the server. for playback control;

所述客户端设备作为观众权限用户的客户端设备时,接收所述服务器发送的播放控制指令,并根据接收到的播放控制指令对所述客户端设备播放的多媒体文件进行播放控制。When the client device is used as the client device of the audience authority user, it receives the playback control instruction sent by the server, and performs playback control on the multimedia file played by the client device according to the received playback control instruction.

可选地,所述方法还包括:所述客户端设备作为观众权限用户的客户端设备时,向所述服务器发送主讲权限获取请求,并接收所述服务器发送的主讲权限获取响应。Optionally, the method further includes: when the client device acts as a client device of an audience authority user, sending a request for obtaining a speaker right to the server, and receiving a response for obtaining a speaker right sent by the server.

可选地,所述方法还包括:所述客户端设备作为主讲权限用户的客户端设备时,所述客户端设备向服务器上传多媒体文件。Optionally, the method further includes: when the client device is used as a client device of a user with a presenting authority, the client device uploads a multimedia file to the server.

可选地,所述方法还包括:所述客户端设备作为主讲权限用户的客户端设备时,向所述服务器发送主讲权限放弃请求,并接收所述服务器发送的主讲权限放弃响应。Optionally, the method further includes: when the client device is a client device of a user with a speaking authority, sending a speaking permission waiver request to the server, and receiving a speaking permission waiver response sent by the server.

可选地,所述主讲权限放弃请求携带新的主讲权限用户的指示信息。Optionally, the presenting permission waiver request carries indication information of a new presenting authority user.

第三方面,提供一种服务器,该服务器包括:In a third aspect, a server is provided, the server comprising:

播放控制模块,用于接收第一客户端设备发送的播放控制指令,所述第一客户端设备的用户被分配有主讲权限,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;以及A playback control module, configured to receive a playback control instruction sent by a first client device, where a user of the first client device is assigned a speaker authority, and the playback control instruction sent by the first client The first client device uploads the multimedia file to the server for playback control; and

将所述播放控制指令发送给第二客户端设备,所述第二客户端设备的用户被分配有观众权限,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。Sending the playback control instruction to a second client device, the user of the second client device is assigned with viewer rights, and the playback control instruction sent to the second client device is used for the second client The multimedia file played by the terminal device performs playback control.

可选地,所述播放控制模块,还用于:Optionally, the playback control module is also used for:

接收第一客户端设备发送的播放控制指令之后,将所述播放控制指令发送给播放设备,发送给所述播放设备的播放控制指令用于对所述播放设备播放的所述多媒体文件进行播放控制。After receiving the playback control instruction sent by the first client device, send the playback control instruction to the playback device, and the playback control instruction sent to the playback device is used to perform playback control on the multimedia file played by the playback device .

可选地,还包括:Optionally, also include:

权限管理模块,用于在所述第一客户端设备的用户被分配主讲权限之前,接收第一客户端设备发送的主讲权限获取请求,所述主讲权限获取请求是未分配有主将权限的用户通过所述第一客户端设备发送的;以及A rights management module, configured to receive a speaker permission acquisition request sent by the first client device before the user of the first client device is assigned the speaker permission, and the speaker permission acquisition request is for a user who is not assigned the master permission to pass the sent by the first client device; and

对所述主讲权限获取请求进行鉴权,并在鉴权通过后将主讲权限分配给所述第一客户端设备的用户。The request for obtaining the speaker permission is authenticated, and after the authentication is passed, the speaker permission is allocated to the user of the first client device.

可选地,所述权限管理模块还用于:若接收到所述主讲权限获取请求后,判断第三客户端设备的用户已分配有主讲权限,则收回所述第三客户端设备的用户的主讲权限,为所述第三客户端设备的用户分配观众权限。Optionally, the authority management module is further configured to: if it is determined that the user of the third client device has been assigned the authority to speak after receiving the request for obtaining the speaking authority, then withdraw the user's permission of the third client device. The presenting authority assigns audience authority to the user of the third client device.

可选地,还包括:Optionally, also include:

文件管理模块,用于将主讲权限分配给所述第一客户端设备的用户之后,接收所述第一客户端设备上传的所述多媒体文件,并将所述多媒体文件发送给所述第二客户端。A file management module, configured to receive the multimedia file uploaded by the first client device after assigning the speaker authority to the user of the first client device, and send the multimedia file to the second client end.

可选地,所述权限管理模块还用于:接收所述第一客户端设备发送的主讲权限放弃请求,根据所述主讲权限放弃请求,收回所述第一客户端设备的用户的主讲权限。Optionally, the authority management module is further configured to: receive a request for giving up the speaking authority sent by the first client device, and withdraw the speaking authority of the user of the first client device according to the giving request for giving up the speaking authority.

可选地,所述权限管理模块还用于:收回所述第一客户端设备的用户的主讲权限之后,确定第四客户端设备的用户为新的具有主讲权限的用户,并将主讲权限分配给第四客户端设备的用户。Optionally, the authority management module is further configured to: after withdrawing the speaking authority of the user of the first client device, determine that the user of the fourth client device is a new user with the speaking authority, and assign the speaking authority to the user. to the user of the fourth client device.

可选地,所述权限管理模块具体用于:根据所述主讲权限放弃请求携带的新的主讲权限用户的指示信息,确定第四客户端设备的用户为新的具有主讲权限的用户,其中所述指示信息用于指示第四客户端设备的用户;或者,从请求获取主讲权限的用户队列中选取第四客户端设备的用户作为新的具有主讲权限的用户。Optionally, the authority management module is specifically configured to: determine the user of the fourth client device as a new user with the speaking authority according to the indication information of the new speaking authority user carried in the speaking authority relinquishment request, wherein all The above-mentioned indication information is used to indicate the user of the fourth client device; or, the user of the fourth client device is selected from the user queue requesting to acquire the speaking permission as a new user with the speaking permission.

第四方面,提供一种客户端设备,该客户端设备包括:In a fourth aspect, a client device is provided, and the client device includes:

播放控制模块,用于在所述客户端设备作为主讲权限用户的客户端设备时,向服务器发送播放控制指令,发送的所述播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;以及A playback control module, configured to send a playback control instruction to a server when the client device is used as a client device of a speaker authorized user, and the sent playback control instruction is used to upload the first client device to the multimedia files from the server for playback control; and

在所述客户端设备作为观众权限用户的客户端设备时,接收所述服务器发送的播放控制指令,并根据接收到的播放控制指令对所述客户端设备播放的多媒体文件进行播放控制。When the client device is used as the client device of the audience authority user, the playback control instruction sent by the server is received, and playback control is performed on the multimedia file played by the client device according to the received playback control instruction.

可选地,还包括权限请求模块,用于:Optionally, it also includes a permission request module for:

在所述客户端设备作为观众权限用户的客户端设备时,向所述服务器发送主讲权限获取请求,并接收所述服务器发送的主讲权限获取响应。When the client device is the client device of the audience authority user, it sends a speaker permission acquisition request to the server, and receives a speaker permission acquisition response sent by the server.

可选地,还包括权限请求模块,用于:Optionally, it also includes a permission request module for:

在所述客户端设备作为主讲权限用户的客户端设备时,向所述服务器发送主讲权限放弃请求,并接收所述服务器发送的主讲权限放弃响应。When the client device is the client device of the speaker permission user, it sends a speaker permission waiver request to the server, and receives a speaker permission waiver response sent by the server.

可选地,所述主讲权限放弃请求携带新的主讲权限用户的指示信息。Optionally, the presenting permission waiver request carries indication information of a new presenting authority user.

可选地,还包括文件上传模块,用于:在所述客户端设备作为主讲权限用户的客户端设备时,向服务器上传多媒体文件。Optionally, a file uploading module is further included, configured to: upload a multimedia file to the server when the client device is the client device of the user with the presenting authority.

第五方面,提供一种服务器,该服务器包括:处理器、存储器、收发机,所述处理器、存储器和收发机通过总线连接;所述处理器,用于读取存储器中的程序,执行如上述第一方面中任一项所述的方法。In a fifth aspect, a server is provided, the server comprising: a processor, a memory, and a transceiver, wherein the processor, the memory, and the transceiver are connected through a bus; the processor is configured to read a program in the memory, and execute the following steps: The method of any one of the first aspects above.

第六方面,提供一种客户端设备,该客户端设备包括:处理器、存储器、收发机,所述处理器、存储器和收发机通过总线连接;所述处理器,用于读取存储器中的程序,执行如上述第二方面中任一项所述的方法。In a sixth aspect, a client device is provided, the client device includes: a processor, a memory, and a transceiver, wherein the processor, the memory, and the transceiver are connected through a bus; the processor is configured to read data in the memory A program to perform the method according to any one of the above second aspects.

第七方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行上述第一方面中的任一项所述的方法。In a seventh aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to perform any one of the above-mentioned first aspects. method described.

第八方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行上述第二方面中的任一项所述的方法。In an eighth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores computer-executable instructions, the computer-executable instructions are used to cause the computer to perform any one of the above-mentioned second aspects. method described.

本申请的上述实施例中,服务器接收第一客户端设备发送的用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制的播放控制指令后,将所述播放控制指令发送给第二客户端设备,以使第二客户端设备对所述第二客户端设备播放的所述多媒体文件进行播放控制。由于第一客户端设备的用户被分配有主讲权限,第二客户端设备的用户被分配有观众权限,从而基于不同的用户权限,可以实现在主讲权限用户的客户端设备和观众权限的客户端设备上对同一多媒体文件进行同步播放控制。In the above-mentioned embodiment of the present application, after the server receives the playback control instruction sent by the first client device and used to control the playback of the multimedia file uploaded by the first client device to the server, the server converts the playback control instruction to the server. Send the data to the second client device, so that the second client device performs playback control on the multimedia file played by the second client device. Since the user of the first client device is assigned with the speaker permission, the user of the second client device is assigned with the audience permission, so based on different user permissions, the client device of the speaker permission user and the client permission of the audience permission can be implemented. Simultaneous playback control of the same multimedia file on the device.

附图说明Description of drawings

图1为本申请实施例提供的交互系统结构示意图;1 is a schematic structural diagram of an interaction system provided by an embodiment of the present application;

图2为本申请实施例提供的权限管理流程示意图;2 is a schematic flowchart of a rights management process provided in an embodiment of the present application;

图3为本申请另外的实施例提供的权限管理流程示意图;FIG. 3 is a schematic flowchart of authority management provided by another embodiment of the present application;

图4为本申请实施例提供的交互流程示意图;4 is a schematic diagram of an interaction flow provided by an embodiment of the present application;

图5为本申请实施例提供的应用场景流程示意图;FIG. 5 is a schematic flowchart of an application scenario provided by an embodiment of the present application;

图6为本申请实施例提供的服务器的结构示意图;6 is a schematic structural diagram of a server provided by an embodiment of the present application;

图7为本申请另外的实施例提供的服务器的结构示意图;FIG. 7 is a schematic structural diagram of a server provided by another embodiment of the present application;

图8为本申请实施例提供的客户端设备的结构示意图;FIG. 8 is a schematic structural diagram of a client device provided by an embodiment of the present application;

图9为本申请另外的实施例提供的客户端设备的结构示意图。FIG. 9 is a schematic structural diagram of a client device according to another embodiment of the present application.

具体实施方式Detailed ways

以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the embodiments of the present application will be explained, so as to facilitate the understanding of those skilled in the art.

(1)本申请实施例中,名词“网络”和“系统”经常交替使用,但本领域的技术人员可以理解其含义。(1) In the embodiments of the present application, the terms "network" and "system" are often used interchangeably, but those skilled in the art can understand their meanings.

(2)本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。(2) The term "plurality" in the embodiments of the present application refers to two or more than two, and other quantifiers are similar.

(3)“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。(3) "and/or", which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate that A exists alone, A and B exist at the same time, and B exists alone. Happening. The character "/" generally indicates that the associated objects are an "or" relationship.

本申请实施例提出了多媒体交互方法以及相关装置和系统,以提升观众的参与感和演讲效果。The embodiments of the present application propose a multimedia interaction method and related devices and systems, so as to improve the audience's sense of participation and speech effect.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

参见图1,为本申请实施例提供的交互系统结构示意图。该交互系统可采用客户端/服务器(client/server,简称C/S)架构。如图所示,该系统中可包括:服务器101,客户端设备102a~102d。图中仅示例性地示出了4个客户端设备,在实际应用中,客户端设备的数量不局限于此。Referring to FIG. 1 , it is a schematic structural diagram of an interaction system provided by an embodiment of the present application. The interactive system may adopt a client/server (client/server, C/S for short) architecture. As shown in the figure, the system may include: a server 101, and client devices 102a-102d. The figure only exemplarily shows four client devices, and in practical applications, the number of client devices is not limited to this.

服务器101与客户端设备102a~102d之间存在通信连接,该通信连接可以是无线通信连接也可以是有线通信连接。A communication connection exists between the server 101 and the client devices 102a-102d, and the communication connection may be a wireless communication connection or a wired communication connection.

进一步地,上述系统中还可包括播放设备103。播放设备103与服务器101之间存在通信连接,该通信连接可以是无线通信连接也可以是有线通信连接。Further, the above system may further include a playback device 103 . A communication connection exists between the playback device 103 and the server 101, and the communication connection may be a wireless communication connection or a wired communication connection.

进一步地,上述系统中还可包括投影设备104。投影设备104与播放设备103之间存在通信连接,该通信连接可以是无线通信连接也可以是有线通信连接。例如,投用设备104与播放设备103通过高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)或视频图形阵列(Video Graphics Array,VGA)线缆等有线方式或无线移动多媒体传输协议(Wireless Mobile Multimedia Transmission Protocol,WiMo)、Miracast、AirPlay等无线方式连接。Further, the above system may further include a projection device 104 . There is a communication connection between the projection device 104 and the playback device 103, and the communication connection may be a wireless communication connection or a wired communication connection. For example, the casting device 104 and the playback device 103 communicate with each other through a high-definition multimedia interface (High Definition Multimedia Interface, HDMI) or a video graphics array (Video Graphics Array, VGA) cable or other wired means, or a wireless mobile multimedia transmission protocol (Wireless Mobile Multimedia Transmission Protocol, WiMo), Miracast, AirPlay and other wireless connections.

客户端设备102a~102d可以是智能手机、平板电脑、笔记本电脑、台式电脑等不同形态、具有不同操作系统的终端设备。客户端设备102a~102d上运行有遵循本申请实施例提供的交互方法的客户端软件,用户可以根据用户权限的不同,通过该客户端软件进行与用户权限相适应的操作。具体地,具有主讲权限的用户(比如演讲者)可以通过该客户端软件将演讲用的多媒体文件上传到服务器101进行共享、对演讲用的多媒体文件进行播放控制,还可以放弃或重新获取主讲权限。具有观众权限的用户可以通过该客户端软件在自己的客户端设备上观看同步显示的演讲用多媒体文件,还可以下载该多媒体文件,还可以请求获取主讲权限。The client devices 102a-102d may be terminal devices with different operating systems, such as smart phones, tablet computers, notebook computers, and desktop computers. The client devices 102a to 102d run client software that follows the interaction method provided by the embodiment of the present application, and the user can perform operations that are compatible with the user permissions through the client software according to different user permissions. Specifically, a user (such as a speaker) who has the right to speak can upload multimedia files for speech to the server 101 for sharing through the client software, control the playback of the multimedia files for speech, and can also give up or re-acquire the right to speak. . Users with audience rights can use the client software to watch the synchronously displayed multimedia files for speeches on their client devices, download the multimedia files, and request to obtain lecture rights.

其中,所述多媒体文件可包括多种类型,比如该多媒体文件可以是PPT文件(即PowerPoint,演示文稿软件处理得到的文件)、WORD文件(文字处理软件处理得到的文件)、PDF(Portable Document Format,便携式文档格式)文件、Keynote、Flash文件、视频文件或网页等多种形式。Wherein, the multimedia file may include various types, for example, the multimedia file may be a PPT file (ie PowerPoint, a file processed by presentation software), a WORD file (a file processed by a word processing software), a PDF (Portable Document Format) , Portable Document Format) files, Keynote, Flash files, video files or web pages.

服务器101可以接受客户端设备102a~102d上传的演讲用多媒体文件并存储,还可以将其所存储的演讲用多媒体文件的链接地址发布给客户端设备102a~102d,以便客户端设备102a~102d可以通过该链接地址从服务器101获得相应的多媒体文件。服务器101上还可配置有权限管理策略,用于根据用户身份信息,对分配主讲权限或拒绝分配主讲权限进行判决。The server 101 can accept and store the multimedia files for speech uploaded by the client devices 102a to 102d, and can also publish the link addresses of the stored multimedia files for speech to the client devices 102a to 102d, so that the client devices 102a to 102d can The corresponding multimedia file is obtained from the server 101 through the link address. The server 101 may also be configured with a rights management policy, which is used to decide whether to assign the lecturer permission or refuse to assign the lecturer permission according to the user identity information.

播放设备103用于播放演讲用的多媒体文件。播放设备103可以是电脑、机顶盒或智能电视等不同形态的设备。播放设备103可以使用遵循本申请实施例提供的专用播放软件打开从服务器101获取的演讲用多媒体文件并根据接收到的播放控制指令对该多媒体文件进行播放。The playback device 103 is used for playing multimedia files for lectures. The playback device 103 may be a computer, a set-top box, or a smart TV and other devices in different forms. The playback device 103 may use the dedicated playback software provided by the embodiments of the present application to open the multimedia file for speech obtained from the server 101 and play the multimedia file according to the received playback control instruction.

投影设备104将播放设备103当前播放的内容同步显示到投影幕布105上。投影设备104用于对播放的多媒体文件进行展示,供现场没有客户端设备的观众实时观看。The projection device 104 synchronously displays the content currently played by the playback device 103 on the projection screen 105 . The projection device 104 is used to display the played multimedia files for real-time viewing by audiences who do not have client devices on site.

本申请实施例中,用户通过所在客户端设备,使用用户账户登录服务器后,可使用本申请实施例提供的方法实现交互流程。In the embodiment of the present application, after the user logs in to the server with the user account through the client device where he is located, the method provided by the embodiment of the present application can be used to implement the interaction process.

本申请实施例提供了几种用户权限,用户可以根据其用户权限通过其所使用的客户端设备进行与该用户权限相匹配的操作。这些用户权限可包括:The embodiments of the present application provide several user rights, and a user can perform operations that match the user rights through the client device used by the user according to the user rights. These user rights can include:

主讲权限:具有主讲权限的用户可以通过所在客户端设备将演讲用多媒体文件上传至服务器进行存储,以便共享给具有观众权限的客户端设备;可以对服务器上存储的演进用多媒体文件进行播放控制;还可以放弃主讲权限或将主讲权限转移给其他用户。Speaker permission: Users with speaker permission can upload multimedia files for lectures to the server through their client devices for storage, so that they can be shared with client devices with audience permissions; they can control the playback of multimedia files for evolution stored on the server; You can also relinquish presenter privileges or transfer presenter privileges to other users.

观众权限:具有观众权限的用户可以通过所在客户端设备观看具有主讲权限的用户正在进行播放控制的演讲用多媒体文件,还可以请求获取主讲权限。Audience rights: Users with audience rights can view the multimedia files for lectures that are being played and controlled by users with lecture rights through their client devices, and can also request to obtain lecture rights.

可选地,本申请实施例还提供了下载权限。Optionally, this embodiment of the present application further provides download permission.

下载权限:具有下载权限的用户可以通过所在客户端设备从服务器下载得到演讲用多媒体文件。下载权限可以作为一种默认权限授予主讲权限用户以及观众权限用户,也可以由服务器根据权限管理策略仅授予特定用户。Download rights: Users with download rights can download multimedia files for lectures from the server through the client device where they are located. The download permission can be granted to lecturer permission users and audience permission users as a default permission, or it can be granted only to specific users by the server according to the permission management policy.

本申请实施例中,为了保证多个具有主讲权限的用户之间不互相干扰,可以规定在任一时间点,整个系统中只有一位具有主讲权限的用户,有多位具有观众权限的用户。具有主讲权限的用户一旦放弃主讲权限,就转变为具有观众权限的用户(即自动获得观众权限),而具有观众权限的用户一旦获得主讲权限就可以对演讲用多媒体文件进行播放控制或开启新的演讲用多媒体文件,从而转变为具有主讲权限的用户。In this embodiment of the present application, in order to ensure that multiple users with lecture rights do not interfere with each other, it may be specified that at any point in time, there is only one user with lecture rights and multiple users with audience rights in the entire system. Once the user with the speaker permission gives up the speaker permission, it will become a user with the audience permission (that is, the audience permission is automatically obtained), and the user with the audience permission can play the multimedia file for the speech or open a new one once the speaker permission is obtained. Multimedia files for lectures, thus turning into users with lecture rights.

本申请实施例中,获得主讲权限的方式可包括主动请求方式和被动获得方式。图2示出了一种采用主动请求方式获得主讲权限的流程,图3示出了一种采用被动获得方式获得主讲权限的流程。In this embodiment of the present application, the manner of obtaining the speaker authority may include an active request manner and a passive acquisition manner. FIG. 2 shows a process of obtaining the speaker permission by using an active request method, and FIG. 3 shows a process of obtaining the speaker permission by using a passive acquisition method.

参见图2,为本申请实施例提供的用户权限管理流程示意图,该流程描述了通过主动请求方式获得主讲权限的流程。该流程中的“第一客户端设备”“第二客户端设备”和“第三客户端设备”仅用于区分不同的客户端设备,并不特指某个或某类客户端设备。Referring to FIG. 2 , it is a schematic diagram of a user authority management flow chart provided in an embodiment of the present application, and the flow describes a flow of obtaining a speaker authority through an active request method. The "first client device", "second client device" and "third client device" in this process are only used to distinguish different client devices, and do not specifically refer to a certain or certain type of client devices.

如图所示,该流程可包括:As shown, the process can include:

S201:第一客户端设备向服务器发送主讲权限获取请求。S201: The first client device sends a request for obtaining a speaker permission to the server.

本流程中,使用第一客户端设备的用户当前的用户权限为观众权限。具有观众权限的用户可以通过所在客户端设备发送主讲权限获取请求。In this process, the current user authority of the user who uses the first client device is the audience authority. Users with audience rights can send a request for obtaining lecturer rights through their client device.

在实际应用中,在客户端软件中可提供用户权限请求界面,该用户界面上可设置用于提交主讲权限获取请求的控件,用户可以通过该用户界面中的该控件,通过所在的第一客户端设备向服务器发送主讲权限获取请求。In practical applications, a user permission request interface can be provided in the client software, and a control for submitting a request for obtaining lecturer permission can be set on the user interface. The terminal device sends a request for obtaining the lecturer permission to the server.

S202:服务器接收到该主讲权限获取请求后,对所述主讲权限获取请求进行鉴权,若鉴权通过,则转入S203,否则转入S204。S202: After the server receives the speaker permission acquisition request, it authenticates the speaker permission acquisition request, and if the authentication is passed, the process proceeds to S203, otherwise, the process proceeds to S204.

本申请实施例中,服务器上可配置有权限管理策略。权限管理策略可以根据用户身份规定哪些或哪种类型的用户能够被分配主讲权限,哪些或哪种类型的用户不允许分配主讲权限。服务器可以根据第一客户端设备的用户的身份信息,对是否能够为该第一客户端设备的用户分配主讲权限进行判决。比如,可以通过设置白名单的方式,将能够被分配主讲权限的用户名称或客户端设备IP地址设置在该白名单中,如果服务器判断第一客户端设备的用户的名称或第一客户端设备的IP地址在该白名单中,则对该主讲权限获取请求鉴权通过。In this embodiment of the present application, a rights management policy may be configured on the server. The rights management policy can specify which or which types of users can be assigned lecturer rights and which or which types of users are not allowed to assign lecturer rights according to user identities. The server may determine whether the user of the first client device can be assigned a speaking right according to the identity information of the user of the first client device. For example, by setting a whitelist, the user names or client device IP addresses that can be assigned the right to speak can be set in the whitelist. If the server determines the name of the user of the first client device or the first client device If the IP address of the speaker is in the whitelist, the request for permission to obtain the lecturer passes the authentication.

其中,第一客户端设备的用户的身份信息可以携带在主讲权限获取请求中发送给服务器,也可以在登录服务器时,将其身份信息发送给服务器并存储在该服务器中。Wherein, the identity information of the user of the first client device may be sent to the server in the request for obtaining the speaker authority, or the identity information of the user may be sent to the server and stored in the server when logging in to the server.

S203:服务器将主讲权限分配给第一客户端设备的用户。S203: The server assigns the speaking authority to the user of the first client device.

该步骤中,服务器可以向第一客户端设备发送主讲权限获取响应,该响应中携带同意分配主讲权限的信息。In this step, the server may send a speaker permission acquisition response to the first client device, where the response carries information agreeing to assign the speaker permission.

S204:服务器拒绝将主讲权限分配给第一客户端设备的用户。S204: The server refuses to assign the speaking authority to the user of the first client device.

该步骤中,服务器可以向第一客户端设备发送主讲权限获取响应,该响应中携带拒绝分配主讲权限的信息。In this step, the server may send a speaker permission acquisition response to the first client device, where the response carries information that the assignment of the speaker permission is refused.

进一步地,第一客户端设备的用户获得主讲权限后,可将其演讲用的多媒体文件上传至服务器,服务器可将该多媒体文件发送给其他客户端设备。Further, after the user of the first client device obtains the permission to speak, he can upload the multimedia file for his speech to the server, and the server can send the multimedia file to other client devices.

具体地,在图2所示的流程中,在S203之后还可包括:Specifically, in the process shown in FIG. 2, after S203, it may further include:

S205:第一客户端设备向服务器发送的多媒体文件。S205: The multimedia file sent by the first client device to the server.

该步骤中,服务器接收到该多媒体文件后,可将该多媒体文件存储在指定的位置,比如存储在指定的文件目录下。为了安全起见,该文件目录可以与其他文件目录隔离,具有主讲权限的用户可以对该文件目录进行读写,具有观众权限的用户对该文件目录仅有读取的权限。In this step, after receiving the multimedia file, the server may store the multimedia file in a designated location, for example, in a designated file directory. For security reasons, this file directory can be isolated from other file directories. Users with lecture rights can read and write this file directory, and users with audience rights can only read this file directory.

S206:服务器接收到第一客户端设备发送的多媒体文件后,将所述多媒体文件发送给第二客户端设备,该第二客户端设备的用户当前具有观众权限。S206: After receiving the multimedia file sent by the first client device, the server sends the multimedia file to the second client device, where the user of the second client device currently has viewer rights.

该步骤中,第二客户端设备获得多媒体文件的方式可包括以下两种:In this step, the manner in which the second client device obtains the multimedia file may include the following two:

方式1:服务器直接将该多媒体文件发送给第二客户端设备。Mode 1: The server directly sends the multimedia file to the second client device.

方式2:服务器根据该多媒体文件的存储地址生成该多媒体文件的链接地址,并将该链接地址发送给第二客户端设备。第二客户端设备可以根据发布的该链接地址,向服务器请求获取该链接地址关联的多媒体文件。Mode 2: The server generates a link address of the multimedia file according to the storage address of the multimedia file, and sends the link address to the second client device. The second client device may, according to the published link address, request the server to obtain the multimedia file associated with the link address.

在实际应用中,服务器可根据其用于存储演讲用多媒体文件的文件目录中存储的多媒体文件(这些多媒体文件可以是具有主讲权限的用户通过所在客户端设备上传至服务器的)生成多媒体文件链接地址,并发布给客户端设备。客户端设备可根据服务器发布的多媒体文件链接地址,向服务器发送文件获取请求,服务器可根据该文件获取请求将所请求获取的文件发送给客户端设备。In practical applications, the server can generate multimedia file link addresses according to the multimedia files stored in the file directory used to store multimedia files for lectures (these multimedia files can be uploaded to the server through the client device of the user who has the right to speak) , and publish to client devices. The client device can send a file acquisition request to the server according to the link address of the multimedia file published by the server, and the server can send the requested file to the client device according to the file acquisition request.

进一步地,在S203中,若服务器判断有第三客户端设备的用户已具有主讲权限,则可首先收回该第三客户端设备的用户的主讲权限,再将主讲权限分配给第一客户端设备的用户。第三客户端设备的用户被收回主讲权限后自动获得观众权限;或者,第三客户端设备的用户被收回主讲权限后,服务器为第三客户端设备的用户分配观众权限。Further, in S203, if the server judges that the user who has the third client device already has the speaking authority, it can first withdraw the speaking authority of the user of the third client device, and then assign the speaking authority to the first client device. User. The user of the third client device automatically obtains the audience right after the speaker permission is revoked; or, after the user of the third client device is revoked the speaker permission, the server assigns the audience permission to the user of the third client device.

参见图3,为本申请实施例提供的用户权限管理流程示意图,该流程描述了通过被动获得方式获得主讲权限的流程。该流程中的“第一客户端设备”和“第二客户端设备”仅用于区分不同的客户端设备,并不特指某个或某类客户端设备。Referring to FIG. 3 , which is a schematic diagram of a user rights management process provided in an embodiment of the present application, the process describes a process of acquiring the speaker rights through passive acquisition. The "first client device" and "second client device" in this process are only used to distinguish different client devices, and do not specifically refer to a certain or certain type of client devices.

如图所示,该流程可包括:As shown, the process can include:

S301:第一客户端设备向服务器发送主讲权限放弃请求。S301: The first client device sends a speaker permission waiver request to the server.

本流程中,使用第一客户端设备的用户当前的用户权限为主讲权限。具有主讲权限的用户可以通过所在客户端设备发送主讲权限放弃请求。In this process, the current user authority of the user of the first client device is used as the speaker authority. A user with lecturer permission can send a lecturer permission waiver request through the client device.

在实际应用中,在客户端软件中可提供用户权限请求界面,该用户界面上可设置用于提交主讲权限放弃请求的控件,用户可以通过该用户界面中的该控件,通过所在的第一客户端设备向服务器发送主讲权限放弃请求。In practical applications, a user permission request interface can be provided in the client software, and a control for submitting a request for giving up lecturer permission can be set on the user interface. The terminal device sends a speaker permission waiver request to the server.

S302:服务器接收到该主讲权限放弃请求后,根据该请求收回第一客户端设备的用户的主讲权限。S302: After receiving the request for giving up the speaking authority, the server withdraws the speaking authority of the user of the first client device according to the request.

该步骤中,第一客户端设备的用户被收回主讲权限后自动获得观众权限;或者,第一客户端设备的用户被收回主讲权限后,服务器为第一客户端设备的用户分配观众权限。In this step, the user of the first client device automatically obtains the audience right after the speaker permission is withdrawn; or, after the user of the first client device is withdrawn the speaker permission, the server assigns the audience permission to the user of the first client device.

进一步地,图3流程的S302之后,还可包括:Further, after S302 of the process of Fig. 3, it may further include:

S303:服务器确定第四客户端设备的用户为新的具有主讲权限的用户,并将主讲权限分配给第四客户端设备的用户。S303: The server determines that the user of the fourth client device is a new user with the speaking authority, and assigns the speaking authority to the user of the fourth client device.

该步骤中,服务器可向第四客户端设备发送通知,以通知第四客户端设备的用户获得主讲权限。In this step, the server may send a notification to the fourth client device, so as to notify the user of the fourth client device to obtain the permission to speak.

可选地,该步骤中,服务器可采用以下两种方式确定第四客户端设备的用户为新的具有主讲权限的用户:Optionally, in this step, the server may use the following two methods to determine the user of the fourth client device as a new user with the right to speak:

方式1:根据第一客户端设备发送的主讲权限放弃请求携带的新的主讲权限用户的指示信息,确定第四客户端设备的用户为新的具有主讲权限的用户。其中,所述指示信息用于指示第四客户端设备的用户。Manner 1: Determine the user of the fourth client device as a new user with the presenting authority according to the indication information of the new presenting authority user carried in the presenting authority relinquishing request sent by the first client device. Wherein, the indication information is used to indicate the user of the fourth client device.

可选地,所述指示信息可以是第四客户端设备的地址信息,也可以是第四客户端设备的用户的信息。Optionally, the indication information may be address information of the fourth client device, or information of the user of the fourth client device.

该方式中,第一客户端设备发送的主讲权限放弃请求中可携带新的主讲权限用户的指示信息(这里为第四客户端设备的用户的指示信息),这样,服务器可根据该请求中携带的该指示信息,确定出新的主讲权限用户。In this way, the request for giving up the speaker permission sent by the first client device can carry the indication information of the user with the new speaker permission (here, the instruction information of the user of the fourth client device), so that the server can carry the instruction information, and determine the new lecturer authority user.

实际应用中,在客户端软件中可提供用户权限请求界面,该用户界面上对于当前为主讲权限的用户可设置有用于选取或指定新的主讲权限用户的控件,当前为主讲权限的用户可以通过该控件选取或指定新的主讲权限用户。本例子中可选取或指定第四客户端设备的用户的用户名或第四客户端设备的IP地址。In practical applications, a user permission request interface can be provided in the client software. The user interface can be provided with a control for selecting or specifying a new speaker permission user for the current speaker permission user. The current speaker permission user can pass the This control selects or assigns a new lecturer privilege user. In this example, the user name of the user of the fourth client device or the IP address of the fourth client device may be selected or specified.

方式2:从请求获取主讲权限的用户队列中选取第四客户端设备的用户作为新的具有主讲权限的用户。Manner 2: Select the user of the fourth client device from the user queue requesting to obtain the presenting authority as a new user with presenting authority.

该方式中,当服务器接收到某个客户端设备发送的主讲权限获取请求后,如果根据权限管理策略判决当前还不能给该客户端设备的用户分配主讲权限(比如权限管理策略可规定一个用户被分配主讲权限后至少在1分钟之内不能将主讲权限分配给其他用户),则可将该客户端设备的用户的信息(比如用户名称)或该客户端设备的信息(比如客户端设备IP地址)存入“请求获取主讲权限的用户队列”中。In this method, after the server receives a request for obtaining lecturer rights sent by a client device, if it is determined according to the rights management policy that the lecturer rights cannot currently be assigned to the user of the client device (for example, the rights management policy may specify that a user is allowed to After assigning the speaker permission, the speaker permission cannot be assigned to other users for at least 1 minute), the user information of the client device (such as user name) or the information of the client device (such as the client device IP address) can be ) is stored in the "queue of users requesting permission to lecture".

可选地,在从该队列中选取新的具有主讲权限的用户时,可根据先进先出的规则进行选取。Optionally, when a new user with presenter authority is selected from the queue, the selection may be made according to a first-in, first-out rule.

通过以上描述可以看出,本申请实施例可以实现对用户权限进行灵活切换,从而能够有效地控制整个交互流程,以满足用户的需求。It can be seen from the above description that the embodiments of the present application can implement flexible switching of user permissions, so that the entire interaction process can be effectively controlled to meet the needs of users.

一个客户端设备的用户获得主讲权限后,可对服务器上存储的多媒体文件进行播放控制,服务器可将该播放控制操作同步到具有观众权限的用户所在的客户端设备,以使具有观众权限的用户可以通过所在设备与具有主讲权限的用户同步观看该多媒体文件。After a user of a client device obtains the speaker authority, he can control the playback of the multimedia files stored on the server, and the server can synchronize the playback control operation to the client device where the user with the audience authority is located, so that the user with the audience authority can perform playback control. The multimedia file can be watched synchronously with the user with the presenting authority through the device.

参见图4,为本申请实施例提供的交互流程示意图,该流程中,第一客户端设备的用户分配有主讲权限,第二客户端设备的用户分配有观众权限。Referring to FIG. 4 , which is a schematic diagram of an interaction flow provided by an embodiment of the present application, in this flow, a user of the first client device is assigned a speaker right, and a user of the second client device is assigned an audience right.

如图所示,该流程可包括:As shown, the process can include:

S401:第一客户端设备向服务器发送播放控制指令。S401: The first client device sends a playback control instruction to the server.

其中,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制。Wherein, the playback control instruction sent by the first client device is used to control the playback of the multimedia file uploaded by the first client device to the server.

实际应用中,第一客户端设备的用户可通过客户端软件提供的用户界面选取服务器上保存的多媒体文件,并对选取的多媒体文件进行播放控制。其中,所选取的多媒体文件可以是该用户作为主讲权限用户上传至服务器的多媒体文件,也可以是其他客户端设备的用户作为主讲权限用户时上传至服务器保存的。In practical applications, the user of the first client device can select the multimedia files saved on the server through the user interface provided by the client software, and control the playback of the selected multimedia files. Wherein, the selected multimedia file may be a multimedia file uploaded to the server by the user as a lecturer authority user, or may be uploaded to the server for storage by a user of other client device as a lecturer authority user.

其中,根据多媒体文件的类型,其播放控制指令也有所不同。比如,若多媒体文件为PPT文件,则播放控制指令可包括:向后翻页、向前翻页、跳转到指定页等。再比如,若多媒体文件为视频文件,则播放控制指令可包括:快进、回退、暂停等。Among them, according to the type of multimedia files, the playback control instructions are also different. For example, if the multimedia file is a PPT file, the playback control instruction may include: page backward, page forward, jump to a specified page, and the like. For another example, if the multimedia file is a video file, the playback control instruction may include: fast forward, rewind, pause, and the like.

S402:服务器接收该播放控制指令后,将所述播放控制指令发送给第二客户端设备。S402: After receiving the playback control instruction, the server sends the playback control instruction to the second client device.

其中,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。Wherein, the playback control instruction sent to the second client device is used to control the playback of the multimedia file played by the second client device.

S403:第二客户端设备接收到该播放控制指令后,根据该播放控制指令对所述第二客户端设备播放的所述多媒体文件进行播放控制。S403: After receiving the playback control instruction, the second client device performs playback control on the multimedia file played by the second client device according to the playback control instruction.

实际应用中,客户端软件可提供多媒体文件播放窗口。当第一客户端设备的用户(即主讲权限用户)选取需要播放的多媒体文件后,服务器可将该多媒体文件的链接地址发送给第二客户端设备,第二客户端设备可根据该链接地址从服务器获取该多媒体文件并显示在该窗口中。在另外的例子中,当第一客户端设备的用户(即主讲权限用户)选取需要播放的多媒体文件后,服务器将该多媒体文件发送给第二客户端设备,第二客户端设备将该多媒体文件显示在该窗口中。In practical applications, the client software can provide a multimedia file playback window. After the user of the first client device (that is, the speaker authorized user) selects the multimedia file to be played, the server can send the link address of the multimedia file to the second client device, and the second client device can download the multimedia file from the link address according to the link address. The server gets the multimedia file and displays it in this window. In another example, after the user of the first client device (that is, the speaker authorized user) selects the multimedia file to be played, the server sends the multimedia file to the second client device, and the second client device sends the multimedia file to the second client device. displayed in this window.

其中,第二客户端设备上多媒体播放窗口中所显示的该多媒体文件的状态,与第一客户端设备上多媒体播放窗口中所显示的该多媒体文件的状态相同。比如,在第一客户端设备的用户选取一个PPT文件并打开该文件后,在第一客户端设备的多媒体播放窗口中显示该PPT文件的首页,在第二客户端设备的多媒体播放窗口中显示的也是该PPT文件的首页。Wherein, the state of the multimedia file displayed in the multimedia play window on the second client device is the same as the state of the multimedia file displayed in the multimedia play window on the first client device. For example, after the user of the first client device selects a PPT file and opens the file, the home page of the PPT file is displayed in the multimedia playback window of the first client device, and the first page of the PPT file is displayed in the multimedia playback window of the second client device. is also the home page of the PPT file.

此后,当第一客户端设备的用户(即主讲权限用户)对多媒体播放窗口中的多媒体文件进行播放控制时,比如对该PPT文件向前翻页时,服务器获取到该向前翻页的播放控制指令,将该播放控制指令发送给第二客户端设备,第二客户端设备针对多媒体播放窗口中的该PPT文件执行向前翻页的播放控制指令,从而使得第二客户端设备与第一客户端设备上的多媒体文件同步显示。Thereafter, when the user of the first client device (that is, the speaker authorized user) controls the playback of the multimedia file in the multimedia playback window, for example, when the PPT file is turned forward, the server obtains the playback of the forward page. control instruction, send the playback control instruction to the second client device, and the second client device executes the playback control instruction of page-forwarding for the PPT file in the multimedia playback window, so that the second client device and the first The multimedia files on the client device are displayed synchronously.

本申请实施例中,由于第二客户端设备的用户为观众权限用户,不具备对本申请实施例客户端软件提供的多媒体播放窗口中的多媒体文件进行播放控制的权限,因此对于观众权限的用户,该多媒体播放窗口可以不提供播放控制相关控件,或者将用于播放控制的相关控件禁用。而对于第一客户端设备的用户,由于其为主讲权限用户,因此可以在第一客户端设备上由客户端软件提供的多媒体播放窗口中提供播放控制的相关控件,第一客户端设备的用户通过这些控件可以发送相应的多媒体播放控制指令。In the embodiment of the present application, since the user of the second client device is a user with audience authority and does not have the authority to play control the multimedia files in the multimedia playback window provided by the client software in the embodiment of the present application, for the user with audience authority, The multimedia playback window may not provide playback control related controls, or disable the playback control related controls. However, for the user of the first client device, because he is a speaker authorized user, relevant controls for playback control can be provided in the multimedia playback window provided by the client software on the first client device. The user of the first client device Corresponding multimedia playback control instructions can be sent through these controls.

进一步地,服务器接收第一客户端设备发送的播放控制指令之后,还可将该播放控制指令发送给播放设备,播放设备接收到该播放控制指令后,可对该播放设备播放的所述多媒体文件进行播放控制,以使该多媒体文件在该播放设备和在第一客户端设备上同步显示。Further, after the server receives the playback control instruction sent by the first client device, it can also send the playback control instruction to the playback device, and after the playback device receives the playback control instruction, it can play the multimedia file on the playback device. Play control is performed so that the multimedia file is displayed synchronously on the playback device and on the first client device.

进一步地,播放设备可将其播放的多媒体文件投影到大屏幕上进行显示。Further, the playback device can project the played multimedia files on a large screen for display.

通过以上描述可以看出,服务器接收第一客户端设备发送的用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制的播放控制指令后,将所述播放控制指令发送给第二客户端设备,以使第二客户端设备对所述第二客户端设备播放的所述多媒体文件进行播放控制。由于第一客户端设备的用户被分配有主讲权限,第二客户端设备的用户被分配有观众权限,从而基于不同的用户权限,可以实现在主讲权限用户的客户端设备和观众权限的客户端设备上对同一多媒体文件进行同步播放控制。It can be seen from the above description that after the server receives the playback control instruction sent by the first client device for controlling the playback of the multimedia file uploaded by the first client device to the server, the server sends the playback control instruction to the second client device, so that the second client device performs playback control on the multimedia file played by the second client device. Since the user of the first client device is assigned with the speaker permission, the user of the second client device is assigned with the audience permission, so based on different user permissions, the client device of the speaker permission user and the client permission of the audience permission can be implemented. Simultaneous playback control of the same multimedia file on the device.

本申请的上述实施例可以采用基于C/S的框架构建多客户端设备交互系统,能够实现多用户分别演讲及权限以及流程控制,各演讲者之间的切换无缝进行,从而可以提高演讲的互动性、流畅性。The above-mentioned embodiments of the present application can use a C/S-based framework to build a multi-client device interaction system, which can realize multi-user speeches, permissions and process control, and seamless switching between speakers, thereby improving the quality of speeches. Interactivity and fluidity.

为了更清楚地理解本申请实施例,下面以一个具体应用场景为例对本申请实施例进行详细描述。In order to understand the embodiments of the present application more clearly, the following describes the embodiments of the present application in detail by taking a specific application scenario as an example.

该场景中,用户A使用第一客户端设备,用户B使用第二客户端设备,用户C使用第三客户端设备,用户D使用第四客户端设备。In this scenario, user A uses the first client device, user B uses the second client device, user C uses the third client device, and user D uses the fourth client device.

当前,在501中,用户A具有主讲权限,正在演讲,并通过第一客户端设备控制演讲文件A,第二客户端设备、第三客户端设备和第四客户端设备上与第一客户端设备同步显示该演讲文件A。Currently, in 501, user A has the right to speak, is speaking, and controls the speech file A through the first client device, the second client device, the third client device and the fourth client device communicate with the first client The device displays the speech file A synchronously.

此后,在502中,用户B针对用户A的演讲内容有问题需要讨论,因此用户B通过第二客户端设备向服务器发送主讲权限获取请求。在503中,服务器接收到该主讲权限获取请求后,对该请求鉴权通过,则将当前主讲权限用户A的主讲权限收回,用户A自动获得观众权限,在504中,服务器向用户A所在的第一客户端设备发送收回主讲权限的通知,并通知其停止演讲,在505中,服务器将主讲权限分配给用户B,并向用户B所在的第二客户端设备发送通知,以通知用户B获得主讲权限。Afterwards, in 502, user B has a problem with the content of the speech of user A and needs to be discussed, so user B sends a request for obtaining a speech right to the server through the second client device. In 503, after the server receives the speaker permission acquisition request, and the request is authenticated, the current speaker permission user A's speaker permission is withdrawn, and user A automatically obtains the audience permission. The first client device sends a notification for withdrawing the speaker permission and notifies it to stop speaking. In 505, the server assigns the speaker permission to user B, and sends a notification to the second client device where user B is located to notify user B to obtain Speaker authority.

在506中,用户B获得主讲权限后,从服务器提供的演讲用多媒体文件链接地址列表中选择演讲文件A。由于用户B当前为主讲权限用户,其多媒体文件播放窗口中被禁用的播放控制控件变为可用。用户B使用该窗口中的播放控制控件对演讲文件A进行播放控制。第一客户端设备、第三客户端设备和第四客户端设备上与第二客户端设备同步显示该演讲文件A。In 506, after the user B obtains the right to speak, he selects the lecture file A from the address list of multimedia files for lectures provided by the server. Since User B is currently the speaker-authorized user, the disabled playback control controls in his multimedia file playback window become available. User B uses the playback control controls in the window to control the playback of the speech file A. The speech file A is displayed on the first client device, the third client device and the fourth client device synchronously with the second client device.

此后,用户B讨论结束后,需要放弃主讲权限,则在507中,用户B通过所在第二客户端设备向服务器发送主讲权限放弃请求,该请求中携带作为新的主讲权限用户的用户A的信息。在508中,服务器接收到该请求后,收回用户B的主讲权限,用户B自动获得观众权限,服务器将主讲权限分配给用户A,并向用户A所在的第一客户端设备发送通知,以通知用户A重新获得主讲权限。Afterwards, after the discussion of user B, user B needs to give up the speaking authority, then in 507, user B sends a request for giving up the speaking authority to the server through the second client device where he is located, and the request carries the information of user A who is the new speaking authority user . In 508, after receiving the request, the server withdraws user B's speaking authority, user B automatically obtains audience authority, the server assigns the speaking authority to user A, and sends a notification to the first client device where user A is located to notify User A regains the lecturer permission.

此后,在509中,用户A进行演讲。在510中,当用户A演讲结束。此后在511中,用户C有演讲的需求,则用户C通过所在的第三客户端设备向服务器发送主讲权限获取请求。服务器收到该请求后,收回用户A的主讲权限,用户A自动获得观众权限,并在512中服务器向用户A所在的第一客户端设备发送通知,以通知用户A收回其主讲权限,在513中,服务器将主讲权限分配给用户C,并向用户C所在的第三客户端设备发送通知,以通知其获得主讲权限。Thereafter, in 509, user A makes a speech. In 510, when user A's speech ends. Afterwards, in 511, if user C needs to speak, then user C sends a request for obtaining a speaker permission to the server through the third client device where user C is located. After the server receives the request, it revokes user A's speaking authority, user A automatically obtains audience authority, and in 512 the server sends a notification to the first client device where user A is located to notify user A to withdraw his speaking authority, and in 513 , the server assigns the speaking authority to user C, and sends a notification to the third client device where user C is located to notify him of obtaining the speaking authority.

用户C获得主讲权限后,在514中将演讲文件C上传至服务器,服务器保存该文件C,并为其生成链接地址。当用户C从服务器提供的演讲文件链接地址列表中选择文件C,并打开该文件。在515中,服务器将该文件C发送给第一客户端设备、第二客户端设备和第四客户端设备,这些客户端设备接收到该文件后在其多媒体播放窗口中显示该文件的首页。在516中,用户C开始演讲,并通过其所在的第三客户端设备向服务器发送针对文件C的播放控制指令,以使服务器将该播放控制指令发送给其他客户端设备,从而使得第一客户端设备、第二客户端设备和第四客户端设备上与第三客户端设备同步显示该演讲文件C。After the user C obtains the permission to speak, upload the speech file C to the server in 514, and the server saves the file C and generates a link address for it. When user C selects file C from the address list of speech file links provided by the server, and opens the file. In 515, the server sends the file C to the first client device, the second client device and the fourth client device, and after receiving the file, these client devices display the first page of the file in their multimedia playback windows. In 516, user C starts to speak, and sends a playback control instruction for file C to the server through the third client device where user C is located, so that the server sends the playback control instruction to other client devices, so that the first client The speech file C is displayed on the terminal device, the second client device and the fourth client device synchronously with the third client device.

在用户C的演讲过程中,在517中,用户D通过所在第四客户端设备向服务器发送主讲权限获取请求。在518中,服务器收到该请求后,根据权限管理策略判决为拒绝将主讲权限分配给用户D,则在519中向用户D所在的第四客户端设备发送主讲权限获取响应,以通知拒绝其请求。用户D保持当前的观众权限。During the speech of the user C, in 517 , the user D sends a request for obtaining the speaker permission to the server through the fourth client device where he is located. In 518, after receiving the request, the server decides to refuse to assign the speaker permission to user D according to the rights management policy, and then sends a speaker permission acquisition response to the fourth client device where user D is located in 519 to notify the refusal of the speaker permission. ask. User D maintains the current viewer rights.

本申请的上述实施例中,演讲者和观众角色可以随时切换,任何人只要拥有权限,在自己的座位上使用客户端设备即可进行演讲控制、发起新的演讲或授权他人进行演讲,解决了现有技术中形式单一、互动性差的问题,用户可以通过所使用的客户端设备观看与演讲者同步播放的文件,甚至远程用户也可以观看与演讲者同步播放的文件,从而可以提升用户的参与感和演讲效果。另外,本申请的上述实施例中,想参与演讲的用户可以及时分享观点和文件。In the above-mentioned embodiment of the present application, the roles of the speaker and the audience can be switched at any time. Anyone who has permission can use the client device at their seat to control the speech, initiate a new speech, or authorize others to give a speech. The problem in the prior art is that the form is single and the interaction is poor. Users can view the files played synchronously with the speaker through the used client device, and even remote users can watch the files played synchronously with the speaker, thereby enhancing user participation. sense and presentation. In addition, in the above-mentioned embodiments of the present application, users who want to participate in the speech can share opinions and documents in time.

可以理解的是,本申请实施例为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本申请中所公开的实施例描述的各示例的单元(器、器件)及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的技术方案的范围。It can be understood that, in order to realize the above-mentioned functions, the embodiments of the present application include corresponding hardware structures and/or software modules for performing each function. With reference to the units (devices, devices) and algorithm steps of each example described in the embodiments disclosed in this application, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present application.

本申请实施例可以根据上述方法示例对执行上述方法的装置进行功能单元(器、器件)的划分,例如,可以对应各个功能划分各个功能单元(器、器件),也可以将两个或两个以上的功能集成在一个处理单元(器、器件)中。上述集成的单元(器、器件)既可以采用硬件的形式实现,也可以采用软件功能单元(器、器件)的形式实现。需要说明的是,本申请实施例中对单元(器、器件)的划分是示意性的,仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, functional units (devices, devices) may be divided for the apparatus that executes the above methods according to the above method examples. For example, each functional unit (device, device) may be divided according to each function, or two or two The above functions are integrated in a processing unit (device, device). The above-mentioned integrated units (devices, devices) can be implemented in the form of hardware, and can also be implemented in the form of software functional units (devices, devices). It should be noted that the division of units (devices, devices) in the embodiments of the present application is schematic, and is only a logical function division, and other division methods may be used in actual implementation.

在采用集成的单元(器、器件)的情况下,图6示出了本申请实施例提供的一种服务器的结构示意图。参阅图6所示,服务器600包括:播放控制模601,进一步地还可包括权限管理模块602,进一步地还可包括文件管理模块603。In the case of using an integrated unit (device, device), FIG. 6 shows a schematic structural diagram of a server provided by an embodiment of the present application. Referring to FIG. 6 , the server 600 includes: a playback control module 601 , further includes a rights management module 602 , and further includes a file management module 603 .

播放控制模块601用于:接收第一客户端设备发送的播放控制指令,所述第一客户端设备的用户被分配有主讲权限,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;以及,将所述播放控制指令发送给第二客户端设备,所述第二客户端设备的用户被分配有观众权限,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。The playback control module 601 is configured to: receive a playback control instruction sent by a first client device, a user of the first client device is assigned with a lecture authority, and the playback control instruction sent by the first client device is used to control the playback of the multimedia files uploaded by the first client device to the server; and send the playback control instruction to the second client device, where the user of the second client device is assigned audience rights, and sends The play control instruction to the second client device is used to control the play of the multimedia file played by the second client device.

可选地,所述播放控制模块,还用于:Optionally, the playback control module is also used for:

接收第一客户端设备发送的播放控制指令之后,将所述播放控制指令发送给播放设备,发送给所述播放设备的播放控制指令用于对所述播放设备播放的所述多媒体文件进行播放控制。After receiving the playback control instruction sent by the first client device, send the playback control instruction to the playback device, and the playback control instruction sent to the playback device is used to perform playback control on the multimedia file played by the playback device .

可选地,权限管理模块602,用于在所述第一客户端设备的用户被分配主讲权限之前,接收第一客户端设备发送的主讲权限获取请求,所述主讲权限获取请求是未分配有主将权限的用户通过所述第一客户端设备发送的;以及,对所述主讲权限获取请求进行鉴权,并在鉴权通过后将主讲权限分配给所述第一客户端设备的用户。Optionally, the rights management module 602 is configured to receive a request for obtaining a lecturer permission sent by the first client device before the user of the first client device is assigned the lecturer rights, and the request for obtaining the lecturer rights is not allocated with the lecturer rights. sent by the user with the speaking authority through the first client device; and authenticating the request for obtaining the speaking authority, and assigning the speaking authority to the user of the first client device after the authentication is passed.

可选地,权限管理模块602还用于:若接收到所述主讲权限获取请求后,判断第三客户端设备的用户已分配有主讲权限,则收回所述第三客户端设备的用户的主讲权限,为所述第三客户端设备的用户分配观众权限。Optionally, the authority management module 602 is further configured to: if it is judged that the user of the third client device has been assigned the authority to speak after receiving the request for obtaining the speaking authority, then withdraw the speaker of the user of the third client device. permissions, assigning audience permissions to the users of the third client device.

可选地,文件管理模块603,用于将主讲权限分配给所述第一客户端设备的用户之后,接收所述第一客户端设备上传的所述多媒体文件,并将所述多媒体文件发送给所述第二客户端。Optionally, the file management module 603 is configured to receive the multimedia file uploaded by the first client device after assigning the speaker authority to the user of the first client device, and send the multimedia file to the user of the first client device. the second client.

可选地,权限管理模块602还用于:接收所述第一客户端设备发送的主讲权限放弃请求,根据所述主讲权限放弃请求,收回所述第一客户端设备的用户的主讲权限。Optionally, the authority management module 602 is further configured to: receive a request for giving up the speaking authority sent by the first client device, and withdraw the speaking authority of the user of the first client device according to the giving up request for the speaking authority.

可选地,权限管理模块602还用于:收回所述第一客户端设备的用户的主讲权限之后,确定第四客户端设备的用户为新的具有主讲权限的用户,并将主讲权限分配给第四客户端设备的用户。Optionally, the authority management module 602 is further configured to: after withdrawing the speaking authority of the user of the first client device, determine that the user of the fourth client device is a new user with the speaking authority, and assign the speaking authority to the user. The user of the fourth client device.

可选地,权限管理模块602具体用于:根据所述主讲权限放弃请求携带的新的主讲权限用户的指示信息,确定第四客户端设备的用户为新的具有主讲权限的用户,其中所述指示信息用于指示第四客户端设备的用户;或者,从请求获取主讲权限的用户队列中选取第四客户端设备的用户作为新的具有主讲权限的用户。Optionally, the authority management module 602 is specifically configured to: determine the user of the fourth client device as a new user with the speaking authority according to the indication information of the new speaking authority user carried in the speaking authority relinquishment request, wherein the speaking authority The indication information is used to indicate the user of the fourth client device; or, the user of the fourth client device is selected from a queue of users requesting to acquire the presenting authority as a new user with presenting authority.

图7示出了本申请实施例提供的服务器700的结构示意图,即示出了服务器600的另一结构示意图。参阅图7所示,服务器700包括处理器701、网络接口702。其中,处理器701也可以为控制器。所述处理器701被配置为支持服务器600执行图2至图5中任一流程所涉及的功能。网络接口702被配置为支持服务器600收发消息的功能。服务器700还可以包括存储器703,存储器703用于与处理器701耦合,其保存该设备必要的程序指令和数据。其中,处理器701、网络接口702和存储器703相连,该存储器703用于存储指令,该处理器701用于执行该存储器703存储的指令,以控制网络接口702收发消息,完成上述方法中服务器600执行相应功能的步骤。FIG. 7 shows a schematic structural diagram of a server 700 provided by an embodiment of the present application, that is, another schematic structural diagram of the server 600 . Referring to FIG. 7 , the server 700 includes a processor 701 and a network interface 702 . The processor 701 may also be a controller. The processor 701 is configured to support the server 600 to perform the functions involved in any of the processes in FIGS. 2 to 5 . The network interface 702 is configured to support the function of the server 600 to send and receive messages. The server 700 may also include a memory 703 for coupling with the processor 701, which holds program instructions and data necessary for the device. The processor 701, the network interface 702 are connected to the memory 703, the memory 703 is used for storing instructions, and the processor 701 is used for executing the instructions stored in the memory 703, so as to control the network interface 702 to send and receive messages, and complete the server 600 in the above method. Steps to perform the corresponding function.

本申请实施例中,服务器600以及服务器700所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。In the embodiments of the present application, for the concepts related to the technical solutions provided by the embodiments of the present application, the explanations and detailed descriptions and other steps involved in the server 600 and the server 700, please refer to the descriptions of the foregoing methods or other embodiments. No further elaboration here.

需要说明的是,本申请实施例上述涉及的处理器可以是中央处理器(centralprocessing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。其中,所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。It should be noted that the above-mentioned processor in the embodiments of the present application may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), or an application-specific integrated circuit (application-specific integrated circuit). circuit, ASIC), field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. Wherein, the memory may be integrated in the processor, or may be provided separately from the processor.

在采用集成的单元(器、器件)的情况下,图8示出了本申请实施例提供的一种客户端设备的结构示意图。参阅图8所示,客户端设备800包括:播放控制模801,进一步地还可包括权限请求模块802,进一步地还可包括文件上传模块803。In the case of using an integrated unit (device, device), FIG. 8 shows a schematic structural diagram of a client device provided by an embodiment of the present application. Referring to FIG. 8 , the client device 800 includes: a playback control module 801 , further includes a permission request module 802 , and further includes a file upload module 803 .

播放控制模块801用于:在所述客户端设备作为主讲权限用户的客户端设备时,向服务器发送播放控制指令,发送的所述播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;以及,在所述客户端设备作为观众权限用户的客户端设备时,接收所述服务器发送的播放控制指令,并根据接收到的播放控制指令对所述客户端设备播放的多媒体文件进行播放控制。The playback control module 801 is configured to: when the client device is the client device of the user with the speaker authority, send a playback control instruction to the server, and the sent playback control instruction is used to upload the first client device to the server. Perform playback control on the multimedia files of the server; and, when the client device is used as a client device of a viewer authority user, receive a playback control instruction sent by the server, and perform playback control on the client device according to the received playback control instruction. Play control of multimedia files played by the device.

可选地,权限请求模块802用于:在所述客户端设备作为观众权限用户的客户端设备时,向所述服务器发送主讲权限获取请求,并接收所述服务器发送的主讲权限获取响应。Optionally, the permission request module 802 is configured to: when the client device is the client device of the audience permission user, send a request for obtaining the speaker permission to the server, and receive a response for obtaining the speaker permission sent by the server.

可选地,权限请求模块802用于:在所述客户端设备作为主讲权限用户的客户端设备时,向所述服务器发送主讲权限放弃请求,并接收所述服务器发送的主讲权限放弃响应。Optionally, the permission request module 802 is configured to: when the client device is a client device of a user with speaking rights, send a request for giving up speaking rights to the server, and receive a response for giving up speaking rights sent by the server.

可选地,所述主讲权限放弃请求携带新的主讲权限用户的指示信息。Optionally, the presenting permission waiver request carries indication information of a new presenting authority user.

可选地,文件上传模块803用于:在所述客户端设备作为主讲权限用户的客户端设备时,向服务器上传多媒体文件。Optionally, the file uploading module 803 is configured to: upload the multimedia file to the server when the client device is the client device of the user with the presenting authority.

图9示出了本申请实施例提供的客户端设备900的结构示意图,即示出了客户端设备800的另一结构示意图。参阅图9所示,客户端设备900包括处理器901、网络接口902。其中,处理器901也可以为控制器。所述处理器901被配置为支持客户端设备800执行图2至图5中任一流程所涉及的功能。网络接口902被配置为支持客户端设备800收发消息的功能。客户端设备900还可以包括存储器903,存储器903用于与处理器901耦合,其保存该设备必要的程序指令和数据。其中,处理器901、网络接口902和存储器903相连,该存储器903用于存储指令,该处理器901用于执行该存储器903存储的指令,以控制网络接口902收发消息,完成上述方法中客户端设备800执行相应功能的步骤。FIG. 9 shows a schematic structural diagram of a client device 900 provided by an embodiment of the present application, that is, another schematic structural diagram of the client device 800 . Referring to FIG. 9 , the client device 900 includes a processor 901 and a network interface 902 . The processor 901 may also be a controller. The processor 901 is configured to support the client device 800 to perform the functions involved in any of the processes in FIGS. 2 to 5 . The network interface 902 is configured to support the functionality of the client device 800 to send and receive messages. Client device 900 may also include memory 903 for coupling with processor 901 that holds program instructions and data necessary for the device. The processor 901, the network interface 902 are connected to the memory 903, the memory 903 is used for storing instructions, and the processor 901 is used for executing the instructions stored in the memory 903, so as to control the network interface 902 to send and receive messages, and complete the client in the above method. The device 800 performs the steps of the corresponding function.

本申请实施例中,客户端设备700以及客户端设备900所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。In the embodiments of the present application, for the concepts related to the technical solutions provided by the embodiments of the present application involved in the client device 700 and the client device 900, for explanations and detailed descriptions and other steps, please refer to the foregoing methods or other embodiments regarding these contents description, which will not be repeated here.

需要说明的是,本申请实施例上述涉及的处理器可以是中央处理器(centralprocessing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。其中,所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。It should be noted that the above-mentioned processor in the embodiments of the present application may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), or an application-specific integrated circuit (application-specific integrated circuit). circuit, ASIC), field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. Wherein, the memory may be integrated in the processor, or may be provided separately from the processor.

本申请实施例还提供一种计算机存储介质,用于存储一些指令,这些指令被执行时,可以完成前述服务器所涉及的任意一种方法。Embodiments of the present application further provide a computer storage medium for storing some instructions, and when these instructions are executed, any one of the methods involved in the foregoing server can be implemented.

本申请实施例还提供一种计算机存储介质,用于存储一些指令,这些指令被执行时,可以完成前述客户端设备所涉及的任意一种方法。Embodiments of the present application further provide a computer storage medium for storing some instructions, and when these instructions are executed, any one of the methods involved in the foregoing client device can be implemented.

本申请实施例还提供一种计算机程序产品,用于存储计算机程序,该计算机程序用于执行上述方法实施例中涉及的交互方法。Embodiments of the present application further provide a computer program product for storing a computer program, where the computer program is used to execute the interaction method involved in the foregoing method embodiments.

本领域内的技术人员应明白,本申请实施例可提供为方法、系统、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the embodiments of the present application 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 present application may take the form of a computer program product implemented 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.

本申请实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a 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 apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

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

Claims (15)

Translated fromChinese
1.一种交互方法,其特征在于,包括:1. an interactive method, is characterized in that, comprises:服务器接收第一客户端设备发送的播放控制指令,所述第一客户端设备的用户被分配有主讲权限,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;The server receives the playback control instruction sent by the first client device, the user of the first client device is assigned the right to speak, and the playback control instruction sent by the first client device is used for the first client device The multimedia files uploaded to the server are controlled for playback;所述服务器将所述播放控制指令发送给第二客户端设备,所述第二客户端设备的用户被分配有观众权限,发送给所述第二客户端设备的播放控制指令用于对所述第二客户端设备播放的所述多媒体文件进行播放控制。The server sends the playback control instruction to the second client device, the user of the second client device is assigned with viewer rights, and the playback control instruction sent to the second client device is used to The multimedia file played by the second client device performs playback control.2.如权利要求1所述的方法,其特征在于,所述服务器接收第一客户端设备发送的播放控制指令之后,还包括:2. The method according to claim 1, wherein after receiving the playback control instruction sent by the first client device, the server further comprises:所述服务器将所述播放控制指令发送给播放设备,发送给所述播放设备的播放控制指令用于对所述播放设备播放的所述多媒体文件进行播放控制。The server sends the playback control instruction to the playback device, and the playback control instruction sent to the playback device is used to control playback of the multimedia file played by the playback device.3.如权利要求1所述的方法,其特征在于,所述第一客户端设备的用户被分配主讲权限之前,所述方法还包括:3. The method of claim 1, wherein, before the user of the first client device is assigned the presenting authority, the method further comprises:所述服务器接收第一客户端设备发送的主讲权限获取请求,所述主讲权限获取请求是未分配有主将权限的用户通过所述第一客户端设备发送的;receiving, by the server, a speaker permission acquisition request sent by the first client device, where the speaker permission acquisition request is sent by a user who is not assigned the speaker permission through the first client device;所述服务器对所述主讲权限获取请求进行鉴权,并在鉴权通过后将主讲权限分配给所述第一客户端设备的用户。The server authenticates the speaker permission acquisition request, and assigns the speaker permission to the user of the first client device after the authentication is passed.4.如权利要求3所述的方法,其特征在于,若所述服务器接收到所述主讲权限获取请求后,判断第三客户端设备的用户已分配有主讲权限,则所述方法还包括:4. The method according to claim 3, wherein, if the server determines that the user of the third client device has been assigned with the speaker permission after receiving the speaker permission acquisition request, the method further comprises:所述服务器收回所述第三客户端设备的用户的主讲权限,为所述第三客户端设备的用户分配观众权限。The server withdraws the presenting authority of the user of the third client device, and assigns the audience authority to the user of the third client device.5.如权利要求3所述的方法,其特征在于,将主讲权限分配给所述第一客户端设备的用户之后,还包括:5. The method according to claim 3, wherein after assigning the speaking authority to the user of the first client device, the method further comprises:所述服务器接收所述第一客户端设备上传的所述多媒体文件;receiving, by the server, the multimedia file uploaded by the first client device;所述服务器将所述多媒体文件发送给所述第二客户端。The server sends the multimedia file to the second client.6.如权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises:所述服务器接收所述第一客户端设备发送的主讲权限放弃请求;receiving, by the server, a request for giving up the speaker permission sent by the first client device;所述服务器根据所述主讲权限放弃请求,收回所述第一客户端设备的用户的主讲权限。The server withdraws the presenting authority of the user of the first client device according to the presenting authority abandonment request.7.如权利要求6所述的方法,其特征在于,所述服务器收回所述第一客户端设备的用户的主讲权限之后,还包括:7. The method according to claim 6, wherein after the server reclaims the presenting authority of the user of the first client device, the method further comprises:所述服务器确定第四客户端设备的用户为新的具有主讲权限的用户,并将主讲权限分配给第四客户端设备的用户。The server determines that the user of the fourth client device is a new user with the presenting authority, and assigns the presenting authority to the user of the fourth client device.8.如权利要求7所述的方法,其特征在于,所述服务器确定第四客户端设备的用户为新的具有主讲权限的用户,包括:8. The method according to claim 7, wherein the server determines that the user of the fourth client device is a new user with presenting authority, comprising:所述服务器根据所述主讲权限放弃请求携带的新的主讲权限用户的指示信息,确定第四客户端设备的用户为新的具有主讲权限的用户,其中所述指示信息用于指示第四客户端设备的用户;或者The server determines that the user of the fourth client device is a new user with the presenting authority according to the indication information of the user with the new presenting authority carried in the presenting authority relinquishment request, wherein the indication information is used to indicate the fourth client the user of the device; or所述服务器从请求获取主讲权限的用户队列中选取第四客户端设备的用户作为新的具有主讲权限的用户。The server selects the user of the fourth client device from the queue of users requesting to acquire the presenting authority as a new user with presenting authority.9.一种交互方法,其特征在于,包括:9. An interactive method, characterized in that, comprising:客户端设备作为主讲权限用户的客户端设备时,向服务器发送播放控制指令,所述第一客户端设备发送的播放控制指令用于对所述第一客户端设备上传至所述服务器的多媒体文件进行播放控制;When the client device is the client device of the user with the presenting authority, it sends a playback control instruction to the server, and the playback control instruction sent by the first client device is used for the multimedia files uploaded by the first client device to the server. for playback control;所述客户端设备作为观众权限用户的客户端设备时,接收所述服务器发送的播放控制指令,并根据接收到的播放控制指令对所述客户端设备播放的多媒体文件进行播放控制。When the client device is used as the client device of the audience authority user, it receives the playback control instruction sent by the server, and performs playback control on the multimedia file played by the client device according to the received playback control instruction.10.如权利要求9所述的方法,其特征在于,所述方法还包括:10. The method of claim 9, wherein the method further comprises:所述客户端设备作为观众权限用户的客户端设备时,向所述服务器发送主讲权限获取请求,并接收所述服务器发送的主讲权限获取响应。When the client device is the client device of the audience authority user, it sends a speaker permission acquisition request to the server, and receives a speaker permission acquisition response sent by the server.11.如权利要求10所述的方法,其特征在于,所述方法还包括:11. The method of claim 10, further comprising:所述客户端设备作为主讲权限用户的客户端设备时,所述客户端设备向服务器上传多媒体文件。When the client device is used as the client device of the user with the presenting authority, the client device uploads the multimedia file to the server.12.如权利要求9所述的方法,其特征在于,所述方法还包括:12. The method of claim 9, further comprising:所述客户端设备作为主讲权限用户的客户端设备时,向所述服务器发送主讲权限放弃请求,并接收所述服务器发送的主讲权限放弃响应。When the client device is the client device of the speaker authority user, it sends a speaker permission waiver request to the server, and receives a speaker permission waiver response sent by the server.13.如权利要求12所述的方法,其特征在于,所述主讲权限放弃请求携带新的主讲权限用户的指示信息。13 . The method of claim 12 , wherein the speaker permission relinquishment request carries indication information of a new speaker permission user. 14 .14.一种服务器,其特征在于,包括:处理器、存储器、收发机,所述处理器、存储器和收发机通过总线连接;所述处理器,用于读取存储器中的程序,执行如权利要求1至8中任一项所述的方法。14. A server, comprising: a processor, a memory, and a transceiver, wherein the processor, the memory, and the transceiver are connected through a bus; the processor is used to read a program in the memory, and execute the program as claimed in the right The method of any one of claims 1 to 8.15.一种终端,其特征在于,包括:处理器、存储器、收发机,所述处理器、存储器和收发机通过总线连接;所述处理器,用于读取存储器中的程序,执行如权利要求9至13中任一项所述的方法。15. A terminal, characterized in that it comprises: a processor, a memory, and a transceiver, wherein the processor, the memory, and the transceiver are connected through a bus; the processor is used for reading a program in the memory, and executes the program as claimed in the right The method of any one of claims 9 to 13.
CN201810001248.8A2018-01-022018-01-02A kind of exchange method and devicePendingCN109996024A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810001248.8ACN109996024A (en)2018-01-022018-01-02A kind of exchange method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810001248.8ACN109996024A (en)2018-01-022018-01-02A kind of exchange method and device

Publications (1)

Publication NumberPublication Date
CN109996024Atrue CN109996024A (en)2019-07-09

Family

ID=67128244

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810001248.8APendingCN109996024A (en)2018-01-022018-01-02A kind of exchange method and device

Country Status (1)

CountryLink
CN (1)CN109996024A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110430454A (en)*2019-07-192019-11-08福建星网视易信息系统有限公司A kind of method and apparatus of more equipment Real-time Interactive Demonstrations
WO2021164260A1 (en)*2020-02-202021-08-26平安科技(深圳)有限公司Conference data synchronization method and apparatus, computer device, and storage medium
CN114024694A (en)*2020-07-162022-02-08深圳瞬玩科技有限公司 Cloud mobile phone-based remote conference method and system
CN114567747A (en)*2020-11-272022-05-31北京新媒传信科技有限公司Conference data transmission method and conference system

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150006680A1 (en)*2013-06-282015-01-01Via Technologies, Inc.Multimedia broadcasting system in multiple node structure and multimedia broadcasting control method thereof
CN104424824A (en)*2013-08-262015-03-18鸿合科技有限公司Teaching interaction method and apparatus for remote multimedia interactive teaching
CN104769656A (en)*2012-08-172015-07-08香港意学教育科技有限公司 The method and system of classroom active learning
CN105844987A (en)*2016-05-302016-08-10深圳科润视讯技术有限公司Multimedia teaching interaction operating method and device
CN106162043A (en)*2015-04-142016-11-23杭州施强网络科技有限公司Multimedia file demenstration method in a kind of video conferencing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104769656A (en)*2012-08-172015-07-08香港意学教育科技有限公司 The method and system of classroom active learning
US20150006680A1 (en)*2013-06-282015-01-01Via Technologies, Inc.Multimedia broadcasting system in multiple node structure and multimedia broadcasting control method thereof
CN104424824A (en)*2013-08-262015-03-18鸿合科技有限公司Teaching interaction method and apparatus for remote multimedia interactive teaching
CN106162043A (en)*2015-04-142016-11-23杭州施强网络科技有限公司Multimedia file demenstration method in a kind of video conferencing system
CN105844987A (en)*2016-05-302016-08-10深圳科润视讯技术有限公司Multimedia teaching interaction operating method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110430454A (en)*2019-07-192019-11-08福建星网视易信息系统有限公司A kind of method and apparatus of more equipment Real-time Interactive Demonstrations
CN110430454B (en)*2019-07-192021-06-22福建星网视易信息系统有限公司Multi-device real-time interactive display method and device
WO2021164260A1 (en)*2020-02-202021-08-26平安科技(深圳)有限公司Conference data synchronization method and apparatus, computer device, and storage medium
CN114024694A (en)*2020-07-162022-02-08深圳瞬玩科技有限公司 Cloud mobile phone-based remote conference method and system
CN114024694B (en)*2020-07-162023-07-04深圳瞬玩科技有限公司Remote conference method and system based on cloud mobile phone
CN114567747A (en)*2020-11-272022-05-31北京新媒传信科技有限公司Conference data transmission method and conference system

Similar Documents

PublicationPublication DateTitle
KR102200304B1 (en)Method and apparatus for controlling contents shared between devices in a wireless communication system
US10382501B2 (en)Multifunction collaboration within an electronic meeting
US10069881B2 (en)Customized information setup, access and sharing during a live conference
US20200267195A1 (en)Closed network video presentation
US10284609B2 (en)Multifunction collaboration within an electronic meeting
US9055193B2 (en)System and method of a remote conference
CN109996024A (en)A kind of exchange method and device
KR20150032070A (en)Method for managing control right, client device thereof, and master device thereof
US9826572B2 (en)Wireless enhanced projector
TW201442503A (en)System and method for sharing data via cloud
US20220368740A1 (en)Coordinating output of content during a multiuser communication session
JP7490124B2 (en) INTERACTION METHOD, DEVICE AND ELECTRONIC DEVICE
WO2015144024A1 (en)Multi-screen interaction method and device
US9031378B2 (en)Method of managing multiple wireless video traffic and electronic device thereof
US20160179456A1 (en)Spontaneous Collaboration Apparatus, System and Methods thereof
JP2025507420A (en) Permission processing method, device, equipment, and medium
US9088550B1 (en)Love latency content presentation
CN114827094B (en)Cloud desktop-based authority control method and device, computer equipment and medium
US11632519B2 (en)System enabling multiple screens sharing in an online meeting
CN107734364A (en) Projector control method, system, and computer-readable storage medium
CN106068635A (en)The method and apparatus that content is provided in a communications system
US11924256B2 (en)Conference control method, server and computer storage medium
TW201440476A (en)System and method for desktop sharing
US12418433B2 (en)Streaming secondary device content on a web conference
CN110868620A (en)Remote interaction system and method based on television

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190709


[8]ページ先頭

©2009-2025 Movatter.jp