WO2011072607A1 - 一种文件分段保护的方法、装置及系统 - Google Patents

一种文件分段保护的方法、装置及系统 Download PDF

Info

Publication number
WO2011072607A1
WO2011072607A1 PCT/CN2010/079817 CN2010079817W WO2011072607A1 WO 2011072607 A1 WO2011072607 A1 WO 2011072607A1 CN 2010079817 W CN2010079817 W CN 2010079817W WO 2011072607 A1 WO2011072607 A1 WO 2011072607A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
protected
streaming media
protection
media
Prior art date
Application number
PCT/CN2010/079817
Other languages
English (en)
French (fr)
Inventor
王亚飞
张莉
陈慧雍
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2011072607A1 publication Critical patent/WO2011072607A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself

Definitions

  • the present invention relates to the protection of digital products, and more particularly to a method, apparatus and system for file segmentation protection. Background of the invention
  • the protection of digital products is mostly encrypted or authorized at the file level. This granular protection is not flexible enough in some application scenarios. For example, for an audio and video file, you may want to block the unhealthy plot of the child, then you need to encrypt the content of this part independently; or, for a network streaming file, such as a video of a conference, you may only need the protection part involved.
  • a method for file segmentation protection includes the following:
  • the user When using the file with the protection flag, the user is prompted to enter a decryption key or perform permission authentication;
  • the protected portion of the file is allowed to be used, otherwise the protected portion of the file is skipped or hidden.
  • a segmentation protection system for a local file including an encryption device, a decryption device, and an information display device, wherein the encryption device is configured to encrypt each part of the local file that needs to be protected, set a protection flag, and store Encrypting a password; the decrypting device is configured to identify an encrypted portion in the local file, and accept a decryption key input by the user, and decrypt the encrypted portion in the local file; the information display device is configured to display an unencrypted portion and decrypt the local file Part of the information, skipping or hiding the information in the undecrypted portion of the local file.
  • a segmentation protection system for a network streaming media file including a local streaming media playback device, a rights control device on the streaming media server side, and a media file transmission device on the streaming media server side, wherein the streaming media server side permissions a control device, configured to authorize each piece of the media data block that needs to be protected in the network streaming media file, and set a protection flag; and the media file transmission device on the streaming media server side is configured to transmit the network streaming media with the protection flag
  • the file identifies the authorized part of the network streaming media file, and accepts the authority authentication information input by the user, and authenticates the authorized part in the network streaming media file;
  • the local streaming media playing device is configured to play the user-owned part of the network streaming media file The media stream, skipping the media stream in the user's unprivileged portion of the network streaming file.
  • a streaming media server including: a permission control device, configured to authorize each piece of media data blocks to be protected in a network streaming file, and set a protection flag; and a media file transmission device, configured to transmit a protection flag
  • a permission control device configured to authorize each piece of media data blocks to be protected in a network streaming file, and set a protection flag
  • a media file transmission device configured to transmit a protection flag
  • a protection flag is set in each part of the file that needs to be protected, and when the file with the protection flag is used, the user is prompted to input a decryption key or perform permission authentication, and only decryption is correct or authority After the authentication is passed, the protected part of the file is allowed to be used, otherwise the protected part of the file is skipped or hidden; compared with the prior art, the original file content does not need to be destroyed, and the file does not need to be split into different files. , to meet people's more precise information encryption and authorization needs, to achieve more flexible protection of file content.
  • FIG. 1 is a flowchart of a file segmentation protection method according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a segmentation protection system for a local file according to an embodiment of the present invention
  • a method for file segmentation protection provided by an embodiment of the present invention includes the following contents:
  • the method for file segmentation protection sets a protection flag for each segment that needs to be protected in the file, and when the file with the protection flag is used, prompts the user to input a decryption key or perform rights authentication.
  • the part protected in the file is allowed to be used only if the decryption is correct or the authorization is passed, otherwise the protected part of the file is skipped or hidden; compared with the prior art, the original file content does not need to be destroyed, and there is no need to By dividing the file into different files, it can meet people's more precise information encryption and authorization requirements, and achieve more flexible protection of file content.
  • Embodiment 1 local media file
  • Video files are generally stored in a file format on a file format, such as avi, mpeg; audio files are generally stored in a data block with a sampling point as the smallest unit, than: ⁇ wav, Mp3.
  • a protection flag can be added to each smallest unit of data block.
  • multiple data blocks can also share a protection flag.
  • the physical storage location of the protection mark may be independent of the original media file, such as adding a separate companion file; or may be saved in the original media file, for example, some media files themselves are index structures that hold data blocks. For example, in avi2.0, there is an index data block for each frame of data. For such media files, a protection flag can be placed in the index block.
  • the user can choose to encrypt each piece of media data that needs to be protected, and input an encrypted password, which is used as the key for decryption.
  • Encrypted files can be written directly to the currently playing media file, or a separate media file can be generated separately.
  • Each encrypted data can share an encrypted password or a separate encrypted password. If a uniform encrypted password is used, the user only needs to enter the encrypted password when encrypting the first media segment.
  • the first frame data is required to be an I frame, which requires that an I frame is newly generated after each segment of the media data block to be protected is encrypted.
  • Embodiment 2 network streaming media file
  • streaming media refers to the media format that is played on the Internet by means of streaming.
  • Streaming media is also called streaming media.
  • Common applications are: An audio and video transmission server for business users disassembles and installs the program into a data packet and transmits it to the network. The user decompresses the data through the decompression device and restores it to audio and video programs. .
  • the segmentation protection process for streaming media is basically the same as the local media files, except that these interaction processes are transmitted through network messages.
  • the differences mainly include the following aspects:
  • the permission control between the streaming media player and the streaming media server is completed by a streaming media control protocol such as Real Time Streaming Protocol (RTSP); the media file between the streaming media player and the streaming media server
  • RTSP Real Time Streaming Protocol
  • the reading is done by a real-time transport protocol (RTP) or a transport protocol (Transport Stream, TS).
  • the streaming media server can not perform real data encryption on the media file, but only record the protection flag. That is to say, for streaming media files, more emphasis is placed on the control of user rights, rather than encryption of the data itself.
  • a more responsible user management policy can be used for identity authentication, and each piece of media data that needs to be protected is granted the same authority or is granted different rights, that is, The protection flag can be hierarchical, and only the user who passes the authorization authentication can view the protected part.
  • the streaming media server side first authorizes each piece of the media data block to be protected, and sets a protection flag; if media stream transmission occurs, if the media stream is found to exist, The protection flag is sent to the streaming media server by the media stream control protocol (which may be an extended RTSP message), and the user is prompted to perform the rights authentication; the user sends the user authentication information such as the user name and the password to the streaming media server; Send the content of the media file in the protected part; if there is no authentication, you can directly skip the content of the media file in the protected part. Therefore, the method of the embodiment can meet the more precise authorization requirements of the people, deploy more flexible commercial applications, and realize more flexible protection of the network streaming media files.
  • the media stream control protocol which may be an extended RTSP message
  • authority authentication information may be transmitted through the media stream control protocol message during the playing process, or may have been recorded by the user before the file is played.
  • Text files are usually organized in the form of chapters and paragraphs. Protection flags can be added to different chapters and paragraphs of a text file, which is basically similar to local media files.
  • the main difference from local media file processing is: Display of protected text data blocks. Since the text file is not a streaming file, it is generally presented on the reader when it is opened; therefore, the protected part needs to be hidden, for example, a special encrypted identifier can be added in the encrypted area, and the decryption is activated by triggering the identifier. process. If the decryption is correct, the protected text data block is displayed, and if the decryption is incorrect, the protected text data block is hidden.
  • a multimedia file generally refers to a file type that combines a variety of different file formats (mainly in the form of media files and text files). In the division of multimedia files In the segment protection process, if the media file is encrypted, the protection mode of the first embodiment or the second embodiment is used. If the text format is used, the protection mode of the third embodiment is used.
  • the user may also choose to perform batch protection on a specific media format in the multimedia file, and the user may select a global specific media after opening the multimedia file, and the system finds all the corresponding media types in the file for encryption processing or authorization processing; When reading an encrypted multimedia file, corresponding decryption or permission authentication is performed for different media formats.
  • an embodiment of the present invention provides a segmentation protection system for local files.
  • an encryption device 21, a decryption device 22, and an information display device 23 are included. , among them,
  • the encryption device 21 is configured to encrypt each piece of data in the local file that needs to be protected, set a protection flag, and store the encryption password;
  • the decrypting device 22 is configured to identify an encrypted portion in the local file, and accept a decryption key input by the user to decrypt the encrypted portion in the local file;
  • the information display device 23 is configured to display information of an unencrypted portion and a decrypted portion of the local file, and to skip or hide information of the undecrypted portion of the local file.
  • Local files can include audio and video media files and text files.
  • each piece of media data block of the media file or each piece of text data block of the text file is encrypted by the encryption device 21, the protection flag is set, and the encrypted password specified by the user is stored, and usually The protection flag and the encrypted password are stored in the original local file; when playing the media file with the protection mark or opening the text file with the protection mark, the decryption device 22 recognizes those encrypted portions of the file and accepts the user input.
  • Decryption key decrypting the encrypted portion of the file; if the decryption is correct, the protected media data block is played by the information display device 23 or the protected text data block is displayed; otherwise, only the unencrypted portion of the file is displayed, Skip or hide the information in the undecrypted portion of the file. Therefore, it can satisfy people's more accurate information encryption and realize more flexible protection of file contents.
  • the segmentation protection system of the entire local file described above which includes the encryption device 21 and the decryption device 22 And the information display device 23 can be separately deployed on separate physical devices or integrated. However, this is not required, and all combinations of the system components in the physical location are within the scope of this patent.
  • an embodiment of the present invention further provides a segmentation protection system for a network streaming media file and a streaming media server.
  • the segmentation protection system of the network streaming media file includes a rights control device 31 on the streaming media server side, a media file transmission device 32 on the streaming media server side, and a local streaming media playback device 33, wherein
  • the rights control device 31 on the streaming media server side is configured to authorize each piece of media data blocks that need to be protected in the network streaming media file, and set a protection flag;
  • the media file transmission device 32 on the streaming media server side is configured to identify an authorized part in the network streaming media file when transmitting the network streaming media file with the protection mark, and accept the authority authentication information input by the user, and authenticate the network streaming media.
  • the authorization part of the file is configured to identify an authorized part in the network streaming media file when transmitting the network streaming media file with the protection mark, and accept the authority authentication information input by the user, and authenticate the network streaming media.
  • the local streaming media playback device 33 is configured to play a media stream of a user-owned portion of the network streaming media file, and skip the media stream of the user-unauthorized portion of the network streaming media file.
  • the streaming media server includes:
  • the permission control device 31 is configured to authorize each piece of the media data block that needs to be protected in the network streaming media file, and set a protection flag;
  • the media file transmission device 32 is configured to identify an authorized part of the network streaming media file when transmitting the network streaming media file with the protection flag, and accept the authority authentication information input by the user, and authenticate the authorized part in the network streaming media file.
  • streaming media files are more focused on the control of user rights than on the data itself. Therefore, unlike local files, streaming media servers can not perform real data encryption on media files, but only records.
  • the protection mark can be.
  • the rights control device 31 may grant the same rights or grant different rights, which may be protected at a hierarchical level, and only the user who passes the rights authentication can view the protected part. Therefore, it can meet people's more precise authorization requirements and achieve more flexible protection of streaming media file content.
  • each functional unit in the embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Description

