CN111783041A - A method, device, electronic device and storage medium for playing multimedia information - Google Patents
A method, device, electronic device and storage medium for playing multimedia information Download PDFInfo
- Publication number
- CN111783041A CN111783041A CN202010639605.0A CN202010639605A CN111783041A CN 111783041 A CN111783041 A CN 111783041A CN 202010639605 A CN202010639605 A CN 202010639605A CN 111783041 A CN111783041 A CN 111783041A
- Authority
- CN
- China
- Prior art keywords
- multimedia information
- playback
- playing
- target
- target multimedia
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本申请提供了一种多媒体信息的播放方法、装置、电子设备及存储介质,其中,该多媒体信息的播放方法包括:在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;播放所述目标多媒体信息,并监测当前播放的所述目标多媒体信息的播放参数值;若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。本申请通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。
The present application provides a method, device, electronic device and storage medium for playing multimedia information, wherein the method for playing multimedia information includes: after sending a request for playing target multimedia information to a server, receiving the target multimedia information; play the target multimedia information, and monitor the playback parameter value of the target multimedia information currently being played; if the playback parameter value of the target multimedia information does not meet the preset playback conditions, stop playing the target multimedia information multimedia information. In the present application, by monitoring the playback parameters of the multimedia information, it is judged whether the user has opened the screen recording software, and the monitoring efficiency of the playback authority of the multimedia information is improved.
Description
技术领域technical field
本申请涉及信息安全技术领域,具体而言,涉及一种多媒体信息的播放方法、装置、电子设备及存储介质。The present application relates to the technical field of information security, and in particular, to a method, device, electronic device and storage medium for playing multimedia information.
背景技术Background technique
通常情况下,多媒体信息对应有播放权限,即只有在获取待播放的多媒体信息的播放权限后,才能够实现多媒体信息的完整播放。Normally, multimedia information corresponds to a play right, that is, only after obtaining the play right of the multimedia information to be played, the complete play of the multimedia information can be realized.
目前,获取多媒体信息播放权限的方式为:赋予特定播放端(比如视频播放软件、用户终端)目标多媒体信息的播放权限,用户通过特定播放端获取目标多媒体信息。At present, the way to obtain the playback authority of multimedia information is as follows: granting a specific playback terminal (eg, video playback software, user terminal) the playback authority of the target multimedia information, and the user obtains the target multimedia information through the specific playback terminal.
但是,用户在使用特定播放端播放多媒体信息时,可能会使用录屏软件录制当前播放的多媒体信息,通过该种方式,用户不需要获取播放权限,就可以观看多媒体信息的录制版本,播放权限监测效率低。However, when a user uses a specific playback terminal to play multimedia information, he may use screen recording software to record the currently playing multimedia information. In this way, the user can watch the recorded version of the multimedia information without obtaining the playback permission, and monitor the playback permission. low efficiency.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例的目的在于提供一种多媒体信息的播放方法、装置、电子设备及存储介质,通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。In view of this, the purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for playing multimedia information. Monitoring efficiency of playback rights.
第一方面,本申请实施例提供了一种多媒体信息的播放方法,所述播放方法包括:In a first aspect, an embodiment of the present application provides a method for playing multimedia information, and the method for playing includes:
在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;After sending the playback request of the target multimedia information to the server, receive the target multimedia information returned by the server;
播放所述目标多媒体信息,并监测当前播放的所述目标多媒体信息的播放参数值;Playing the target multimedia information, and monitoring the playback parameter value of the target multimedia information currently being played;
若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。If the playback parameter value of the target multimedia information does not meet the preset playback conditions, stop playing the target multimedia information.
在一种可能的实施方式中,所述目标多媒体信息的播放参数值不满足预设的播放条件,包括:In a possible implementation manner, the playback parameter value of the target multimedia information does not meet the preset playback conditions, including:
所述目标多媒体信息的播放参数值与本地设置的目标参数值不一致。The playback parameter value of the target multimedia information is inconsistent with the locally set target parameter value.
在一种可能的实施方式中,所述多媒体信息的播放方法还包括:In a possible implementation, the method for playing multimedia information further includes:
若所述目标多媒体信息的播放参数值不满足预设的播放条件,则播放提示信息,所述提示信息用于提示关闭录屏功能。If the playback parameter value of the target multimedia information does not meet the preset playback conditions, prompt information is played, and the prompt information is used to prompt to turn off the screen recording function.
在一种可能的实施方式中,所述接收所述服务器返回的所述目标多媒体信息,包括:In a possible implementation manner, the receiving the target multimedia information returned by the server includes:
接收所述服务器返回的已加密的目标多媒体信息;receiving the encrypted target multimedia information returned by the server;
所述播放所述目标多媒体信息,包括:The playing the target multimedia information includes:
基于预设的解密规则,对所述已加密的目标多媒体信息进行解密处理,得到目标多媒体信息,并对所述目标多媒体信息进行播放。Based on a preset decryption rule, the encrypted target multimedia information is decrypted to obtain the target multimedia information, and the target multimedia information is played.
第二方面,本申请实施例提供了另一种多媒体信息的播放方法,所述播放方法包括:In a second aspect, the embodiments of the present application provide another method for playing multimedia information, and the method for playing includes:
在接收到上传端发送的多媒体信息后,存储所述多媒体信息;After receiving the multimedia information sent by the uploader, store the multimedia information;
针对未完成上传的任一多媒体信息,若接收到上传端发送的针对该多媒体信息的继续上传请求后,查询该多媒体信息对应的上传进度标识,并将所述上传进度标识返回给上传端,以使上传端继续上传该多媒体信息对应的剩余多媒体信息;For any piece of multimedia information that has not been uploaded, after receiving a request for continuing uploading of the multimedia information sent by the uploader, query the upload progress identifier corresponding to the multimedia information, and return the upload progress identifier to the uploader, so as to Make the uploading end continue to upload the remaining multimedia information corresponding to the multimedia information;
在接收到播放端发送的目标多媒体信息的播放请求后,查找所述目标多媒体信息,并将所述目标多媒体信息返回给所述播放端。After receiving the playback request of the target multimedia information sent by the player, search for the target multimedia information, and return the target multimedia information to the player.
在一种可能的实施方式中,所述多媒体信息的播放方法还包括:In a possible implementation, the method for playing multimedia information further includes:
基于预设的加密规则,对本地存储的多媒体信息进行加密处理,得到已加密的多媒体信息;Based on a preset encryption rule, encrypting the locally stored multimedia information to obtain encrypted multimedia information;
所述将所述目标多媒体信息返回给所述播放端,包括:The returning the target multimedia information to the player includes:
将已加密的目标多媒体信息返回给所述播放端,以使播放端基于预设的解密规则对所述已加密的目标多媒体信息进行解密处理,并对解密得到的目标多媒体信息进行播放。Returning the encrypted target multimedia information to the player, so that the player can decrypt the encrypted target multimedia information based on a preset decryption rule, and play the decrypted target multimedia information.
第三方面,本申请实施例提供了一种多媒体信息的播放装置,所述播放装置包括:In a third aspect, an embodiment of the present application provides a device for playing multimedia information, and the device for playing includes:
接收模块,用于在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;a receiving module, configured to receive the target multimedia information returned by the server after sending a playback request of the target multimedia information to the server;
第一播放模块,用于播放所述目标多媒体信息;a first playing module, configured to play the target multimedia information;
监测模块,用于监测当前播放的所述目标多媒体信息的播放参数值;a monitoring module for monitoring the playback parameter value of the target multimedia information currently being played;
停止播放模块,用于若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。The playing stop module is configured to stop playing the target multimedia information if the playing parameter value of the target multimedia information does not meet the preset playing conditions.
第四方面,本申请实施例提供了另一种多媒体信息的播放装置,所述播放装置包括:In a fourth aspect, the embodiments of the present application provide another apparatus for playing multimedia information, and the apparatus for playing includes:
存储模块,用于在接收到上传端发送的多媒体信息后,存储所述多媒体信息;a storage module, configured to store the multimedia information after receiving the multimedia information sent by the uploader;
查询模块,用于针对未完成上传的任一多媒体信息,若接收到上传端发送的针对该多媒体信息的继续上传请求后,查询该多媒体信息对应的上传进度标识;a query module, configured to query the upload progress identifier corresponding to the multimedia information after receiving a continuation upload request for the multimedia information sent by the uploader for any multimedia information that has not been uploaded;
第一返回模块,用于将所述上传进度标识返回给上传端,以使上传端继续上传该多媒体信息对应的剩余多媒体信息;The first return module is used to return the upload progress identifier to the uploader, so that the uploader continues to upload the remaining multimedia information corresponding to the multimedia information;
查找模块,用于在接收到播放端发送的目标多媒体信息的播放请求后,查找所述目标多媒体信息;a search module, configured to search for the target multimedia information after receiving the playback request of the target multimedia information sent by the player;
第二返回模块,用于将所述目标多媒体信息返回给所述播放端。The second returning module is used for returning the target multimedia information to the player.
第五方面,本申请实施例提供了一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述处理器执行所述机器可读指令,以执行第一方面任一项所述的多媒体信息的播放方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processing A bus communicates between the processor and the memory, and the processor executes the machine-readable instructions to execute the steps of the method for playing multimedia information according to any one of the first aspect.
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行第一方面任一项所述的多媒体信息的播放的步骤。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the multimedia system described in any one of the first aspect is executed. The steps of the playback of the information.
第七方面,本申请实施例提供了一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述处理器执行所述机器可读指令,以执行第二方面任一项所述的多媒体信息的播放方法的步骤。In a seventh aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processing A bus communicates between the processor and the memory, and the processor executes the machine-readable instructions to execute the steps of the method for playing multimedia information according to any one of the second aspect.
第八方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行第二方面任一项所述的多媒体信息的播放的步骤。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the multimedia described in any one of the second aspect. The steps of the playback of the information.
本申请实施例提供的多媒体信息的播放方法、装置、电子设备及存储介质,在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;播放所述目标多媒体信息,并监测当前播放的所述目标多媒体信息的播放参数值;若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。本申请通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。The method, device, electronic device, and storage medium for playing multimedia information provided by the embodiments of the present application, after sending a request for playing target multimedia information to a server, receiving the target multimedia information returned by the server; playing the target multimedia information , and monitor the playing parameter value of the target multimedia information currently being played; if the playing parameter value of the target multimedia information does not meet the preset playing conditions, stop playing the target multimedia information. In the present application, by monitoring the playback parameters of the multimedia information, it is judged whether the user has opened the screen recording software, and the monitoring efficiency of the playback authority of the multimedia information is improved.
进一步,本申请实施例提供的多媒体信息的播放方法、装置、电子设备及存储介质,还可以接收所述服务器返回的已加密的目标多媒体信息;基于预设的解密规则,对所述已加密的目标多媒体信息进行解密处理,得到目标多媒体信息,并对所述目标多媒体信息进行播放。本申请通过对多媒体信息的加密处理,使具有播放权限的播放端才能够对已加密的多媒体信息进行解密并播放,避免不具有播放权限的播放端通过抓包等技术手段拿到多媒体信息的播放链接,进行非法播放,进一步提高了多媒体信息播放权限的监测效率。Further, the method, device, electronic device, and storage medium for playing multimedia information provided by the embodiments of the present application can also receive encrypted target multimedia information returned by the server; The target multimedia information is decrypted to obtain the target multimedia information, and the target multimedia information is played. In the present application, through the encryption processing of multimedia information, only the playback terminal with playback authority can decrypt and play the encrypted multimedia information, so as to avoid the playback terminal without playback authority from obtaining the playback of multimedia information by technical means such as packet capture. link, and illegal playback is performed, which further improves the monitoring efficiency of the playback authority of multimedia information.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1示出了本申请实施例提供的一种多媒体信息的播放方法的流程图;1 shows a flowchart of a method for playing multimedia information provided by an embodiment of the present application;
图2示出了本申请实施例提供的另一种多媒体信息的播放方法的流程图;2 shows a flowchart of another method for playing multimedia information provided by an embodiment of the present application;
图3示出了本申请实施例提供的一种多媒体信息的播放装置的结构示意图;3 shows a schematic structural diagram of an apparatus for playing multimedia information provided by an embodiment of the present application;
图4示出了本申请实施例提供的另一种多媒体信息的播放装置的结构示意图;4 shows a schematic structural diagram of another apparatus for playing multimedia information provided by an embodiment of the present application;
图5示出了本申请实施例提供的一种电子设备的示意图;FIG. 5 shows a schematic diagram of an electronic device provided by an embodiment of the present application;
图6示出了本申请实施例提供的另一种电子设备的示意图。FIG. 6 shows a schematic diagram of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
通常情况下,多媒体信息对应有播放权限,即只有在获取待播放的多媒体信息的播放权限后,才能够实现多媒体信息的完整播放。目前,获取多媒体信息播放权限的方式为:赋予特定播放端(比如视频播放软件、用户终端)目标多媒体信息的播放权限,用户通过特定播放端获取目标多媒体信息。但是,用户在使用特定播放端播放多媒体信息时,可能会使用录屏软件录制当前播放的多媒体信息,通过该种方式,用户不需要获取播放权限,就可以观看多媒体信息的录制版本,播放权限监测效率低。Normally, multimedia information corresponds to a play right, that is, only after obtaining the play right of the multimedia information to be played, the complete play of the multimedia information can be realized. At present, the way to obtain the playback authority of multimedia information is as follows: granting a specific playback terminal (eg, video playback software, user terminal) the playback authority of the target multimedia information, and the user obtains the target multimedia information through the specific playback terminal. However, when a user uses a specific playback terminal to play multimedia information, he may use screen recording software to record the currently playing multimedia information. In this way, the user can watch the recorded version of the multimedia information without obtaining the playback permission, and monitor the playback permission. low efficiency.
基于上述问题,本申请实施例提供了一种多媒体信息的播放方法、装置、电子设备及存储介质,在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;播放所述目标多媒体信息,并监测当前播放的所述目标多媒体信息的播放参数值;若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。本申请通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。Based on the above problems, embodiments of the present application provide a method, device, electronic device and storage medium for playing multimedia information, after sending a request for playing target multimedia information to a server, receiving the target multimedia information returned by the server; Playing the target multimedia information, and monitoring the playing parameter value of the currently playing target multimedia information; if the playing parameter value of the target multimedia information does not meet the preset playing conditions, stop playing the target multimedia information. In the present application, by monitoring the playback parameters of the multimedia information, it is judged whether the user has opened the screen recording software, and the monitoring efficiency of the playback authority of the multimedia information is improved.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本申请针对上述问题所提出的解决方案,都应该是发明人在本申请过程中对本申请做出的贡献。The defects existing in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present application for the above problems hereinafter should be the inventors. Contributions made to this application during the course of this application.
下面将结合本申请中附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
为便于对本实施例进行理解,第一方面,对本申请实施例所公开的一种多媒体信息的播放方法进行详细介绍。下面以执行主体为播放端对本申请实施例提供的多媒体信息的播放方法加以说明。In order to facilitate the understanding of this embodiment, in the first aspect, a method for playing multimedia information disclosed in the embodiment of this application is introduced in detail. The method for playing multimedia information provided by the embodiments of the present application will be described below by taking the execution body as the playing end.
参见图1所示,图1为本申请实施例提供的多媒体信息的播放方法的流程图,该播放方法包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a method for playing multimedia information provided by an embodiment of the present application, and the method for playing includes the following steps:
S101、在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息。S101. After sending a playback request of target multimedia information to a server, receive the target multimedia information returned by the server.
本申请实施例中,对应有服务器和播放端,服务器中存储有多个多媒体信息,播放端用于播放多媒体信息。当用户对目标多媒体信息有观看需求时,通过播放端向服务器发送目标多媒体信息的播放请求,服务器响应目标多媒体信息的播放请求,从本地存储的多个多媒体信息中查找对应的目标多媒体信息,并将查找到的目标多媒体信息发送给对应的播放端,播放端接收服务器返回的目标多媒体信息。In the embodiment of the present application, there are a server and a playback terminal, the server stores a plurality of multimedia information, and the playback terminal is used for playing the multimedia information. When the user has a viewing demand for the target multimedia information, the playback terminal sends a playback request of the target multimedia information to the server, and the server responds to the playback request of the target multimedia information, searches for the corresponding target multimedia information from a plurality of locally stored multimedia information, and The found target multimedia information is sent to the corresponding player, and the player receives the target multimedia information returned by the server.
作为一种可能的实施方式,播放端向服务器发送携带有目标标识的播放请求,其中,上述目标标识与目标多媒体信息相对应;服务器本地存储有多个多媒体信息,每个多媒体信息对应有唯一的标识,服务器在接收到携带有目标标识的播放请求后,从本地存储的多个多媒体信息中,查找与目标标识相对应的目标多媒体信息,并将查找到的目标多媒体信息发送给播放端;播放端接收服务器返回的与目标标识相对应的目标多媒体信息。As a possible implementation, the player sends a playback request carrying a target identifier to the server, wherein the target identifier corresponds to the target multimedia information; the server locally stores a plurality of multimedia information, and each multimedia information corresponds to a unique identifier, after receiving the playback request carrying the target identifier, the server searches for the target multimedia information corresponding to the target identifier from a plurality of locally stored multimedia information, and sends the found target multimedia information to the player; play The terminal receives the target multimedia information corresponding to the target identifier returned by the server.
其中,服务器本地存储的多媒体信息可以是音视频文件,也可以是音视频文件对应的音视频播放地址。Wherein, the multimedia information stored locally by the server may be an audio/video file, or may be an audio/video playback address corresponding to the audio/video file.
S102、播放所述目标多媒体信息,并监测当前播放的所述目标多媒体信息的播放参数值。S102. Play the target multimedia information, and monitor the playing parameter value of the target multimedia information currently being played.
本申请实施例中,播放端对获取的目标多媒体信息进行播放,并对当前播放的目标多媒体信息的播放参数值进行监测,其中,播放参数为当前播放页面的属性信息(即容器属性信息),具体包括:定位、间距、宽度、高度、层级、背景、透明度。比如,播放端监测到当前播放的多媒体信息的播放页面的宽度为x1、高度为y1。In the embodiment of the present application, the playback terminal plays the acquired target multimedia information, and monitors the playback parameter value of the currently played target multimedia information, wherein the playback parameter is the attribute information of the currently playing page (ie, the container attribute information), Specifically include: positioning, spacing, width, height, level, background, transparency. For example, the playback end detects that the width of the playback page of the currently played multimedia information is x1 and the height is y1.
S103、若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。S103. If the playback parameter value of the target multimedia information does not satisfy a preset playback condition, stop playing the target multimedia information.
本申请实施例中,根据监测到的目标多媒体信息的播放参数值,判断当前多媒体信息是否被录屏,如果目标多媒体信息的播放参数值满足预设的播放条件,则确定当前播放的目标多媒体信息没有被录屏软件录屏,如果目标多媒体信息的播放参数值不满足预设的播放条件,则确定当前播放的目标多媒体信息正在被录屏软件录屏,此时,播放端停止播放目标多媒体信息,以避免目标多媒体信息的泄露。In the embodiment of the present application, it is determined whether the current multimedia information is screen-recorded according to the monitored playback parameter value of the target multimedia information, and if the playback parameter value of the target multimedia information satisfies the preset playback conditions, the currently played target multimedia information is determined. The screen is not recorded by the screen recording software. If the playback parameter value of the target multimedia information does not meet the preset playback conditions, it is determined that the currently playing target multimedia information is being recorded by the screen recording software. At this time, the player stops playing the target multimedia information. , to avoid the leakage of target multimedia information.
本申请实施例提供的多媒体信息的播放方法,通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。The method for playing multimedia information provided by the embodiments of the present application, by monitoring the playing parameters of the multimedia information, determines whether the user has opened the screen recording software, thereby improving the monitoring efficiency of the playing authority of the multimedia information.
进一步的,本申请实施例提供的多媒体信息的播放方法中,所述目标多媒体信息的播放参数值不满足预设的播放条件,包括:Further, in the method for playing multimedia information provided by the embodiment of the present application, the playing parameter value of the target multimedia information does not meet the preset playing conditions, including:
所述目标多媒体信息的播放参数值与本地设置的目标参数值不一致。The playback parameter value of the target multimedia information is inconsistent with the locally set target parameter value.
本申请实施例中,播放端对当前播放的目标多媒体信息的播放参数值进行监测,即获取每个播放参数对应的播放参数值,针对每个播放参数,将该播放参数的播放参数值与本地设置的该播放参数的目标参数值进行比较,如果每个播放参数值均与目标参数值相一致,则确定没有录屏软件录制屏幕,如果存在任一播放参数值与目标参数值不一致,则确定存在录屏软件正在录屏,此时,停止播放目标多媒体信息。In the embodiment of the present application, the playback terminal monitors the playback parameter value of the currently played target multimedia information, that is, obtains the playback parameter value corresponding to each playback parameter, and for each playback parameter, compares the playback parameter value of the playback parameter with the local playback parameter value. Compare the set target parameter value of the playback parameter. If each playback parameter value is consistent with the target parameter value, it is determined that there is no screen recording software to record the screen. If any playback parameter value is inconsistent with the target parameter value, it is determined. There is a screen recording software that is recording the screen. At this time, the target multimedia information is stopped.
比如,本地设置的多媒体信息的播放页面的宽度为x0、高度为y0,播放端监测到当前播放的多媒体信息的播放页面的宽度为x1、高度为y1,如果x1与x0相等,y1与y0相等,则确定没有录屏软件录制屏幕;如果x1与x0相等,y1与y0不相等,或者,x1与x0不相等,y1与y0相等,或者,x1与x0不相等,y1与y0不相等,则确定存在录屏软件正在录屏。For example, the width of the locally set multimedia information playback page is x0 and the height is y0. The playback side monitors the currently playing multimedia information with a width of x1 and a height of y1. If x1 is equal to x0, y1 is equal to y0 , then it is determined that no screen recording software records the screen; if x1 and x0 are equal, y1 and y0 are not equal, or, x1 and x0 are not equal, y1 and y0 are equal, or, x1 and x0 are not equal, and y1 and y0 are not equal, then Make sure that there is screen recording software that is recording the screen.
进一步的,本申请实施例提供的多媒体信息的播放方法中,若所述目标多媒体信息的播放参数值不满足预设的播放条件,则播放提示信息,所述提示信息用于提示关闭录屏功能。Further, in the method for playing multimedia information provided by the embodiment of the present application, if the playing parameter value of the target multimedia information does not meet the preset playing conditions, prompt information is played, and the prompt information is used to prompt to turn off the screen recording function. .
本申请实施例中,在监测到用户正在用录屏软件录制目标多媒体信息时,播放端播放预存的提示信息,比如“请关闭录屏功能,以保证视频正常播放”,用以提示用户当前播放的目标多媒体信息不可以被录制,避免用户不清楚播放端停止播放目标多媒体信息的原因。In the embodiment of the present application, when it is detected that the user is recording the target multimedia information with the screen recording software, the playback terminal plays the pre-stored prompt information, such as "please turn off the screen recording function to ensure the normal playback of the video", to prompt the user to play the current video The target multimedia information cannot be recorded, so that the user does not know why the player stops playing the target multimedia information.
进一步的,本申请实施例提供的多媒体信息的播放方法中,所述接收所述服务器返回的所述目标多媒体信息,包括:接收所述服务器返回的已加密的目标多媒体信息。Further, in the method for playing multimedia information provided by the embodiment of the present application, the receiving the target multimedia information returned by the server includes: receiving the encrypted target multimedia information returned by the server.
所述播放所述目标多媒体信息,包括:基于预设的解密规则,对所述已加密的目标多媒体信息进行解密处理,得到目标多媒体信息,并对所述目标多媒体信息进行播放。The playing the target multimedia information includes: decrypting the encrypted target multimedia information based on a preset decryption rule to obtain the target multimedia information, and playing the target multimedia information.
本申请实施例中,服务器存储有预设的加密规则,基于该预设的加密规则,对本地存储的多个多媒体信息分别进行加密处理,得到多个已加密的多媒体信息,在接收到播放端发送的目标多媒体信息的播放请求后,将与目标多媒体信息相匹配的已加密的目标多媒体信息发送给播放端;播放端接收服务器返回的已加密的目标多媒体信息,并基于预设的解密规则,对已加密的目标多媒体信息进行解密处理,得到可以进行播放的目标多媒体信息,并对该目标多媒体信息进行播放,其中,服务器预设的加密规则和播放端预设的解密规则相对应。In this embodiment of the present application, the server stores a preset encryption rule, and based on the preset encryption rule, encrypts multiple pieces of locally stored multimedia information to obtain multiple pieces of encrypted multimedia information. After sending the playback request of the target multimedia information, the encrypted target multimedia information that matches the target multimedia information is sent to the player; the player receives the encrypted target multimedia information returned by the server, and based on the preset decryption rule, Decrypt the encrypted target multimedia information to obtain playable target multimedia information, and play the target multimedia information, wherein the encryption rules preset by the server correspond to the decryption rules preset by the player.
具体的,服务器对多媒体文件进行转码处理,即对多媒体信息做字节加密处理,比如,对多媒体信息的部分字节做取反/异或处理,将多媒体信息由通用封装格式转换为非通用封装格式,比如,转换为特殊格式ev1文件,达到通用播放器无法解封装的目的,该种方式下,即使多媒体信息发生泄露,在线多媒体信息和下载后的多媒体信息都无法使用通用播放器播放,只能由特定的播放端(存储有预设的解密规则的播放端)进行播放。Specifically, the server performs transcoding processing on the multimedia file, that is, performs byte encryption processing on the multimedia information, for example, performs negation/exclusive OR processing on some bytes of the multimedia information, and converts the multimedia information from a general encapsulation format to a non-universal encapsulation format. The encapsulation format, for example, is converted into a special format ev1 file, so that the universal player cannot decapsulate it. In this way, even if the multimedia information is leaked, the online multimedia information and the downloaded multimedia information cannot be played by the universal player. It can only be played by a specific player (the player that stores the preset decryption rules).
本申请实施例提供的多媒体信息的播放方法,通过服务器对多媒体信息进行加密,生成已加密的多媒体信息,仅具有播放权限的播放端才能够对已加密的多媒体信息进行解密并播放,即使其他不具有播放权限的播放端获取了已加密的多媒体信息,也无法对已加密的多媒体信息进行播放,避免不具有播放权限的播放端通过抓包等技术手段拿到多媒体信息的播放链接,进行非法播放,进一步提高了多媒体信息播放权限的监测效率。In the method for playing multimedia information provided by the embodiments of the present application, the multimedia information is encrypted by the server to generate encrypted multimedia information, and only the playback end with the playback authority can decrypt and play the encrypted multimedia information, even if other users do not The player with the playback authority obtains the encrypted multimedia information, and cannot play the encrypted multimedia information, so as to prevent the player without the playback authority from obtaining the playback link of the multimedia information through technical means such as packet capture and illegal playback. , which further improves the monitoring efficiency of multimedia information playback rights.
第二方面,对本申请实施例所公开的另一种多媒体信息的播放方法进行详细介绍,下面以执行主体为服务器对本申请实施例提供的多媒体信息的播放方法加以说明。In the second aspect, another method for playing multimedia information disclosed in the embodiment of the present application is introduced in detail, and the method for playing multimedia information provided by the embodiment of the present application is described below with the execution subject as the server.
参见图2所示,图2为本申请实施例提供的多媒体信息的播放方法的流程图,该播放方法包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a method for playing multimedia information provided by an embodiment of the present application, and the method for playing includes the following steps:
S201、在接收到上传端发送的多媒体信息后,存储所述多媒体信息。S201. After receiving the multimedia information sent by the uploading end, store the multimedia information.
本申请实施例中,对应有上传端、服务器、播放端,其中,上传端用于将多媒体信息上传给服务器;服务器用于接收上传端发送的多媒体信息,并对接收到的多媒体信息进行存储;播放端用于从服务器处获取待播放多媒体信息,并对待播放多媒体信息进行播放。In the embodiments of the present application, there are an uploading end, a server, and a playing end, wherein the uploading end is used to upload multimedia information to the server; the server is used to receive the multimedia information sent by the uploading end, and store the received multimedia information; The playing end is used to obtain the multimedia information to be played from the server, and to play the multimedia information to be played.
具体的,上传端基于预设的限制容量,将多媒体信息分割成多个子多媒体信息,其中,每个子多媒体信息对应的存储容量均小于等于限制容量,比如,限制容量为20M,将存储容量为4G的多媒体信息均匀分割成200个子多媒体信息,其中,每个子多媒体信息对应的存储容量均为20M,上传端根据子多媒体信息的播放顺序,为每个子多媒体信息分配序列号,并按照序列号的先后顺序,将子多媒体信息依次上传给服务器;服务器接收上传端发送的子多媒体信息,并在接收到全部子多媒体信息后,按照序列号的先后顺序,将多个子多媒体信息整合为一个完整的多媒体信息,并对该多媒体信息进行存储,比如,将200个子多媒体信息按照序列号的先后顺序整合为一个存储容量为4G的多媒体信息。Specifically, the uploader divides the multimedia information into multiple sub-multimedia information based on the preset limited capacity, wherein the storage capacity corresponding to each sub-multimedia information is less than or equal to the limited capacity, for example, if the limited capacity is 20M, the storage capacity is 4G The multimedia information is evenly divided into 200 sub-multimedia information, wherein, the corresponding storage capacity of each sub-multimedia information is 20M, and the uploader assigns a serial number to each sub-multimedia information according to the playback order of the sub-multimedia information, and according to the sequence of the serial number sequence, upload the sub-multimedia information to the server in sequence; the server receives the sub-multimedia information sent by the uploading end, and after receiving all the sub-multimedia information, according to the sequence of the serial numbers, integrates the multiple sub-multimedia information into a complete multimedia information , and store the multimedia information, for example, integrate 200 sub-multimedia information into one multimedia information with a storage capacity of 4G according to the sequence of the serial numbers.
S202、针对未完成上传的任一多媒体信息,若接收到上传端发送的针对该多媒体信息的继续上传请求后,查询该多媒体信息对应的上传进度标识,并将所述上传进度标识返回给上传端,以使上传端继续上传该多媒体信息对应的剩余多媒体信息。S202. For any piece of multimedia information that has not been uploaded, after receiving a continuing upload request for the multimedia information sent by the uploader, query the upload progress identifier corresponding to the multimedia information, and return the upload progress identifier to the uploader , so that the uploading end continues to upload the remaining multimedia information corresponding to the multimedia information.
本申请实施例中,在上传端向服务器发送多个子多媒体信息的过程中,受到网络中断、电源中断、服务器运行中断等因素的影响,多媒体信息下属的多个子多媒体信息需要通过多次上传的方式,上传至服务器。针对未完成上传的任一多媒体信息,上传端将针对该多媒体信息的继续上传请求发送给服务器;服务器在接收到继续上传请求后,将该多媒体信息对应的上传进度标识发送给上传端;上传端在接收到上传进度标识后,基于该上传进度标识,确定该多媒体信息对应的剩余多媒体信息,并按照序列号的先后顺序,将剩余多媒体信息依次发送给服务器,直至该多媒体信息下属的所有子多媒体信息上传完毕。In the embodiment of the present application, in the process of sending multiple sub-multimedia information to the server from the uploading end, due to factors such as network interruption, power interruption, server operation interruption, etc., the multiple sub-multimedia information subordinate to the multimedia information needs to be uploaded multiple times. , upload to the server. For any piece of multimedia information that has not been uploaded, the uploading end sends a continuing upload request for the multimedia information to the server; after receiving the continuing uploading request, the server sends the uploading progress identifier corresponding to the multimedia information to the uploading end; the uploading end After receiving the upload progress identifier, determine the remaining multimedia information corresponding to the multimedia information based on the upload progress identifier, and send the remaining multimedia information to the server in sequence according to the sequence number, until all sub-multimedia information subordinate to the multimedia information The information is uploaded.
具体的,上传进度标识为服务器本地存储的子多媒体信息对应的序列号中最大的序列号,上传端在接收到最大的序列号后,将该最大的序列号之后的序列号对应的子多媒体信息确定为剩余多媒体信息,并将剩余多媒体信息按照序列号的先后顺序依次上传给服务器。比如,服务器本地存储有第一多媒体信息对应的子多媒体信息1、子多媒体信息2、多媒体信息3,服务器在接收到上传端发送的针对第一多媒体信息的继续上传请求后,将“序列号3”(最大的序列号)发送给对应的上传端;上传端在接收到“序列号3”后,将“序列号3”之后的子多媒体信息4、子多媒体信息5、……、子多媒体信息200(最后一个子多媒体信息)作为剩余多媒体信息,依次上传至服务器。Specifically, the upload progress identifier is the largest serial number among the serial numbers corresponding to the sub-multimedia information stored locally by the server, and after receiving the largest serial number, the uploading end, after the largest serial number, corresponds to the sub-multimedia information corresponding to the serial number after the largest serial number. The remaining multimedia information is determined to be the remaining multimedia information, and the remaining multimedia information is sequentially uploaded to the server according to the sequence of the serial numbers. For example, the server locally stores sub-multimedia information 1, sub-multimedia information 2, and multimedia information 3 corresponding to the first multimedia information. "Serial number 3" (the largest serial number) is sent to the corresponding uploader; after receiving the "serial number 3", the uploader sends the sub-multimedia information 4, sub-multimedia information 5, ... . The sub-multimedia information 200 (the last sub-multimedia information) is uploaded to the server in sequence as the remaining multimedia information.
S203、在接收到播放端发送的目标多媒体信息的播放请求后,查找所述目标多媒体信息,并将所述目标多媒体信息返回给所述播放端。S203. After receiving the playback request of the target multimedia information sent by the player, search for the target multimedia information, and return the target multimedia information to the player.
本申请实施例中,当用户对目标多媒体信息有观看需求时,通过播放端向服务器发送目标多媒体信息的播放请求,服务器在接收到播放端发送的目标多媒体信息的播放请求后,从本地存储的多个多媒体信息中查找对应的目标多媒体信息,并将查找到的目标多媒体信息发送给对应的播放端,播放端接收服务器返回的目标多媒体信息,并对目标多媒体信息进行播放。In the embodiment of the present application, when the user has a viewing demand for the target multimedia information, the player sends a playback request of the target multimedia information to the server through the playback terminal. The corresponding target multimedia information is searched from the plurality of multimedia information, and the found target multimedia information is sent to the corresponding player, and the player receives the target multimedia information returned by the server and plays the target multimedia information.
作为一种可能的实施方式,播放端向服务器发送携带有目标标识的播放请求,其中,上述目标标识与目标多媒体信息相对应;服务器本地存储有多个多媒体信息,每个多媒体信息对应有唯一的标识,服务器在接收到携带有目标标识的播放请求后,从本地存储的多个多媒体信息中,查找与目标标识相对应的目标多媒体信息,并将查找到的目标多媒体信息发送给播放端;播放端接收服务器返回的与目标标识相对应的目标多媒体信息,并对目标多媒体信息进行播放。As a possible implementation, the player sends a playback request carrying a target identifier to the server, wherein the target identifier corresponds to the target multimedia information; the server locally stores a plurality of multimedia information, and each multimedia information corresponds to a unique identifier, after receiving the playback request carrying the target identifier, the server searches for the target multimedia information corresponding to the target identifier from a plurality of locally stored multimedia information, and sends the found target multimedia information to the player; play The terminal receives the target multimedia information corresponding to the target identifier returned by the server, and plays the target multimedia information.
其中,服务器本地存储的多媒体信息可以是音视频文件,也可以是音视频文件对应的音视频播放地址。Wherein, the multimedia information stored locally by the server may be an audio/video file, or may be an audio/video playback address corresponding to the audio/video file.
本申请实施例提供的多媒体信息的播放方法,通过上传端与服务器之间的信息交互,上传端从服务器侧获取上传进度标识,进而将上传进度标识对应的剩余多媒体信息上传给服务器,以实现同一多媒体信息的完整上传,能够通过多次上传的方式实现多媒体信息的完整上传,提高了上传多媒体信息的灵活度。提高了上传多媒体信息的效率。In the method for playing multimedia information provided by the embodiments of the present application, through the information interaction between the uploading end and the server, the uploading end obtains the uploading progress identifier from the server side, and then uploads the remaining multimedia information corresponding to the uploading progress identifier to the server, so as to realize the same The complete upload of the multimedia information can realize the complete upload of the multimedia information by means of multiple uploads, which improves the flexibility of uploading the multimedia information. The efficiency of uploading multimedia information is improved.
进一步的,本申请实施例提供的多媒体信息的播放方法中,所述播放方法还包括:Further, in the method for playing multimedia information provided by the embodiment of the present application, the method for playing further includes:
基于预设的加密规则,对本地存储的多媒体信息进行加密处理,得到已加密的多媒体信息。Based on a preset encryption rule, the locally stored multimedia information is encrypted to obtain encrypted multimedia information.
所述将所述目标多媒体信息返回给所述播放端,包括:The returning the target multimedia information to the player includes:
将已加密的目标多媒体信息返回给所述播放端,以使播放端基于预设的解密规则对所述已加密的目标多媒体信息进行解密处理,并对解密得到的目标多媒体信息进行播放。Returning the encrypted target multimedia information to the player, so that the player can decrypt the encrypted target multimedia information based on a preset decryption rule, and play the decrypted target multimedia information.
本申请实施例中,服务器存储有预设的加密规则,基于该预设的加密规则,对本地存储的多个多媒体信息分别进行加密处理,得到多个已加密的多媒体信息,在接收到播放端发送的目标多媒体信息的播放请求后,将与目标多媒体信息相匹配的已加密的目标多媒体信息发送给播放端;播放端接收服务器返回的已加密的目标多媒体信息,并基于预设的解密规则,对已加密的目标多媒体信息进行解密处理,得到可以进行播放的目标多媒体信息,并对该目标多媒体信息进行播放,其中,服务器预设的加密规则和播放端预设的解密规则相对应。In this embodiment of the present application, the server stores a preset encryption rule, and based on the preset encryption rule, encrypts multiple pieces of locally stored multimedia information to obtain multiple pieces of encrypted multimedia information. After sending the playback request of the target multimedia information, the encrypted target multimedia information that matches the target multimedia information is sent to the player; the player receives the encrypted target multimedia information returned by the server, and based on the preset decryption rule, Decrypt the encrypted target multimedia information to obtain playable target multimedia information, and play the target multimedia information, wherein the encryption rules preset by the server correspond to the decryption rules preset by the player.
具体的,服务器对多媒体文件进行转码处理,即对多媒体信息做字节加密处理,比如,对多媒体信息的部分字节做取反/异或处理,将多媒体信息由通用封装格式转换为非通用封装格式,比如,转换为特殊格式ev1文件,达到通用播放器无法解封装的目的,该种方式下,即使多媒体信息发生泄露,在线多媒体信息和下载后的多媒体信息都无法使用通用播放器播放,只能由特定的播放端(存储有预设的解密规则的播放端)进行播放。Specifically, the server performs transcoding processing on the multimedia file, that is, performs byte encryption processing on the multimedia information, for example, performs negation/exclusive OR processing on some bytes of the multimedia information, and converts the multimedia information from a general encapsulation format to a non-universal encapsulation format. The encapsulation format, for example, is converted into a special format ev1 file, so that the universal player cannot decapsulate it. In this way, even if the multimedia information is leaked, the online multimedia information and the downloaded multimedia information cannot be played by the universal player. It can only be played by a specific player (the player that stores the preset decryption rules).
本申请实施例提供的多媒体信息的播放方法,通过服务器对多媒体信息进行加密,生成已加密的多媒体信息,仅具有播放权限的播放端才能够对已加密的多媒体信息进行解密并播放,即使其他不具有播放权限的播放端获取了已加密的多媒体信息,也无法对已加密的多媒体信息进行播放,避免不具有播放权限的播放端通过抓包等技术手段拿到多媒体信息的播放链接,进行非法播放,进一步提高了多媒体信息播放权限的监测效率。In the method for playing multimedia information provided by the embodiments of the present application, the multimedia information is encrypted by the server to generate encrypted multimedia information, and only the playback end with the playback authority can decrypt and play the encrypted multimedia information, even if other users do not The player with the playback authority obtains the encrypted multimedia information, and cannot play the encrypted multimedia information, so as to prevent the player without the playback authority from obtaining the playback link of the multimedia information through technical means such as packet capture and illegal playback. , which further improves the monitoring efficiency of multimedia information playback rights.
第三方面,基于同一发明构思,本申请实施例中还提供了与第一方面的多媒体信息的播放方法对应的多媒体信息的播放装置,由于本申请实施例中的装置解决问题的原理与本申请实施例中第一方面的多媒体信息的播放方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。In the third aspect, based on the same inventive concept, the embodiment of the present application also provides a multimedia information playing device corresponding to the multimedia information playing method of the first aspect. The method for playing multimedia information in the first aspect of the embodiments is similar, so the implementation of the apparatus may refer to the implementation of the method, and repeated descriptions will not be repeated.
参照图3所示,图3为本申请一实施例提供的一种多媒体信息的播放装置的结构示意图,该多媒体信息的播放装置包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of an apparatus for playing multimedia information provided by an embodiment of the application. The apparatus for playing multimedia information includes:
接收模块301,用于在向服务器发送目标多媒体信息的播放请求后,接收所述服务器返回的所述目标多媒体信息;The receiving
第一播放模块302,用于播放所述目标多媒体信息;a
监测模块303,用于监测当前播放的所述目标多媒体信息的播放参数值;A
停止播放模块304,用于若所述目标多媒体信息的播放参数值不满足预设的播放条件,则停止播放所述目标多媒体信息。The playing
在一种可能的实施方式中,所述目标多媒体信息的播放参数值不满足预设的播放条件,包括:In a possible implementation manner, the playback parameter value of the target multimedia information does not meet the preset playback conditions, including:
所述目标多媒体信息的播放参数值与本地设置的目标参数值不一致。The playback parameter value of the target multimedia information is inconsistent with the locally set target parameter value.
在一种可能的实施方式中,所述多媒体信息的播放装置还包括:In a possible implementation manner, the device for playing multimedia information further includes:
第二播放模块,用于若所述目标多媒体信息的播放参数值不满足预设的播放条件,则播放提示信息,所述提示信息用于提示关闭录屏功能。The second playing module is configured to play prompt information if the playing parameter value of the target multimedia information does not meet the preset playing conditions, and the prompt information is used to prompt to turn off the screen recording function.
在一种可能的实施方式中,接收模块301,在接收所述服务器返回的所述目标多媒体信息时,包括:In a possible implementation manner, the receiving
接收所述服务器返回的已加密的目标多媒体信息;receiving the encrypted target multimedia information returned by the server;
第一播放模块302,在播放所述目标多媒体信息时,包括:The
基于预设的解密规则,对所述已加密的目标多媒体信息进行解密处理,得到目标多媒体信息,并对所述目标多媒体信息进行播放。Based on a preset decryption rule, the encrypted target multimedia information is decrypted to obtain the target multimedia information, and the target multimedia information is played.
本申请实施例提供的多媒体信息的播放装置,通过对多媒体信息的播放参数进行监测,判断用户是否开启录屏软件,提高了多媒体信息播放权限的监测效率。The multimedia information playback device provided by the embodiment of the present application determines whether the user has opened the screen recording software by monitoring the playback parameters of the multimedia information, thereby improving the monitoring efficiency of the multimedia information playback authority.
第四方面,基于同一发明构思,本申请实施例中还提供了与第二方面的多媒体信息的播放方法对应的多媒体信息的播放装置,由于本申请实施例中的装置解决问题的原理与本申请实施例中第二方面的多媒体信息的播放方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。In the fourth aspect, based on the same inventive concept, the embodiment of the present application also provides a multimedia information playing device corresponding to the multimedia information playing method of the second aspect. The method for playing multimedia information in the second aspect of the embodiment is similar, so the implementation of the apparatus may refer to the implementation of the method, and repeated descriptions will not be repeated.
参照图4所示,图4为本申请一实施例提供的一种多媒体信息的播放装置的结构示意图,该多媒体信息的播放装置包括:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an apparatus for playing multimedia information provided by an embodiment of the application. The apparatus for playing multimedia information includes:
存储模块401,用于在接收到上传端发送的多媒体信息后,存储所述多媒体信息;The
查询模块402,用于针对未完成上传的任一多媒体信息,若接收到上传端发送的针对该多媒体信息的继续上传请求后,查询该多媒体信息对应的上传进度标识;The
第一返回模块403,用于将所述上传进度标识返回给上传端,以使上传端继续上传该多媒体信息对应的剩余多媒体信息;The
查找模块404,用于在接收到播放端发送的目标多媒体信息的播放请求后,查找所述目标多媒体信息;The
第二返回模块405,用于将所述目标多媒体信息返回给所述播放端。The second returning
在一种可能的实施方式中,所述多媒体信息的播放装置还包括:In a possible implementation manner, the device for playing multimedia information further includes:
加密模块,用于基于预设的加密规则,对本地存储的多媒体信息进行加密处理,得到已加密的多媒体信息;an encryption module, used for encrypting the locally stored multimedia information based on a preset encryption rule to obtain encrypted multimedia information;
第二返回模块405,在将所述目标多媒体信息返回给所述播放端时,包括:The
将已加密的目标多媒体信息返回给所述播放端,以使播放端基于预设的解密规则对所述已加密的目标多媒体信息进行解密处理,并对解密得到的目标多媒体信息进行播放。Returning the encrypted target multimedia information to the player, so that the player can decrypt the encrypted target multimedia information based on a preset decryption rule, and play the decrypted target multimedia information.
本申请实施例提供的多媒体信息的播放装置,通过上传端与服务器之间的信息交互,上传端从服务器侧获取上传进度标识,进而将上传进度标识对应的剩余多媒体信息上传给服务器,以实现同一多媒体信息的完整上传,能够通过多次上传的方式实现多媒体信息的完整上传,提高了上传多媒体信息的灵活度。提高了上传多媒体信息的效率。In the multimedia information playback device provided by the embodiment of the present application, through the information interaction between the uploading end and the server, the uploading end obtains the uploading progress identifier from the server side, and then uploads the remaining multimedia information corresponding to the uploading progress identifier to the server, so as to realize the same The complete upload of the multimedia information can realize the complete upload of the multimedia information by means of multiple uploads, which improves the flexibility of uploading the multimedia information. The efficiency of uploading multimedia information is improved.
第五方面,参见图5所示,图5为本申请实施例提供的一种电子设备500,该电子设备500包括:处理器501、存储器502和总线,所述存储器502存储有所述处理器501可执行的机器可读指令,当电子设备运行时,所述处理器501与所述存储器502之间通过总线通信,所述处理器501执行所述机器可读指令,以执行如上述第一方面的多媒体信息的播放方法的步骤。In the fifth aspect, referring to FIG. 5 , FIG. 5 is an
具体地,上述存储器502和处理器501能够为通用的存储器和处理器,这里不做具体限定,当处理器501运行存储器502存储的计算机程序时,能够执行上述第一方面的多媒体信息的播放方法。Specifically, the above-mentioned
第六方面,对应于上述第一方面的多媒体信息的播放方法,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述第一方面的多媒体信息的播放方法的步骤。In a sixth aspect, corresponding to the method for playing multimedia information in the first aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is The processor executes the steps of the method for playing multimedia information in the first aspect when the processor is running.
第七方面,参见图6所示,图6为本申请实施例提供的一种电子设备600,该电子设备600包括:处理器601、存储器602和总线,所述存储器602存储有所述处理器601可执行的机器可读指令,当电子设备运行时,所述处理器601与所述存储器602之间通过总线通信,所述处理器601执行所述机器可读指令,以执行如上述第二方面的多媒体信息的播放方法的步骤。In a seventh aspect, referring to FIG. 6 , FIG. 6 is an
具体地,上述存储器602和处理器601能够为通用的存储器和处理器,这里不做具体限定,当处理器601运行存储器602存储的计算机程序时,能够执行上述第二方面的多媒体信息的播放方法。Specifically, the above-mentioned
第八方面,对应于上述第二方面的多媒体信息的播放方法,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述第二方面的多媒体信息的播放方法的步骤。In an eighth aspect, corresponding to the method for playing multimedia information in the second aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is The steps of the method for playing multimedia information of the second aspect above are executed when the processor is running.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or modules, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to illustrate the technical solutions of the present application, rather than limit them. The embodiments describe the application in detail, and those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the application. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be covered in this application. within the scope of protection. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010639605.0A CN111783041A (en) | 2020-07-06 | 2020-07-06 | A method, device, electronic device and storage medium for playing multimedia information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010639605.0A CN111783041A (en) | 2020-07-06 | 2020-07-06 | A method, device, electronic device and storage medium for playing multimedia information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111783041A true CN111783041A (en) | 2020-10-16 |
Family
ID=72758875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010639605.0A Pending CN111783041A (en) | 2020-07-06 | 2020-07-06 | A method, device, electronic device and storage medium for playing multimedia information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111783041A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150281445A1 (en) * | 2014-03-31 | 2015-10-01 | Angel.Com Incorporated | Recording user communications |
CN107181763A (en) * | 2017-07-22 | 2017-09-19 | 江苏省鸿源招标代理股份有限公司 | Bid video conference and monitoring system |
CN107609397A (en) * | 2017-08-07 | 2018-01-19 | 清华大学 | Application program malicious act detection method and equipment in Android system |
CN110795699A (en) * | 2019-10-04 | 2020-02-14 | 广州易方信息科技股份有限公司 | Screen recording prevention method below iOS11 based on iPhone system status bar |
CN111294664A (en) * | 2019-05-28 | 2020-06-16 | 杭州萤石软件有限公司 | Audio and video data transmission method, electronic equipment and storage medium |
-
2020
- 2020-07-06 CN CN202010639605.0A patent/CN111783041A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150281445A1 (en) * | 2014-03-31 | 2015-10-01 | Angel.Com Incorporated | Recording user communications |
CN107181763A (en) * | 2017-07-22 | 2017-09-19 | 江苏省鸿源招标代理股份有限公司 | Bid video conference and monitoring system |
CN107609397A (en) * | 2017-08-07 | 2018-01-19 | 清华大学 | Application program malicious act detection method and equipment in Android system |
CN111294664A (en) * | 2019-05-28 | 2020-06-16 | 杭州萤石软件有限公司 | Audio and video data transmission method, electronic equipment and storage medium |
CN110795699A (en) * | 2019-10-04 | 2020-02-14 | 广州易方信息科技股份有限公司 | Screen recording prevention method below iOS11 based on iPhone system status bar |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238165B2 (en) | File encryption method, file decryption method, electronic device, and storage medium | |
US20190068999A1 (en) | Systems and methods for authentication of digital content | |
EP3557876A1 (en) | Secret key providing method, video playback method, server and client | |
JP5350782B2 (en) | Method and apparatus for detecting falsification of metadata | |
JP5786670B2 (en) | Information processing apparatus, information storage apparatus, information processing system, information processing method, and program | |
JP5853507B2 (en) | Information processing apparatus, information processing system, information processing method, and program | |
US9081972B2 (en) | Method of distributing a decryption key in fixed-content data | |
US20100095383A1 (en) | Protection of Digital Data Content | |
US20060224513A1 (en) | Content information providing system, content information providing server, content reproduction apparatus, content information providing method, content reproduction method and computer program | |
US20100281275A1 (en) | Method of recording content on disc, method of providing title key, apparatus for recording content on disc, and content providing server | |
US7336887B2 (en) | Content play back, information processing, and play back restriction | |
JP5573489B2 (en) | Information processing apparatus, information processing method, and program | |
US20130266138A1 (en) | Content encryption key management | |
JP6242036B2 (en) | Information processing apparatus, information storage apparatus, information processing system, information processing method, and program | |
CN106533668B (en) | A kind of network-based PVR guard method and system | |
JP5821558B2 (en) | Information processing apparatus, information storage apparatus, information processing system, information processing method, and program | |
US7809956B2 (en) | Content-data processing apparatus, content-data processing method, content data management system and content data management method | |
JP5644467B2 (en) | Information processing apparatus, information processing method, and program | |
CN111783041A (en) | A method, device, electronic device and storage medium for playing multimedia information | |
US9955200B2 (en) | Systems and methods for securing polymorphic content | |
CN113014956B (en) | Video playing method and device | |
JP3792236B2 (en) | Recording medium, information reproducing apparatus and information reproducing method | |
KR20040106961A (en) | Encryption method of contents file | |
TWI376682B (en) | Method and system for hiding the decryption key in a dispersive way | |
CN103227944B (en) | The processing method of deciphering preset resource and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201016 |