一种文件分段保护的方法、 装置及系统 本申请要求于 2009 年 12 月 18 日提交中国专利局、 申请号为 200910259446.5、 发明名称为"一种文件分段保护的方法、 装置及系统"的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及数字产品的保护, 尤其涉及一种文件分段保护的方法、 装 置及系统。 发明背景
目前数字产品的保护多数是针对文件级别进行加密或授权, 这种粒度 的保护在某些应用场景下并不够灵活。 例如, 对于一个音视频文件, 可能 希望屏蔽对儿童不健康的情节, 那么就需要对此部分的内容独立加密; 或 者, 对于一个网络流媒体文件, 比如一段会议的录像, 可能只需要保护部 分牵涉到保密信息的议题; 或者, 对于一个数字版权的文本文件, 发行商 可能希望对文件中的不同章节分段授权。
目前针对于视频文件的分段保护, 通常的做法是在原有数据帧上增加 图片 (马赛克), 或者直接破坏原有数据; 这种做法存在的问题是很难还原 或者根本无法还原原始数据。
目前针对于网络流媒体文件的保护, 通常的做法是将媒体文件分割成 不同的文件, 针对不同的文件开放不同的权限, 用户收看音视频时先登录 提供媒体服务的网站, 只有拥有相应权限的用户才可以收看媒体文件; 这 种做法存在的问题是维护比较麻烦, 用户体验也不好。 发明内容
为了满足人们更精确的信息加密和授权需求, 实现对文件内容更灵活 的保护, 本发明的实施例提供了一种文件分段保护的方法、 装置及系统。 提供的一种文件分段保护的方法, 包括如下内容:
在文件中对每段需要保护的部分设置保护标志;
使用带有保护标志的所述文件时, 提示用户输入解密密钥或进行权限 认证;
如果解密正确或权限认证通过, 则允许使用所述文件中保护的部分, 否则跳过或隐藏所述文件中保护的部分。
提供的一种本地文件的分段保护系统, 包括加密装置、 解密装置和信 息显示装置, 其中, 所述加密装置, 用于对本地文件中每段需要保护的部 分进行加密, 设置保护标志并存储加密密码; 所述解密装置, 用于识别本 地文件中加密部分, 并接受用户输入的解密密钥, 解密本地文件中加密部 分; 所述信息显示装置, 用于显示本地文件中未加密部分和解密部分的信 息、 跳过或者隐藏本地文件中未解密部分的信息。
提供的一种网络流媒体文件的分段保护系统, 包括本地流媒体播放装 置、 流媒体服务器侧的权限控制装置和流媒体服务器侧的媒体文件传输装 置, 其中, 所述流媒体服务器侧的权限控制装置, 用于对网络流媒体文件 中每段需要保护的媒体数据块进行授权, 设置保护标志; 所述流媒体服务 器侧的媒体文件传输装置, 用于在传输带有保护标志的网络流媒体文件时, 识别网络流媒体文件中授权部分, 并接受用户输入的权限认证信息, 认证 网络流媒体文件中授权部分; 所述本地流媒体播放装置, 用于播放网络流 媒体文件中用户拥有权限部分的媒体流, 跳过网络流媒体文件中用户无权 限部分的媒体流。
提供的一种流媒体服务器, 包括: 权限控制装置, 用于对网络流媒体 文件中每段需要保护的媒体数据块进行授权, 设置保护标志; 媒体文件传 输装置, 用于在传输带有保护标志的网络流媒体文件时, 识别网络流媒体 文件中授权部分, 并接受用户输入的权限认证信息, 认证网络流媒体文件 中授权部分。 由以上技术方案可知, 通过在文件中对每段需要保护的部分设置保护 标志, 当使用该带有保护标志的所述文件时, 提示用户输入解密密钥或进 行权限认证, 只有解密正确或权限认证通过, 才允许使用所述文件中保护 的部分, 否则跳过或隐藏所述文件中保护的部分; 与现有技术相比, 无需 破坏原有文件内容, 也无需将文件分割成不同的文件, 即可满足人们更精 确的信息加密和授权需求, 实现对文件内容更灵活的保护。 附图简要说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 并不构成对本发明的限定。 在附图中:
图 1为本发明的实施例提供的一种文件分段保护方法的流程图; 图 2为本发明的实施例提供的一种本地文件的分段保护系统的构成图; 图 3 为本发明的实施例提供的一种网络流媒体文件的分段保护系统的 构成图。 实施本发明的方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下面结合实施方 式和附图, 对本发明做进一步详细说明。 在此, 本发明的示意性实施方式 及其说明用于解释本发明, 但并不作为对本发明的限定。
参见附图 1 , 本发明的实施例提供的一种文件分段保护的方法, 包括如 下内容:
11 , 在文件中对每段需要保护的部分设置保护标志;
12 , 使用带有保护标志的所述文件时, 提示用户输入解密密钥或进行 权限认证;
13, 如果解密正确或权限认证通过, 则允许使用所述文件中保护的部 分, 否则跳过或隐藏所述文件中保护的部分。 本实施例提供的文件分段保护的方法, 通过在文件中对每段需要保护 的部分设置保护标志, 当使用该带有保护标志的所述文件时, 提示用户输 入解密密钥或进行权限认证, 只有解密正确或权限认证通过, 才允许使用 所述文件中保护的部分, 否则跳过或隐藏所述文件中保护的部分; 与现有 技术相比, 无需破坏原有文件内容, 也无需将文件分割成不同的文件, 即 可满足人们更精确的信息加密和授权需求, 实现对文件内容更灵活的保护。
下面针对不同的文件类型对本发明的实施例提供的文件分段保护的方 法做更具体的说明。
实施例一, 本地媒体文件
目前流行的视频文件在文件格式上一般是以帧为单位的数据块进行存 储的, 比如 avi、 mpeg; 音频文件一般是以采样点为最小单位的数据块进行 存诸的, 比:^ wav、 mp3。
为了对音、 视频文件进行精确的分段保护, 可以对每个最小单位的数 据块增加一个保护标志, 当然为了减少存储空间, 也可以让多个数据块共 享一个保护标志。 该保护标志物理上的存储位置可以独立于原有的媒体文 件, 比如增加一个单独的伴侣文件; 也可以保存在原有媒体文件中, 比如 某些媒体文件本身是保存有数据块的索引结构的, 如 avi2.0 的文件中每帧 数据都有索引数据块, 对于这类媒体文件, 可以将保护标志放置在该索引 块中。
在本地媒体文件播放的过程中, 用户可以选择对每段需要保护的媒体 数据块进行加密, 并输入加密密码, 该用户输入的密码作为解密时的密钥。 加密的文件可以直接写入当前播放的媒体文件, 也可以单独生成一个独立 的媒体文件。 每段被加密的数据可以共享一个加密密码, 也可以使用独立 的加密密码。 如果使用统一的加密密码, 那么用户只需要在加密第一个媒 体数据段时输入加密密码。
在播放经过加密的媒体文件时, 需要先判断当前媒体块是否已经加密, 如果已经加密则提示用户输入解密密钥, 如果解密正确则播放该段被保护 的媒体数据块, 如果解密错误则停止播放或者直接跳过该段被保护的媒体 数据块。 需要说明的是, 对于视频数据, 如果要跳帧播放, 要求第一帧数 据必须是 I帧,这就要求对每段需要保护的媒体数据块在加密结束之后新生 成一个 I帧。
上述在播放经过加密的媒体文件时, 在具体实施时可能会有一些变通 的方案, 比如发现是加密文件的话, 在刚开始播放的时候就要求用户输入 密码, 在播放过程中不再提示用户, 以免干扰用户观看体验, 方案具体实 施过程中的变体也属于本专利的保护范围。
实施例二, 网络流媒体文件
当前媒体数据 (例如音、 视频数据) 在网络上大多是以流媒体的形式 进行传输的。 所谓流媒体是指采用流式传输的方式在 Internet播放的媒体格 式。 流媒体又叫流式媒体, 常见的应用是: 商家用一个音视频传送服务器 把节目拆装成数据包发出, 传送到网络上; 用户通过解压设备对这些数据 进行解压后, 还原成音视频节目。
对流媒体的分段保护过程基本是和本地媒体文件一致的, 只不过这些 交互过程是通过网络报文传输的。 差异主要包括如下几个方面:
( 1 )流媒体播放器和流媒体服务器之间的权限控制是通过实时流传输 协议(Real Time Streaming Protocol, RTSP )等流媒体控制协议完成; 流媒 体播放器和流媒体服务器之间的媒体文件读取是通过实时传输协议 ( Real-timeTransportProtocol, RTP )或传输 ( Transport Stream, TS )等 控制协议完成。
( 2 ) 由于媒体文件保存在流媒体服务器侧, 本地用户并没办法直接打 开, 因此流媒体服务器可以对媒体文件不进行真正的数据加密, 而仅仅记 录保护标志即可。 也即是说对于流媒体文件更侧重于对用户权限的控制, 而不是对数据本身的加密。 ( 3 )在实际运营的过程中, 可以使用更为负责的用户管理策略进行权 限认证, 对每段需要保护的媒体数据块, 或者被授予相同的权限或者被授 予不同的权限, 也即是说保护标志可以是分级别的, 只有权限认证通过的 用户才可以查看受保护部分。
综上, 在实现对网络流媒体文件的分段保护时, 流媒体服务器侧首先 对每段需要保护的媒体数据块进行授权, 设置保护标志; 在进行媒体流传 输时, 如果发现媒体流中存在保护标志, 则通过媒体流控制协议 (可以是 扩展 RTSP报文), 提示流媒体播放器进行权限认证; 用户将输入用户名、 密码等权限认证信息发送给流媒体服务器; 流媒体服务器认证通过后, 发 送保护部分的媒体文件内容; 如果没有认证通过, 则可以直接跳过保护部 分的媒体文件内容。 因此通过本实施例的方法能够满足人们更精确的授权 需求, 部署更灵活的商业应用, 实现对网络流媒体文件更灵活的保护。
需要说明的是, 上述权限认证信息可以是在播放过程中通过媒体流控 制协议报文传输的, 也可以是在播放文件之前就已经通过用户登录的方式 i己录的。
实施例三, 文本文件
文本文件通常是以章节、 段落的格式组织在一起。 可以针对文本文件 的不同章节、 段落增加保护标志, 其实现方式和本地媒体文件基本类似。
与本地媒体文件处理的不同点主要在于: 被保护文本数据块的显示。 由于文本文件不是流式文件、 一般在打开的时候就全部呈现在阅读器上; 因此对保护的部分需要隐藏, 例如可以在加密的区域增加一个特殊的加密 标识, 并通过触发此标识来激活解密过程。 如果解密正确则显示该保护的 文本数据块, 如果解密错误则继续隐藏该保护的文本数据块。
另外, 需要说明的是, 对多媒体文件的分段保护可以参照上述的实施 例一、 二和三进行。 多媒体文件一般是指将多种不同的文件形式 (主要指 媒体文件和文本文件形式) 结合在一起的文件类型。 在对多媒体文件的分 段保护过程中, 若为媒体文件加密, 则采用上述实施例一或二的保护方式 进行, 若为文本形式则采用上述实施例三的保护方式进行。
当然, 用户也可以选择对多媒体文件中的特定媒体形式进行批量保护, 用户可以在打开多媒体文件后, 选择全局特定媒体, 由系统查找到文件中 所有的相应媒体类型进行加密处理或授权处理; 用户在读取被加密的多媒 体文件时, 针对于不同的媒体格式进行相应的解密或权限认证。
基于上述本发明提供的文件分段保护的方法实施例, 本发明的实施例 提供了一种本地文件的分段保护系统, 参见附图 2, 包括加密装置 21、 解 密装置 22和信息显示装置 23, 其中,
所述加密装置 21,用于对本地文件中每段需要保护的数据块进行加密, 设置保护标志并存储加密密码;
所述解密装置 22, 用于识别本地文件中加密部分, 并接受用户输入的 解密密钥, 解密本地文件中加密部分;
所述信息显示装置 23 , 用于显示本地文件中未加密部分和解密部分的 信息、 跳过或者隐藏本地文件中未解密部分的信息。
本地文件可以包括音、 视频的媒体文件和文本文件。 如附图 2 所示, 对媒体文件的每段媒体数据块或对文本文件的每段文本数据块, 通过加密 装置 21进行加密处理, 设置保护标志并存储由用户指定的加密密码, 并且 通常可以将保护标志和加密密码都存放在原有的本地文件中; 当播放带有 保护标志的媒体文件或打开带有保护标志的文本文件时, 由解密装置 22识 别文件中那些加密部分, 并接受用户输入的解密密钥, 解密文件中加密部 分; 如果解密正确, 则由信息显示装置 23对保护的媒体数据块进行播放或 对保护的文本数据块进行显示, 否则仅显示文件中未加密部分的信息、 跳 过或者隐藏文件中未解密部分的信息。 因此, 能够满足人们更精确的信息 加密, 实现对文件内容更灵活的保护。
上述整个本地文件的分段保护系统, 这包括加密装置 21、 解密装置 22 和信息显示装置 23 , 可以分别部署在独立的物理设备上, 或者集成在一起。 但这不是必须的, 系统组成部分在物理位置上的所有组合方案都属于本专 利的保护范围。
基于上述本发明提供的文件分段保护的方法实施例, 本发明的实施例 还提供了一种网络流媒体文件的分段保护系统和一种流媒体服务器。
参见附图 3,提供的网络流媒体文件的分段保护系统包括流媒体服务器 侧的权限控制装置 31、流媒体服务器侧的媒体文件传输装置 32和本地流媒 体播放装置 33、, 其中,
所述流媒体服务器侧的权限控制装置 31 , 用于对网络流媒体文件中每 段需要保护的媒体数据块进行授权, 设置保护标志;
所述流媒体服务器侧的媒体文件传输装置 32, 用于在传输带有保护标 志的网络流媒体文件时, 识别网络流媒体文件中授权部分, 并接受用户输 入的权限认证信息, 认证网络流媒体文件中授权部分;
所述本地流媒体播放装置 33, 用于播放网络流媒体文件中用户拥有权 限部分的媒体流, 跳过网络流媒体文件中用户无权限部分的媒体流。
仍参见附图 3, 提供的流媒体服务器, 包括:
权限控制装置 31, 用于对网络流媒体文件中每段需要保护的媒体数据 块进行授权, 设置保护标志;
媒体文件传输装置 32,用于在传输带有保护标志的网络流媒体文件时, 识别网络流媒体文件中授权部分, 并接受用户输入的权限认证信息, 认证 网络流媒体文件中授权部分。
如前所述, 流媒体文件更侧重于对用户权限的控制, 而不是对数据本 身的加密, 因此与本地文件不同的是, 流媒体服务器可以对媒体文件不进 行真正的数据加密, 而仅仅记录保护标志即可。 而且, 对每段需要保护的 媒体数据块, 权限控制装置 31或者授予相同的权限或者授予不同的权限, 可以是分级别进行保护, 只有权限认证通过的用户才可以查看受保护部分。 因此, 能够满足人们更精确的授权需求, 实现对流媒体文件内容更灵活的 保护。
最后需要说明的是, 本发明实施例中的各功能单元可以集成在一个处 理模块中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元 集成在一个模块中。 上述集成的模块既可以采用硬件的形式实现, 也可以 釆用软件功能模块的形式实现。 所述集成的模块如果以软件功能模块的形 式实现并作为独立的产品销售或使用时, 也可以存储在一个计算机可读取 存储介质中。 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方 式而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种文件分段保护的方法, 其特征在于, 包括:
在文件中对每段需要保护的部分设置保护标志;
使用带有保护标志的所述文件时, 提示用户输入解密密钥或进行权限 认证;
如果解密正确或权限认证通过, 则允许使用所述文件中保护的部分, 否则跳过或隐藏所述文件中保护的部分。
2、 如权利要求 1所述的文件分段保护的方法, 其特征在于, 对本地媒 体文件, 所述方法具体为:
对每段需要保护的媒体数据块进行加密, 设置保护标志并存储加密密 码;
在播放带有保护标志的所述本地媒体文件时, 提示用户输入解密密钥; 如果解密正确则播放所述保护的媒体数据块, 如果解密错误则跳过所 述保护的媒体数据块。
3、 如权利要求 1所述的文件分段保护的方法, 其特征在于, 对网络流 媒体文件, 所述方法具体为:
对每段需要保护的媒体数据块进行授权, 设置保护标志;
在传输带有保护标志的所述网络流媒体文件时, 通过媒体流控制协议 或者通过用户登录方式提示用户进行权限认证;
如果权限认证通过则发送所述保护的媒体数据块, 如果权限认证未通 过则跳过所述保护的媒体数据块。
4、 如权利要求 1所述的文件分段保护的方法, 其特征在于, 对文本文 件, 所述方法具体为:
对每段需要保护的文本数据块进行加密, 设置保护标志并存储加密密 码;
在打开带有保护标志的所述文本文件时, 隐藏所述保护的文本数据块, 并提示用户激活解密过程;
如果解密正确则显示所述保护的文本数据块, 如果解密错误则隐藏所 述保护的文本数据块。
5、 如权利要求 1-4任一所述的文件分段保护的方法, 其特征在于, 所 述保护标志或独立于原有的文件保存, 或保存在原有的文件中。
6、 如权利要求 2或 4所述的文件分段保护的方法, 其特征在于, 每段 的所述需要保护的媒体数据块或文本数据块, 或者共享一个加密密码或者 使用独立的加密密码。
7、 如权利要求 3所述的文件分段保护的方法, 其特征在于, 每段的所 述需要保护的媒体数据块, 或者被授予相同的权限或者被授予不同的权限。
8、 一种本地文件的分段保护系统, 其特征在于, 包括加密装置、 解密 装置和信息显示装置, 其中,
所述加密装置, 用于对本地文件中每段需要保护的部分进行加密, 设 置保护标志并存储加密密码;
所述解密装置, 用于识别本地文件中加密部分, 并接受用户输入的解 密密钥, 解密本地文件中加密部分;
所述信息显示装置, 用于显示本地文件中未加密部分和解密部分的信 息、 跳过或者隐藏本地文件中未解密部分的信息。
9、 如权利要求 8所述的本地文件的分段保护系统, 其特征在于, 所述 加密装置、 解密装置和信息显示装置, 或者分别部署在独立的物理设备上, 或者集成在一起。
10、 一种网络流媒体文件的分段保护系统, 其特征在于, 包括本地流 媒体播放装置、 流媒体服务器侧的权限控制装置和流媒体服务器侧的媒体 文件传输装置, 其中,
所述流媒体服务器侧的权限控制装置, 用于对网络流媒体文件中每段 需要保护的媒体数据块进行授权, 设置保护标志; 所述流媒体服务器侧的媒体文件传输装置, 用于在传输带有保护标志 的网络流媒体文件时, 识别网络流媒体文件中授权部分, 并接受用户输入 的权限认证信息, 认证网络流媒体文件中授权部分;
所述本地流媒体播放装置, 用于播放网络流媒体文件中用户拥有权限 部分的媒体流, 跳过网络流媒体文件中用户无权限部分的媒体流。
11、 一种流媒体服务器, 其特征在于, 包括:
权限控制装置, 用于对网络流媒体文件中每段需要保护的媒体数据块 进行授权, 设置保护标志;
媒体文件传输装置, 用于在传输带有保护标志的网络流媒体文件时, 识别网络流媒体文件中授权部分, 并接受用户输入的权限认证信息, 认证 网络流媒体文件中授权部分。
PCT/CN2010/079817 2009-12-18 2010-12-15 一种文件分段保护的方法、装置及系统 WO2011072607A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009102594465A CN102025490A (zh) 2009-12-18 2009-12-18 一种文件分段保护的方法、装置及系统
CN200910259446.5 2009-12-18

Publications (1)

Publication Number Publication Date
WO2011072607A1 true WO2011072607A1 (zh) 2011-06-23

Family

ID=43866392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079817 WO2011072607A1 (zh) 2009-12-18 2010-12-15 一种文件分段保护的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN102025490A (zh)
WO (1) WO2011072607A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2859707B1 (en) * 2012-07-13 2018-01-03 Huawei Technologies Co., Ltd. Signaling and handling content encryption and rights management in content transport and delivery
CN103873243B (zh) 2012-12-12 2018-06-15 腾讯科技(北京)有限公司 实现数据安全传输的方法、系统、服务器和终端
CN103458046B (zh) * 2013-09-13 2016-09-07 中国科学院信息工程研究所 一种基于核心网络的数据秘密共享系统及方法
CN104899753B (zh) * 2015-06-19 2019-08-13 李笑晨 局部密文嵌入式互联网信息交易系统
CN105049941B (zh) * 2015-06-24 2017-06-30 广州酷狗计算机科技有限公司 一种多媒体文件的处理方法及装置
CN106060604A (zh) * 2016-06-28 2016-10-26 暴风集团股份有限公司 基于bhd文件实现数字权限管理播放的方法及系统
CN108024144B (zh) * 2017-11-28 2020-07-10 网宿科技股份有限公司 视频播放方法、终端和计算机可读存储介质
CN109272602B (zh) * 2018-08-29 2021-12-28 百度在线网络技术(北京)有限公司 无人车数据的录制方法、装置、设备和存储介质
CN111464428B (zh) * 2020-03-31 2022-03-01 维沃移动通信有限公司 音频处理方法、服务器、电子设备及计算机可读存储介质
CN112416450B (zh) * 2020-06-05 2023-02-17 上海哔哩哔哩科技有限公司 资源加密及展示方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1922677A (zh) * 2004-02-23 2007-02-28 皇家飞利浦电子股份有限公司 用于加密数据流的方法和电路
CN1954609A (zh) * 2004-04-06 2007-04-25 梅迪亚利夫公司 将受保护音频视频流安全广播到动态接收器组的方法和系统
CN1997159A (zh) * 2006-09-29 2007-07-11 清华大学深圳研究生院 基于h.264编码标准的质量可控的视频流加密方法
CN101026737A (zh) * 2007-02-09 2007-08-29 浪潮电子信息产业股份有限公司 硬盘媒体播放机的播出节目控制方法
CN101051906A (zh) * 2007-05-14 2007-10-10 北京大学 发送、接收流式媒体的方法及流式媒体认证系统
CN101196971A (zh) * 2007-12-18 2008-06-11 北京大学 一种对数字内容进行授权管理的实现方法及系统
CN101325491A (zh) * 2008-07-28 2008-12-17 北京中星微电子有限公司 一种即时通讯软件的用户界面控制方法及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1922677A (zh) * 2004-02-23 2007-02-28 皇家飞利浦电子股份有限公司 用于加密数据流的方法和电路
CN1954609A (zh) * 2004-04-06 2007-04-25 梅迪亚利夫公司 将受保护音频视频流安全广播到动态接收器组的方法和系统
CN1997159A (zh) * 2006-09-29 2007-07-11 清华大学深圳研究生院 基于h.264编码标准的质量可控的视频流加密方法
CN101026737A (zh) * 2007-02-09 2007-08-29 浪潮电子信息产业股份有限公司 硬盘媒体播放机的播出节目控制方法
CN101051906A (zh) * 2007-05-14 2007-10-10 北京大学 发送、接收流式媒体的方法及流式媒体认证系统
CN101196971A (zh) * 2007-12-18 2008-06-11 北京大学 一种对数字内容进行授权管理的实现方法及系统
CN101325491A (zh) * 2008-07-28 2008-12-17 北京中星微电子有限公司 一种即时通讯软件的用户界面控制方法及系统

Also Published As

Publication number Publication date
CN102025490A (zh) 2011-04-20

Similar Documents

Publication Publication Date Title
WO2011072607A1 (zh) 一种文件分段保护的方法、装置及系统
JP4555046B2 (ja) データ転送システム及びデータ転送方法
WO2018177110A1 (zh) 媒体内容的许可方法以及设备
US8234217B2 (en) Method and system for selectively providing access to content
RU2504005C2 (ru) Устройство и способ управления цифровыми правами
KR101127194B1 (ko) 무효화 가능 접근을 이용한 보안 콘텐트 제공 시스템 및 방법
US8831218B2 (en) Digital rights management system and methods for provisioning content to an intelligent storage
TWI294072B (en) Method of communicating digital data, method of processing a data file and digital rights management module
EP1846863B1 (en) Hardware multimedia endpoint and personal computer
TWI257798B (en) System for identification and revocation of audiovisual titles and replicators
US8595492B2 (en) On-demand protection and authorization of playback of media assets
US8422684B2 (en) Security classes in a media key block
JP5399377B2 (ja) コンテンツ鍵の変更を支援する方法および装置
KR20070009983A (ko) 콘텐츠로의 액세스를 인증하는 방법
US20090060182A1 (en) Apparatus and method for enhancing the protection of media content
JP2004362547A (ja) スマートカードを用いた装置認証によりホームドメインを構成する方法、及びホームドメインを構成するためのスマートカード
JP2000156676A (ja) デジタルコンテント用の安全配布システム
CN103237010B (zh) 以加密方式提供数字内容的服务器端
JP4791425B2 (ja) DRM(DigitalRightsManagement)デバイスを用いてDRM機能と付加機能を実行するための方法およびそのシステム
CN103237011B (zh) 数字内容加密传送方法以及服务器端
JP2006246081A (ja) 暗号処理装置、コンテンツ再生システム、icカード、暗号処理方法、暗号処理プログラムおよび記録媒体
JP2012133426A (ja) 情報処理装置、および情報処理方法、並びにプログラム
CN106060604A (zh) 基于bhd文件实现数字权限管理播放的方法及系统
JP2004312717A (ja) データ保護管理装置およびデータ保護管理方法
KR100635128B1 (ko) 아이에스오 베이스 미디어 파일 형식의 암호화된 동영상파일 생성 장치 및 암호화된 동영상 복원 장치와, 그 복원방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10837044

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10837044

Country of ref document: EP

Kind code of ref document: A1