WO2012174787A1 - Data forward protection method and device - Google Patents

Data forward protection method and device Download PDF

Info

Publication number
WO2012174787A1
WO2012174787A1 PCT/CN2011/078580 CN2011078580W WO2012174787A1 WO 2012174787 A1 WO2012174787 A1 WO 2012174787A1 CN 2011078580 W CN2011078580 W CN 2011078580W WO 2012174787 A1 WO2012174787 A1 WO 2012174787A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
flag
forwarded
data file
file
Prior art date
Application number
PCT/CN2011/078580
Other languages
French (fr)
Chinese (zh)
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 WO2012174787A1 publication Critical patent/WO2012174787A1/en

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Definitions

  • the main purpose of the present invention is to provide a data forwarding protection method and apparatus.
  • the file can be forwarded to other users for free.
  • FIG. 1 is a flowchart of a data forwarding protection method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a DRM file according to an embodiment of the present invention.
  • step 102 the electronic device determines whether the data file can be forwarded according to the maximum number of forwarding times and the forwarding flag. If the electronic device can forward, modify the maximum number of forwarding times and the forwarding flag, and carry the data file with the modified maximum forwarding number and the forwarding flag. Forward, otherwise, the forwarding process ends.
  • the DRM application forwarding system includes: a server, a first client device, a second client device, and a third client device.
  • the client device may be an electronic device loaded with an intelligent platform, such as a computer, a smart phone, or the like, or an electronic device having a simple smart module, such as a smart TV, an intelligent car player, or the like.
  • the first client device requests the content object and the rights file from the server, and requests the number of forwardings N, and the server sends the content object and the rights file to the first client device in the DRM combined sending mode, and forwards the DRM file to the second client device.
  • FIG. 3 is a schematic structural diagram of a DRM file according to an embodiment of the present invention, as shown in FIG. 3, including a original Distributed Coordination Function (DCF) header, a content object, a rights file, and a newly added custom field (also It may be referred to as a forwarding field.
  • the newly added custom field includes: a forwarding flag Flag, a maximum number of forwarding times N, and a DCF header including a public header and user data.
  • DCF Distributed Coordination Function
  • step 4 the user 1 recommends the application to the user 2 and forwards the application APP2 to the user 2.
  • User 1 parses the DRM2 message before sending the DRM2 message, and extracts the turn in the DRM2 message. Number of times and forwarding flag;
  • Step 10 the user 2 extracts the forwarding flags Flag and N in the DRM2 message
  • Step 12 The user 2 stores the parsed application APP2, and the smart phone of the user 2 can use all the functions of the APP2 to implement forwarding;
  • Step 14 Before sending the DRM2 message, the user 1 parses the DRM2 message, and extracts the forwarding number and forwarding flag in the DRM2 message.
  • step 22 the user 3 stores the parsed application APP2.
  • the smartphone of the user 3 can use all the functions of the APP2 to implement forwarding.
  • Step 3 The smartphone of the user 1 receives the DRM3 message, parses the DRM3 message, and extracts the forwarding flag Flag and the number of forwarding times N in the DRM3 message;
  • Step 5 User 1 needs to use APP3 on the TV at home, and the TV is also an intelligent platform, so User 1 forwards APP3 to the smart TV, and User 1's smartphone parses the DRM3 message before sending the DRM3 message, and extracts the DRM3 message.
  • Step 8 user 1's smartphone package file DRM3, forming a DRM3 message structured as shown in FIG. 3;
  • the first client device uses the smartphone APP1 purchased from the server and purchases the number of forwardings 1 , and the first client device transfers the application to the smartphone of the second client device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Bioethics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a data forward protection method, which comprises: an electronic device receiving, from a server, a data file containing data content and a forwarding right, the forwarding right being set with the maximum forwarding times of the data file and a forwarding tag of whether the data file is allowed to be forwarded; and the electronic device forwarding the data file according to the forwarding right. The present invention also provides a data forward protection device. The technical solution provided by the present invention solves the illegal forwarding problem in the prior art that a user that receives a forwarded file can forward the file again to the other users for free.

Description

数据转发保护方法及装置 技术领域  Data forwarding protection method and device
本发明涉及移动通讯领域, 特别是涉及一种数据转发保护方法及装置。 背景技术  The present invention relates to the field of mobile communications, and in particular, to a data forwarding protection method and apparatus. Background technique
目前, 在线应用商店是一种新兴的售卖移动互联网应用的商家对客户 Currently, the online app store is an emerging merchant-to-customer selling mobile internet applications.
( Business to Consumer, B2C )或客户对客户 ( Consumer to Consumer, C2C ) 平台。 历数现有的应用售卖模式, 在 B2C模式下, 只限于个人购买和消费, 而在 C2C模式下的应用共享和转赠基本只涉及到免费模式。 (Business to Consumer, B2C) or Customer to Consumer (C2C) platform. According to the existing application sales model, in the B2C mode, it is limited to personal purchase and consumption, while the application sharing and transfer in the C2C mode basically only involves the free mode.
现有的数字版权管理( Digital Rights Management , DRM ) , 已实现了对 数字内容知识产权的保护, 在实际应用中, DRM可以通过组合发送模式对 数字内容进行保护, DRM的组合发送( Combined Delivery )模式包括: 版 权对象(可选)和内容对象一起封装到 DRM文件中发送到设备, 可以通过 版权对象对 DRM进行数字内容知识产权保护, 以实现 C2C场合应用的转 发。  The existing Digital Rights Management (DRM) has realized the protection of intellectual property rights of digital content. In practical applications, DRM can protect digital content through combined transmission mode, and combined delivery of DRM (Complicit Delivery) The mode includes: The copyright object (optional) is encapsulated into the DRM file and sent to the device together with the content object, and the digital content intellectual property protection of the DRM can be performed by the copyright object to implement the forwarding of the application in the C2C occasion.
目前, DRM 中的版权对象实现的限制类型包括: 使用次数(count ), 使用时间 (datetime ), 使用时间段( interval ), 版权对象中没有实现对转发 次数的限制, 这样就会导致釆用 DRM组合发送方式发送的应用,将会不受 控的被二级转发, 即接受转发文件的用户将文件再次免费转发给其他用户 使用, 这样就与应用的合法转发相违背了。 因此, 要使用 DRM技术实现 C2C场合应用的合法分发, 还需要从技术上对转发次数进行限制。 发明内容  At present, the types of restrictions implemented by copyright objects in DRM include: number of uses (count), time of use (datetime), time interval (interval), and the number of forwardings is not implemented in the copyright object, which leads to the use of DRM. The application sent by the combined sending mode will be forwarded unsupervised by the secondary, that is, the user accepting the forwarded file will forward the file to other users for free, which is contrary to the legitimate forwarding of the application. Therefore, to use DRM technology to achieve legal distribution of C2C applications, it is also necessary to technically limit the number of forwarding. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种数据转发保护方法及装置, 以解决现有技术中接收转发文件的用户能够将文件再次免费转发给其他用 户使用而导致的不合法转发的问题。 In view of this, the main purpose of the present invention is to provide a data forwarding protection method and apparatus. In order to solve the problem of illegal forwarding caused by the user who receives the forwarded file in the prior art, the file can be forwarded to other users for free.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供一种数据转发保护方法, 包括:  The present invention provides a data forwarding protection method, including:
电子设备接收服务器发送的包含有数据内容和转发权限的数据文件, 其中, 转发权限中设置有转发数据文件的最大转发次数以及是否允许转发 数据文件的转发标志;  The electronic device receives a data file that is sent by the server and includes data content and forwarding rights, where the forwarding permission is set with a maximum number of forwarding of the forwarded data file and whether a forwarding flag of the data file is allowed to be forwarded;
电子设备根据转发权限转发数据文件。  The electronic device forwards the data file according to the forwarding authority.
本发明还提供了一种数据转发保护装置 , 包括:  The invention also provides a data forwarding protection device, comprising:
接收模块, 用于接收服务器发送的包含有数据内容和转发权限的数据 文件, 其中, 转发权限中设置有转发数据文件的最大转发次数以及是否允 许转发数据文件的转发标志;  a receiving module, configured to receive a data file that is sent by the server and includes data content and forwarding rights, where the forwarding permission sets a maximum number of forwarding of the forwarding data file and whether a forwarding flag of the data file is allowed to be forwarded;
处理模块, 用于根据转发权限转发数据文件。  A processing module, configured to forward the data file according to the forwarding authority.
本发明有益效果如下:  The beneficial effects of the present invention are as follows:
本发明通过最大转发次数以及转发标志确定是否能够对数据文件进行 转发, 解决了现有技术中接收转发文件的用户能够将文件再次免费转发给 其他用户使用而导致的不合法转发的问题, 本发明能够对数据文件实现转 发保护, 使得终端用户购买的应用只能通过授权转发, 从而实现 C2C场合 的合法转发, 并极大的促进了移动互联网应用的售卖销量。 附图说明  The present invention determines whether the data file can be forwarded by using the maximum number of times of forwarding and the forwarding flag, and solves the problem that the user who receives the forwarded file in the prior art can forward the file to the other user for free forwarding. The data file can be forwarded and protected, so that the application purchased by the end user can only be forwarded through authorization, thereby realizing the legal forwarding of the C2C occasion, and greatly promoting the sales of the mobile Internet application. DRAWINGS
图 1是本发明实施例的数据转发保护方法的流程图;  1 is a flowchart of a data forwarding protection method according to an embodiment of the present invention;
图 2是本发明实施例的 DRM应用转发系统的结构示意图;  2 is a schematic structural diagram of a DRM application forwarding system according to an embodiment of the present invention;
图 3是本发明实施例的 DRM文件的结构示意图;  3 is a schematic structural diagram of a DRM file according to an embodiment of the present invention;
图 4是本发明实施例的数据转发保护装置的结构示意图;  4 is a schematic structural diagram of a data forwarding protection apparatus according to an embodiment of the present invention;
图 5是本发明实施例的数据转发保护装置的优选结构示意图; 图 6是本发明实施例的加密解密单元处理 DRM文件的示意图; 图 7是本发明实施例的第一客户端装置从服务器获取 DRM应用的流程 图; FIG. 5 is a schematic diagram of a preferred structure of a data forwarding protection apparatus according to an embodiment of the present invention; FIG. 6 is a schematic diagram of an encryption decryption unit processing a DRM file according to an embodiment of the present invention; FIG. 7 is a flowchart of a first client device acquiring a DRM application from a server according to an embodiment of the present invention;
图 8是本发明实施例的第一客户端装置将应用转发给第二客户端装置 的流程图。 具体实施方式  Figure 8 is a flow diagram of a first client device forwarding an application to a second client device in accordance with an embodiment of the present invention. detailed description
为了解决现有技术中接收转发文件的用户能够将文件再次免费转发给 其他用户使用而导致的不合法转发的问题, 本发明提供了一种数据转发保 护方法及装置, 本发明实施例是在封装数据文件时增加一个转发字段, 客 户端装置通过该转发字段来转发文件, 并限制文件在转发后再次不受限制 的二级转发。 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本发 明。  The present invention provides a data forwarding protection method and apparatus, which is in a package, in order to solve the problem that the user who receives the forwarding file in the prior art can forward the file to the other user for free. A forwarding field is added to the data file, and the client device forwards the file through the forwarding field, and restricts the file from being unrestricted secondary forwarding again after forwarding. The present invention will be further described in detail below in conjunction with the drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
方法实施例  Method embodiment
根据本发明的实施例, 提供了一种数据转发保护方法, 图 1 是本发明 实施例的数据转发保护方法的流程图, 如图 1 所示, 根据本发明实施例的 数据转发保护方法包括如下步骤:  According to an embodiment of the present invention, a data forwarding protection method is provided. FIG. 1 is a flowchart of a data forwarding protection method according to an embodiment of the present invention. As shown in FIG. 1, a data forwarding protection method according to an embodiment of the present invention includes the following steps. Steps:
步骤 101 ,电子设备接收服务器发送的包含有数据内容和转发权限的数 据文件, 其中, 转发权限中设置有转发数据文件的最大转发次数以及是否 允许转发数据文件的转发标志;  Step 101: The electronic device receives a data file that is sent by the server and includes data content and forwarding rights, where the forwarding permission is set with a maximum number of forwarding of the forwarding data file and whether a forwarding flag of the data file is allowed to be forwarded;
在执行步骤 101 之前, 需要向服务器申请内容对象和权限文件; 在向 服务器申请内容对象和权限文件之后, 还可以向服务器申请转发数据文件 的最大转发次数。  Before performing step 101, you need to apply for the content object and permission file to the server. After requesting the content object and permission file from the server, you can also apply to the server for the maximum number of forwarding of the data file.
优选地,在本发明实施例中,数据文件为 DRM以组合发送模式发送的 DRM文件。 步骤 102, 电子设备根据转发权限转发数据文件。 Preferably, in the embodiment of the present invention, the data file is a DRM file sent by the DRM in a combined transmission mode. Step 102: The electronic device forwards the data file according to the forwarding authority.
在步骤 102 中, 电子设备根据最大转发次数以及转发标志判断数据文 件是否能够转发, 如果能够转发, 则修改最大转发次数以及转发标志, 并 将携带有修改后的最大转发次数和转发标志的数据文件进行转发, 否则, 结束转发流程。  In step 102, the electronic device determines whether the data file can be forwarded according to the maximum number of forwarding times and the forwarding flag. If the electronic device can forward, modify the maximum number of forwarding times and the forwarding flag, and carry the data file with the modified maximum forwarding number and the forwarding flag. Forward, otherwise, the forwarding process ends.
具体包括如下处理:  Specifically, the following processing is included:
电子设备判断转发标志是否为允许转发;  The electronic device determines whether the forwarding flag is allowed to be forwarded;
如果判断转发标志为允许转发, 电子设备则判断最大转发次数是否大 于 0, 如果等于 0, 则确定数据文件不能够进行转发, 如果大于 0, 则确定 数据文件能够进行转发;  If it is determined that the forwarding flag is allowed to be forwarded, the electronic device determines whether the maximum number of forwarding times is greater than 0. If it is equal to 0, it determines that the data file cannot be forwarded. If it is greater than 0, it determines that the data file can be forwarded;
如果判断转发标志为禁止转发, 电子设备则确定数据文件不能够进行 转发;  If it is determined that the forwarding flag is forbidden to be forwarded, the electronic device determines that the data file cannot be forwarded;
如果能够转发, 电子设备则将最大转发次数减 1 , 并将转发标志修改为 禁止转发。  If it can forward, the electronic device decrements the maximum number of forwardings by 1 and modifies the forwarding flag to prohibit forwarding.
下面以数据文件为 DRM组合发送模式发送的 DRM文件为例, 对本发 明实施例的上述技术方案进行详细说明。  The above technical solution of the embodiment of the present invention will be described in detail below by taking the data file as the DRM file sent by the DRM combined transmission mode as an example.
图 2是本发明实施例的 DRM应用转发系统的结构示意图,如图 2所示, DRM应用转发系统包括: 服务器、 第一个客户端装置、 第二客户端装置、 第三客户端装置 第 N客户端装置; 其中, 客户端装置可以是装载 智能平台的电子设备, 例如电脑、 智能手机等, 也可是具有简单智能模块 的电子设备, 例如, 智能电视、 智能车载播放器等。 第一客户端装置向服 务器请求内容对象和权限文件, 并申请转发次数 N, 服务器将内容对象和 权限文件以 DRM组合发送模式向第一客户端装置发送 DRM文件, 在向第 二客户端装置转发时, 第一客户端装置判断转发次数 N是否大于 0, 如果 大于 0,则向第二客户端装置转发 DRM文件,在向第三客户端装置转发时, 第一客户端装置判断转发次数 N是否大于 0, 如果大于 0, 则向第三客户端 装置转发 DRM文件, 在向第 N客户端装置转发时, 第一客户端装置判断 转发次数 N是否大于 0, 如果 N等于 0, 则禁止进行转发。 2 is a schematic structural diagram of a DRM application forwarding system according to an embodiment of the present invention. As shown in FIG. 2, the DRM application forwarding system includes: a server, a first client device, a second client device, and a third client device. The client device may be an electronic device loaded with an intelligent platform, such as a computer, a smart phone, or the like, or an electronic device having a simple smart module, such as a smart TV, an intelligent car player, or the like. The first client device requests the content object and the rights file from the server, and requests the number of forwardings N, and the server sends the content object and the rights file to the first client device in the DRM combined sending mode, and forwards the DRM file to the second client device. The first client device determines whether the number of times of forwarding N is greater than 0. If greater than 0, the DRM file is forwarded to the second client device, and when forwarding to the third client device, The first client device determines whether the number of times of forwarding N is greater than 0. If greater than 0, the DRM file is forwarded to the third client device. When forwarding to the Nth client device, the first client device determines whether the number of forwarding times N is greater than 0. If N is equal to 0, forwarding is prohibited.
图 3是本发明实施例的 DRM文件的结构示意图, 如图 3所示, 包含原 分布式协调功能( Distributed Coordination Function, DCF )报头、 内容对象、 权限文件、 及新增的自定义字段(也可以称为转发字段), 该新增的自定义 字段包括: 转发标志 Flag, 最大转发次数 N, DCF报头包括公共报头和用 户数据。  3 is a schematic structural diagram of a DRM file according to an embodiment of the present invention, as shown in FIG. 3, including a original Distributed Coordination Function (DCF) header, a content object, a rights file, and a newly added custom field (also It may be referred to as a forwarding field. The newly added custom field includes: a forwarding flag Flag, a maximum number of forwarding times N, and a DCF header including a public header and user data.
在下述实施例中, 仅以包含两个客户端装置: 第一客户端、 第二客户 端为例进行说明。 具体包括以下处理:  In the following embodiments, only two client devices are included: the first client and the second client are taken as an example for description. Specifically, the following processing is included:
步骤 1 , 第一客户端向服务器申请内容对象和权限文件, 并申请转发次 数;  Step 1: The first client applies for a content object and a rights file to the server, and applies for the number of forwardings;
步骤 2,服务器接收到第一客户端的请求后, 向第一客户端发送封装有 内容对象和权限文件的 DRM文件(也可以称为 DRM消息), 并根据请求 在权限文件中设置转发次数 N, 并设置转发标志 Flag=0, Flag=0表示非转 发(即允许转发);  Step 2: After receiving the request of the first client, the server sends a DRM file (also referred to as a DRM message) encapsulating the content object and the rights file to the first client, and sets a forwarding number N in the permission file according to the request. And set the forwarding flag Flag=0, Flag=0 means non-forwarding (that is, allowing forwarding);
步骤 3 , 第一客户端接收到 DRM文件后, 对 DRM文件进行解密, 读 取 DRM文件中转发标志 Flag为 0,判定为该 DRM文件是服务器端发送的; 步骤 4, 第一客户端在转发 DRM文件时, 首先判断 N是否大于 0, 若 否, 则直接跳转出转发流程, 结束。 若是, 则允许转发, 并设置转发标志 Flag为 1 , 设置转发次数 N=N-1 ;  Step 3: After receiving the DRM file, the first client decrypts the DRM file, and reads the forwarding flag Flag in the DRM file to be 0, and determines that the DRM file is sent by the server; Step 4, the first client is forwarding In the case of a DRM file, it is first determined whether N is greater than 0, and if not, the forwarding process is directly jumped out and ends. If yes, the forwarding is allowed, and the forwarding flag Flag is set to 1 and the number of forwarding times is set to N=N-1;
步骤 5 , 第一客户端发送 DRM文件给第二客户端;  Step 5: The first client sends a DRM file to the second client.
步骤 6 , 第二客户端接收 DRM文件;  Step 6: The second client receives the DRM file.
步骤 7, 第二客户端判定转发标志 Flag是否为 1 ; 若否, 则该 DRM文 件是来源于服务器, 对转发字段无需设置, 可直接按权限文件规定使用, 也可转发; 若是, 则该 DRM文件是来源于其他客户端的转发, 设置转发次 数 N=0, 在下次转发时则会受到禁止。 Step 7, the second client determines whether the forwarding flag Flag is 1; if not, the DRM file is originated from a server, and the forwarding field does not need to be set, and may be directly used according to the rights file. It can also be forwarded; if it is, the DRM file is forwarded from other clients, and the number of forwarding times is set to N=0, which is prohibited in the next forwarding.
从上述处理可以看出, 本发明实施例由于釆用了以上技术方案, 实现 了对 DRM文件的转发, 以及对二级转发的限制, 并实现了转发保护, 同时 通过本发明实施例的技术方案也极大的促进了移动互联网应用的售卖销 量。 此外, 本发明实施例的技术方案将版权信息和版权对象封装, 从网络 上下载到简单的智能设备中, 使得没有联网的终端但是经过版权授权, 通 过读取版权对象, 也能访问网络上的 DRM数字内容。  It can be seen from the foregoing that, in the embodiment of the present invention, the foregoing technical solution is adopted, the forwarding of the DRM file is implemented, and the limitation of the second-level forwarding is implemented, and the forwarding protection is implemented, and the technical solution of the embodiment of the present invention is adopted. It also greatly promoted the sales of mobile Internet applications. In addition, the technical solution of the embodiment of the present invention encapsulates the copyright information and the copyright object from the network to the simple smart device, so that the terminal without the network is authorized by the copyright, and the user can also access the network by reading the copyright object. DRM digital content.
下面结合具体事例, 对本发明实施例的技术方案进行具体说明。  The technical solutions of the embodiments of the present invention are specifically described below in conjunction with specific examples.
实例 1  Example 1
实施场景: 用户 1使用智能手机从服务器购买的应用 APP1 , 并购买转 发次数 1 , 用户 1将应用转赠给用户 2的智能机。  Implementation scenario: User 1 uses the smartphone to purchase the application APP1 from the server, and purchases the number of retransmissions 1 , and the user 1 transfers the application to the smartphone of the user 2.
步骤 1 , 用户 1使用智能手机从服务器购买应用 APP1 , 并申请转发次 数为 1;  Step 1 , the user 1 uses the smart phone to purchase the application APP1 from the server, and the number of times the application is forwarded is 1;
步骤 2, 服务器将转发次数 N设置为 1 , 将转发标志 Flag设置为 0, 与 应用 APP1 和权限文件一起封装在文件 DRM1 中, 将如图 3 所示结构的 Step 2: The server sets the number of forwarding times N to 1, and sets the forwarding flag Flag to 0, which is encapsulated in the file DRM1 together with the application APP1 and the rights file, and will be structured as shown in FIG.
DRM1消息发送给用户 1的智能手机; The DRM1 message is sent to the smartphone of the user 1;
步骤 3 , 用户 1接收 DRM1消息(文件 DRM1 ), 解析 DRM1消息, 提 取 DRM1消息中的转发标志 Flag和转发次数 N;  Step 3: The user 1 receives the DRM1 message (file DRM1), parses the DRM1 message, and extracts the forwarding flag Flag and the number of forwarding times N in the DRM1 message.
步骤 4, 用户 1判定转发标志 Flag为 0, 确定允许转发, 用户 1的智能 机上可以使用 APP1的所有授权功能, 随后, 用户 1将 DRM1文件重新进 行封装。  Step 4: The user 1 determines that the forwarding flag Flag is 0, and determines that forwarding is allowed. All authorization functions of APP1 can be used on the smart phone of the user 1, and then the user 1 re-encapsulates the DRM1 file.
步骤 5 , 用户 1向用户 2推荐该应用, 并承诺将应用 APP1转发给用户 2, 用户 1的智能机在发送 DRM1消息之前, 解析 DRM1文件, 提取转发 次数和转发标志, 判定 N=l是大于零的, 确定允许该次转发; 步骤 6, 用户 1设置转发标志 Flag= 1 , 转发次数减 1设置为 N=0; 步骤 7, 用户 1重新封装文件 DRM1 ; Step 5: The user 1 recommends the application to the user 2, and promises to forward the application APP1 to the user 2. Before the DRM1 message is sent, the smart machine of the user 1 parses the DRM1 file, extracts the number of forwardings and the forwarding flag, and determines that N=l is greater than Zero, determine to allow this forwarding; Step 6, user 1 sets the forwarding flag Flag=1, and the number of forwarding times minus 1 is set to N=0; Step 7, user 1 repackages the file DRM1;
步骤 8, 用户 1将封装后的文件 DRM1 , 即 DRM1消息发送给用户 2 的智能手机;  Step 8, the user 1 sends the encapsulated file DRM1, that is, the DRM1 message, to the smartphone of the user 2;
步骤 9, 用户 2的智能手机接收 DRM1消息;  Step 9, the user 2's smartphone receives the DRM1 message;
步骤 10, 用户 2提取 DRM1消息中的转发标志 Flag和 N;  Step 10, the user 2 extracts the forwarding flags Flag and N in the DRM1 message;
步骤 11 , 用户 2判定转发标志 Flag=l , 故设置转发次数 N=0;  Step 11: The user 2 determines the forwarding flag Flag=l, so the number of forwarding times is set to N=0;
步骤 12, 用户 2将解析出来的应用 APP1进行存储, 用户 2的智能手 机可以使用 APP1的所有功能, 实现了转发。  In step 12, the user 2 stores the parsed application APP1, and the user 2's smart phone can use all the functions of the APP1 to implement forwarding.
在本实例中,如果用户 2想对 APP1再次进行转发;由于转发次数 N=0, 故不允许该次转发, 直接终止本次转发行为, 实现了禁止二级转发。 如果 用户 1仍想再次转发, 也因为判定转发次数 N=0, 禁止转发, 实现了对合 法转发次数的保护。  In this example, if user 2 wants to forward APP1 again; because the number of forwardings is N=0, the forwarding is not allowed, and the forwarding behavior is directly terminated, and secondary forwarding is prohibited. If User 1 still wants to forward again, it also determines that the number of forwarded calls is N=0, and forwarding is prohibited.
实例 2  Example 2
实施场景: 用户 1使用智能手机从服务器购买的应用 APP2, 并购买转 发次数 2, 将应用转赠给用户 2和用户 3的智能手机。  Implementation scenario: User 1 uses the smartphone to purchase the app APP2 from the server, and purchases the number of transfers 2, and transfers the application to the smartphones of users 2 and 3.
步骤 1 , 服务器将转发次数 N设置为 2 , 将转发标志 Flag设置为 0, 并 与应用 APP2和权限对象一起封装在文件 DRM2中, 将如图 3所示结构的 DRM2消息发送给用户 1的智能手机;  Step 1: The server sets the number of forwarding times N to 2, sets the forwarding flag Flag to 0, and encapsulates it in the file DRM2 together with the application APP2 and the rights object, and sends the DRM2 message structured as shown in FIG. 3 to the intelligence of the user 1. Mobile phone
步骤 2, 用户 1接收 DRM2消息(文件 DRM2 ), 解析 DRM2消息 , 提 取 DRM2消息中转发标志 Flag和转发次数 N;  Step 2: User 1 receives the DRM2 message (file DRM2), parses the DRM2 message, and extracts the forwarding flag Flag and the number of forwarding times N in the DRM2 message;
步骤 3 , 用户 1判断转发标志 Flag为 0, 确定允许转发; 此时, 用户 1 的智能机上可以使用 APP2的所有功能。  Step 3: The user 1 judges that the forwarding flag Flag is 0, and determines that forwarding is allowed. At this time, all functions of the APP2 can be used on the smart machine of the user 1.
步骤 4, 用户 1向用户 2推荐该应用, 并将应用 APP2转发给用户 2。 用户 1在发送 DRM2消息之前,解析 DRM2消息,提取 DRM2消息中的转 发次数和转发标志; In step 4, the user 1 recommends the application to the user 2 and forwards the application APP2 to the user 2. User 1 parses the DRM2 message before sending the DRM2 message, and extracts the turn in the DRM2 message. Number of times and forwarding flag;
步骤 5 , 用户 1判定 N=2是大于零的, 确定允许该次转发;  Step 5: User 1 determines that N=2 is greater than zero, and determines that the forwarding is allowed;
步骤 6, 用户 1设置转发标志 Flag= 1 , 转发次数减 1设置为 N=l ; 步骤 7, 用户 1封装文件 DRM2 , 形成如图 3所示结构的 DRM2消息; 步骤 8, 用户 1将封装后的 DRM2消息发送给用户 2的智能手机; 步骤 9, 用户 2接收 DRM2消息;  Step 6, user 1 sets the forwarding flag Flag=1, and the number of forwarding times minus 1 is set to N=l; Step 7, user 1 encapsulates file DRM2 to form a DRM2 message as shown in FIG. 3; Step 8, user 1 will encapsulate The DRM2 message is sent to the smartphone of the user 2; in step 9, the user 2 receives the DRM2 message;
步骤 10, 用户 2提取 DRM2消息中的转发标志 Flag和 N;  Step 10, the user 2 extracts the forwarding flags Flag and N in the DRM2 message;
步骤 11 , 用户 2判定转发标志 Flag=l , 故设置转发次数 N=0;  Step 11: The user 2 determines the forwarding flag Flag=l, so the number of forwarding times is set to N=0;
步骤 12, 用户 2将解析出来的应用 APP2进行存储, 此时用户 2的智 能手机可以使用 APP2的所有功能, 实现了转发;  Step 12: The user 2 stores the parsed application APP2, and the smart phone of the user 2 can use all the functions of the APP2 to implement forwarding;
此时, 如果用户 2想对 APP2再次进行转发; 由于转发次数 N=0, 故不 允许该次转发, 直接终止本次转发行为, 实现了禁止二级转发。  At this time, if user 2 wants to forward APP2 again; since the number of forwardings is N=0, the forwarding is not allowed, and the forwarding behavior is directly terminated, and the secondary forwarding is prohibited.
步骤 13 ,用户 1的 DRM2消息的转发次数 N=l ,所以还可以进行转发, 用户 1选择将 APP2转发给用户 3;  Step 13, the number of forwarding of the DRM2 message of the user 1 is N=l, so the forwarding can also be performed, and the user 1 selects to forward the APP2 to the user 3;
步骤 14,用户 1在发送 DRM2消息之前 ,解析 DRM2消息,提取 DRM2 消息中的转发次数和转发标志;  Step 14. Before sending the DRM2 message, the user 1 parses the DRM2 message, and extracts the forwarding number and forwarding flag in the DRM2 message.
步骤 15 , 用户 1判定 N=l是大于零的, 故允许该次转发;  Step 15: User 1 determines that N=l is greater than zero, so the forwarding is allowed;
步骤 16, 用户 1设置转发标志 Flag= 1 , 转发次数减 1设置为 N=0; 步骤 17,用户 1封装文件 DRM2,形成如图 3所示结构的 DRM2消息; 步骤 18, 用户 1将封装后的 DRM2消息发送给用户 3的智能手机; 步骤 19, 用户 3接收 DRM2消息;  Step 16, user 1 sets the forwarding flag Flag=1, and the number of forwarding times minus 1 is set to N=0; Step 17, user 1 encapsulates file DRM2, forming a DRM2 message with the structure shown in FIG. 3; Step 18, user 1 will encapsulate The DRM2 message is sent to the smartphone of the user 3; in step 19, the user 3 receives the DRM2 message;
步骤 20, 用户 3提取 DRM2消息中转发标志 Flag和 N;  Step 20, the user 3 extracts the forwarding flags Flag and N in the DRM2 message;
步骤 21 , 用户 3判定转发标志 Flag=l , 故设置转发次数 N=0;  Step 21, the user 3 determines the forwarding flag Flag=l, so the number of forwarding times is set to N=0;
步骤 22, 用户 3将解析出来的应用 APP2进行存储, 此时用户 3的智 能手机可以使用 APP2的所有功能, 实现了转发。 此时, 如果用户 3想对 APP2再次进行转发; 由于转发次数 N=0, 故不 允许该次转发, 直接终止本次转发行为; 如果用户 1 仍想再次转发, 也因 为转发次数 N=0, 禁止转发。 In step 22, the user 3 stores the parsed application APP2. At this time, the smartphone of the user 3 can use all the functions of the APP2 to implement forwarding. At this time, if user 3 wants to forward APP2 again; because the number of forwardings is N=0, the forwarding is not allowed, and the forwarding behavior is directly terminated; if user 1 still wants to forward again, because the number of forwardings is N=0, Forwarding is prohibited.
实例 3  Example 3
实施场景: 用户 1使用智能手机从服务器购买的应用 APP3 , 并购买转 发次数 1 , 将应用转发给用户 1家的智能电视。  Implementation scenario: User 1 uses the smartphone to purchase the app APP3 from the server, and purchases the number of retransmissions 1 to forward the application to the user's smart TV.
步骤 1 , 用户 1使用智能手机从服务器购买应用 APP3 , 并申请转发次 数为 1;  Step 1: User 1 uses the smart phone to purchase the application APP3 from the server, and the number of times the application is forwarded is 1;
步骤 2, 服务器将转发次数 N设置为 1 , 将转发标志 Flag设置为 0, 并 与应用 APP3和权限文件一起封装在文件 DRM3中, 形成如图 3所示结构 的 DRM3消息发送给用户 1的智能手机;  Step 2: The server sets the number of forwarding times N to 1, sets the forwarding flag Flag to 0, and encapsulates it in the file DRM3 together with the application APP3 and the rights file to form a smart message that the DRM3 message structured as shown in FIG. 3 is sent to the user 1 Mobile phone
步骤 3 , 用户 1的智能手机接收 DRM3消息, 解析 DRM3消息, 提取 DRM3消息中转发标志 Flag和转发次数 N;  Step 3: The smartphone of the user 1 receives the DRM3 message, parses the DRM3 message, and extracts the forwarding flag Flag and the number of forwarding times N in the DRM3 message;
步骤 4,用户 1判定转发标志 Flag为 0,确定允许转发,并将应用 APP3 放置在存储单元里进行使用,此时,用户 1的智能机上可以使用 APP3的所 有功能;  Step 4: The user 1 determines that the forwarding flag Flag is 0, determines that forwarding is allowed, and places the application APP3 in the storage unit for use. At this time, all functions of the APP3 can be used on the smart machine of the user 1;
步骤 5 , 用户 1需要在家里的电视上使用 APP3 , 并且电视也是智能平 台,于是用户 1将 APP3转发给智能电视,用户 1的智能手机在发送 DRM3 消息之前, 解析 DRM3消息, 提取 DRM3消息中的转发次数和转发标志; 步骤 6, 用户 1的智能手机判定 N=l是大于零的, 确定允许该次转发; 步骤 7, 用户 1设置转发标志 Flag= 1 , 转发次数减 1设置为 N=0; 步骤 8, 用户 1 的智能手机封装文件 DRM3 , 形成如图 3所示结构的 DRM3消息;  Step 5, User 1 needs to use APP3 on the TV at home, and the TV is also an intelligent platform, so User 1 forwards APP3 to the smart TV, and User 1's smartphone parses the DRM3 message before sending the DRM3 message, and extracts the DRM3 message. The number of forwardings and the forwarding flag; Step 6, the smartphone of user 1 determines that N=l is greater than zero, and determines that the forwarding is allowed; Step 7, user 1 sets the forwarding flag Flag=1, and the number of forwarding times minus 1 is set to N=0. Step 8, user 1's smartphone package file DRM3, forming a DRM3 message structured as shown in FIG. 3;
步骤 9, 用户 1的智能手机将封装后的 DRM3消息发送给用户 1的智 能电视; 步骤 10, 用户 1的智能电视接收 DRM3消息; Step 9, the user 1's smartphone sends the encapsulated DRM3 message to the smart TV of the user 1; Step 10: The smart TV of the user 1 receives the DRM3 message;
步骤 11 , 用户 1的智能电视提取 DRM3消息中转发标志 Flag和 N; 步骤 12,用户 1的智能电视判定转发标志 Flag=l ,故设置转发次数 N=0; 步骤 13 , 用户 1的智能电视将解析出来的应用 APP3放置在存储单元, 此时用户 1的智能电视可以使用 APP1的所有功能, 实现了转发。  Step 11: The smart TV of the user 1 extracts the forwarding flags Flag and N in the DRM3 message; Step 12, the smart TV of the user 1 determines the forwarding flag Flag=l, so the number of forwarding times is set to N=0; Step 13, the smart TV of the user 1 will The parsed application APP3 is placed in the storage unit. At this time, the smart TV of the user 1 can use all the functions of the APP1 to implement forwarding.
经过上述处理,如果用户 1的智能电视想对 APP3再次进行转发, 由于 转发次数 N=0, 故不允许该次转发, 直接终止本次转发行为; 如果用户 1 的智能手机仍想再次转发, 因为转发次数 N=0, 禁止转发。  After the above processing, if the smart TV of the user 1 wants to forward the APP3 again, since the number of times of forwarding N=0, the forwarding is not allowed, and the forwarding behavior is directly terminated; if the smartphone of the user 1 still wants to forward again, because The number of forwardings is N=0, and forwarding is prohibited.
装置实施例  Device embodiment
根据本发明的实施例, 提供了一种数据转发保护装置, 图 4是本发明 实施例的数据转发保护装置的结构示意图, 如图 4所示, 根据本发明实施 例的数据转发保护装置包括: 接收模块 40、 以及处理模块 42。 以下对本发 明实施例的各个模块进行详细的说明。  According to an embodiment of the present invention, a data forwarding protection apparatus is provided. FIG. 4 is a schematic structural diagram of a data forwarding protection apparatus according to an embodiment of the present invention. As shown in FIG. 4, a data forwarding protection apparatus according to an embodiment of the present invention includes: The receiving module 40 and the processing module 42. The respective modules of the embodiments of the present invention will be described in detail below.
接收模块 40, 用于接收服务器发送的包含有数据内容和转发权限的数 据文件, 其中, 转发权限中设置有转发数据文件的最大转发次数以及是否 允许转发数据文件的转发标志; 优选地, 在本发明实施例中, 数据文件为 DRM组合发送模式下发送的 DRM文件。  The receiving module 40 is configured to receive, by the server, a data file that includes data content and forwarding rights, where the forwarding permission is set with a maximum number of forwarding of the forwarding data file and whether a forwarding flag of the data file is allowed to be forwarded; In the embodiment of the invention, the data file is a DRM file sent in the DRM combined transmission mode.
处理模块 42 , 用于根据转发权限转发数据文件。  The processing module 42 is configured to forward the data file according to the forwarding authority.
本发明实施例还可以包括: 申请模块, 用于向服务器申请内容对象和 权项文件; 在向服务器申请内容对象和权项文件之后, 申请模块还可以向 服务器申请转发数据文件的最大转发次数。  The embodiment of the present invention may further include: an application module, configured to apply for a content object and a rights file to the server; after applying for the content object and the rights file to the server, the application module may further apply to the server for the maximum number of times of forwarding the data file.
具体地, 处理模块 42用于根据最大转发次数以及转发标志判断数据文 件是否能够转发, 如果能够转发, 则修改最大转发次数以及转发标志, 并 将携带有修改后的最大转发次数和转发标志的数据文件进行转发, 否则, 结束转发流程。 在结束转发流程之前, 处理模块 42可以将最大转发次数设 置为 0。 Specifically, the processing module 42 is configured to determine whether the data file can be forwarded according to the maximum number of forwarding times and the forwarding flag, and if the forwarding is possible, modify the maximum forwarding number and the forwarding flag, and carry the modified maximum forwarding number and the forwarding flag data. The file is forwarded, otherwise, the forwarding process ends. Before ending the forwarding process, the processing module 42 can set the maximum number of forwarding times. Set to 0.
具体地, 处理模块 42判断转发标志是否为允许转发; 如果判断转发标 志为允许转发, 则判断最大转发次数是否大于 0, 如果等于 0, 则确定数据 文件不能够进行转发, 如果大于 0, 则确定数据文件能够进行转发; 如果判 断转发标志为禁止转发, 则确定数据文件不能够进行转发; 如果能够转发, 则将最大转发次数减 1 , 并将转发标志修改为禁止转发。  Specifically, the processing module 42 determines whether the forwarding flag is allowed to be forwarded; if it is determined that the forwarding flag is allowed to be forwarded, it determines whether the maximum number of forwarding times is greater than 0, and if equal to 0, determines that the data file cannot be forwarded, and if greater than 0, determines The data file can be forwarded; if it is determined that the forwarding flag is forbidden to forward, it is determined that the data file cannot be forwarded; if it can be forwarded, the maximum number of forwarding times is decremented by 1, and the forwarding flag is modified to prohibit forwarding.
需要说明的是, 本发明实施例的数据转发保护装置设置在客户端装置 中, 该数据转发保护装置所包含的模块是优选结构, 在实际应用中, 可以 进行各种变换, 例如, 图 5是本发明实施例的数据转发保护装置的优选结 构示意图,如图 5所示,可以将图 4中的处理模块 42分为: 加密解密单元、 以及发送单元。 此外, 本发明实施例的数据转发保护装置还可以包括: 存 储单元,该存储单元可以用来存储 DRM文件中携带的内容对象以及权限文 件; 即, 客户端装置中的数据转发保护装置包括接收单元, 发送单元, 加 密解密单元, 以及存储单元。  It should be noted that the data forwarding protection device in the embodiment of the present invention is disposed in the client device, and the module included in the data forwarding protection device is a preferred structure. In practical applications, various transformations can be performed. For example, FIG. 5 is A preferred structure of the data forwarding protection device in the embodiment of the present invention is as shown in FIG. 5. The processing module 42 in FIG. 4 can be divided into: an encryption and decryption unit, and a sending unit. In addition, the data forwarding protection apparatus in the embodiment of the present invention may further include: a storage unit, where the storage unit may be used to store the content object and the rights file carried in the DRM file; that is, the data forwarding protection device in the client device includes a receiving unit. , a sending unit, an encryption and decryption unit, and a storage unit.
图 6是本发明实施例的加密解密单元处理 DRM文件的示意图, 如图 6 所示,加密解密单元通过解密功能将接收的 DRM文件进行消息( Message ) 解析、 转发字段解析、 版权解析、 DCF解析、 然后获取到内容对象, 随后, 加密解密单元通过加密功能对 DRM文件进行设置和封装, 包括: 转发字段 设置, 即设置转发标志 Flag以及转发次数、转发字段打包、版权打包、 DCF 打包、 消息 (Message )打包。  6 is a schematic diagram of processing an DRM file by an encryption and decryption unit according to an embodiment of the present invention. As shown in FIG. 6, the encryption and decryption unit performs a message (Message) parsing, forwarding field parsing, copyright parsing, DCF parsing by using a decryption function. And then obtaining the content object, and then the encryption and decryption unit sets and encapsulates the DRM file through the encryption function, including: forwarding field setting, that is, setting the forwarding flag Flag and the number of forwarding, forwarding field packaging, copyright packaging, DCF packaging, message ( Message) package.
下面结合具体事例, 对本发明实施例的技术方案进行具体说明。  The technical solutions of the embodiments of the present invention are specifically described below in conjunction with specific examples.
实施场景: 第一客户端装置使用智能手机从服务器购买的应用 APP1 , 并购买转发次数 1 , 第一客户端装置将应用转赠给第二客户端装置的智能 机。  Implementation scenario: The first client device uses the smartphone APP1 purchased from the server and purchases the number of forwardings 1 , and the first client device transfers the application to the smartphone of the second client device.
步骤 1 ,第一客户端装置使用智能手机通过申请模块从服务器购买应用 APP1 , 并申请转发次数为 1 ; Step 1: The first client device uses the smartphone to purchase an application from the server through the application module. APP1 , and the number of applications for forwarding is 1;
步骤 2, 服务器将转发次数 N设置为 1 , 将转发标志 Flag设置为 0, 与 应用 APP1 和权限文件一起封装在文件 DRM1 中, 将如图 3 所示结构的 DRM1消息发送给第一客户端装置的智能手机;  Step 2: The server sets the forwarding number N to 1, sets the forwarding flag Flag to 0, encapsulates it in the file DRM1 together with the application APP1 and the rights file, and sends the DRM1 message structured as shown in FIG. 3 to the first client device. Smartphone
步骤 3 , 图 7是本发明实施例的第一客户端装置从服务器获取 DRM应 用的流程图, 如图 7所示: 第一客户端装置通过接收单元接收 DRM1消息 (文件 DRM1 ), 通过加密解密单元解析 DRM1消息, 提取 DRM1消息中 的转发标志 Flag和转发次数 N;  Step 3, FIG. 7 is a flowchart of the first client device acquiring the DRM application from the server according to the embodiment of the present invention. As shown in FIG. 7, the first client device receives the DRM1 message (file DRM1) through the receiving unit, and decrypts by encryption. The unit parses the DRM1 message, and extracts the forwarding flag Flag and the number of forwarding times N in the DRM1 message;
步骤 4, 用户 1的接收单元判定转发标志 Flag为 0, 确定允许转发, 用 户 1的智能机上可以使用 APP1的所有授权功能, 随后,用户 1的接收单元 调用加密解密单元将 DRM1文件重新进行封装, 并将封装后的 DRM1文件 存储到存储单元;  Step 4: The receiving unit of the user 1 determines that the forwarding flag Flag is 0, and determines that forwarding is allowed. All the authorization functions of APP1 can be used on the smart machine of the user 1, and then the receiving unit of the user 1 calls the encryption and decryption unit to re-encapsulate the DRM1 file. And storing the encapsulated DRM1 file in the storage unit;
此时, 如果用户 1仍想再次转发, 因为判定转发次数 N=0, 发送单元 禁止转发, 实现了对合法转发次数的保护。  At this time, if user 1 still wants to forward again, because the number of forwardings is determined to be N=0, the sending unit prohibits forwarding, and the protection of the number of legal forwardings is realized.
步骤 5 , 用户 1向用户 2推荐该应用, 并承诺将应用 APP1转发给用户 2, 图 8是本发明实施例的第一客户端装置将应用转发给第二客户端装置的 流程图,如图 8所示, 用户 1的智能机的发送单元在发送 DRM1消息之前, 发送单元调用加密解密单元, 加密解密单元解析 DRM1文件, 提取转发次 数和转发标志, 发送单元判定 N=l是大于零的, 确定允许该次转发, 如果 N=0, 则结束本次转发操作;  Step 5: The user 1 recommends the application to the user 2, and promises to forward the application APP1 to the user 2. FIG. 8 is a flowchart of the first client device forwarding the application to the second client device according to the embodiment of the present invention. 8 is shown, before the sending unit of the smart machine of the user 1 sends the DRM1 message, the sending unit calls the encryption and decryption unit, the encryption and decryption unit parses the DRM1 file, extracts the number of forwardings and the forwarding flag, and the sending unit determines that N=l is greater than zero. It is determined that the forwarding is allowed, and if N=0, the forwarding operation is ended;
步骤 6, 用户 1的发送单元将转发标志 Flag设置为 1 , 将转发次数减 1 设置为 N=0;  Step 6, the sending unit of the user 1 sets the forwarding flag Flag to 1, and sets the forwarding number minus 1 to N=0;
步骤 7,用户 1发送单元再次调用加密解密单元,重新封装文件 DRM1 ; 步骤 8, 用户 1的发送单元将封装后的文件 DRM1 , 即 DRM1消息发 送给用户 2的智能手机; 步骤 9, 用户 2的智能手机通过接收单元接收 DRM1消息; 步骤 10, 用户 2的接收单元调用加密解密单元, 提取 DRM1消息中的 转发标志 Flag和 N; Step 7, the user 1 sending unit calls the encryption and decryption unit again to repackage the file DRM1; Step 8, the sending unit of the user 1 sends the encapsulated file DRM1, that is, the DRM1 message to the smartphone of the user 2; Step 9, the user 2's smartphone receives the DRM1 message through the receiving unit; Step 10, the receiving unit of the user 2 calls the encryption and decryption unit to extract the forwarding flags Flag and N in the DRM1 message;
步骤 11 ,用户 2的接收单元判定转发标志 Flag=l ,故设置转发次数 N=0, 如果用户 2的接收单元判定 Flag不等于 1 , 则接收单元调用加密解密单元, 重新封装文件 DRM1 ;  Step 11: The receiving unit of the user 2 determines the forwarding flag Flag=l, so the number of forwarding times is set to N=0. If the receiving unit of the user 2 determines that the flag is not equal to 1, the receiving unit calls the encryption and decryption unit to repackage the file DRM1;
步骤 12 , 用户 2的接收单元将解析出来的应用 APP1放置在存储单元 进行存储, 用户 2的智能手机可以使用 APP1的所有功能, 实现了转发。  Step 12: The receiving unit of the user 2 places the parsed application APP1 in the storage unit for storage, and the user 2's smartphone can use all the functions of the APP1 to implement forwarding.
在本实例中,如果用户 2想对 APP1再次进行转发;由于转发次数 N=0, 故不允许该次转发, 直接终止本次转发行为, 实现了禁止二级转发。  In this example, if user 2 wants to forward APP1 again; because the number of forwardings is N=0, the forwarding is not allowed, and the forwarding behavior is directly terminated, and secondary forwarding is prohibited.
本发明实施例通过最大转发次数以及转发标志确定是否能够对数据文 件进行转发, 解决了现有技术中接收转发文件的用户能够将文件再次免费 实现转发保护,使得终端用户购买的应用只能通过授权转发,从而实现 C2C 场合的合法转发, 并极大的促进了移动互联网应用的售卖销量。  The embodiment of the present invention determines whether the data file can be forwarded by using the maximum number of times of forwarding and the forwarding flag. The user who receives the forwarding file in the prior art can implement the forwarding protection for the file again, so that the application purchased by the terminal user can only be authorized. Forwarding, thus achieving legal forwarding of C2C occasions, and greatly promoting the sales of mobile Internet applications.
尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人 员将意识到各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当 不限于上述实施例。  While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims

权利要求书 Claim
1、 一种数据转发保护方法, 其特征在于, 该方法包括:  A data forwarding protection method, the method comprising:
电子设备接收服务器发送的包含有数据内容和转发权限的数据文件, 其中, 所述转发权限中设置有转发所述数据文件的最大转发次数以及是否 允许转发所述数据文件的转发标志;  The electronic device receives a data file that is sent by the server and includes data content and forwarding rights, where the forwarding authority is provided with a maximum number of times of forwarding the data file and whether a forwarding flag of the data file is allowed to be forwarded;
所述电子设备根据所述转发权限转发所述数据文件。  The electronic device forwards the data file according to the forwarding authority.
2、 如权利要求 1所述的方法, 其特征在于, 所述电子设备根据所述转 发权限转发所述数据文件为:  2. The method according to claim 1, wherein the electronic device forwards the data file according to the forwarding authority:
所述电子设备根据所述最大转发次数以及所述转发标志, 判断所述数 据文件是否能够转发, 如果能够转发, 则修改所述最大转发次数以及所述 转发标志, 并将携带有修改后的所述最大转发次数和所述转发标志的所述 数据文件进行转发, 否则, 结束转发。  Determining, by the electronic device, whether the data file can be forwarded according to the maximum number of forwarding times and the forwarding flag, and if the forwarding is possible, modifying the maximum number of forwardings and the forwarding flag, and carrying the modified location The maximum number of forwardings and the data file of the forwarding flag are forwarded, otherwise, the forwarding is ended.
3、 如权利要求 1所述的方法, 其特征在于, 所述数据文件为数字版权 管理 DRM组合发送模式发送的 DRM文件。  3. The method according to claim 1, wherein the data file is a DRM file sent by a digital rights management DRM combined transmission mode.
4、 如权利要求 2所述的方法, 其特征在于, 所述电子设备根据所述最 大转发次数以及所述转发标志判断所述数据文件是否能够转发为:  The method according to claim 2, wherein the electronic device determines whether the data file can be forwarded according to the maximum number of forwardings and the forwarding flag:
所述电子设备判断所述转发标志是否为允许转发;  Determining, by the electronic device, whether the forwarding flag is allowed to be forwarded;
如果判断所述转发标志为允许转发, 所述电子设备则判断所述最大转 发次数是否大于 0, 如果等于 0, 则确定所述数据文件不能够进行转发, 如 果大于 0, 则确定所述数据文件能够进行转发;  If it is determined that the forwarding flag is allowed to be forwarded, the electronic device determines whether the maximum number of forwarding times is greater than 0, and if equal to 0, determines that the data file cannot be forwarded, and if greater than 0, determines the data file. Capable of forwarding;
如果判断所述转发标志为禁止转发, 所述电子设备则确定所述数据文 件不能够进行转发。  If it is determined that the forwarding flag is forbidden to forward, the electronic device determines that the data file cannot be forwarded.
5、 如权利要求 2所述的方法, 其特征在于, 所述如果能够转发, 则修 改所述最大转发次数以及所述转发标志为:  The method according to claim 2, wherein if the forwarding is possible, modifying the maximum number of forwardings and the forwarding flag is:
如果能够转发, 则将所述最大转发次数减 1 , 并将所述转发标志修改为 禁止转发。 If it can be forwarded, the maximum number of forwardings is decremented by 1, and the forwarding flag is modified to Forwarding is prohibited.
6、 一种数据转发保护装置, 其特征在于, 该装置包括:  6. A data forwarding protection device, the device comprising:
接收模块, 用于接收服务器发送的包含有数据内容和转发权限的数据 文件, 其中, 所述转发权限中设置有转发所述数据文件的最大转发次数以 及是否允许转发所述数据文件的转发标志;  a receiving module, configured to receive a data file that is sent by the server and includes a data content and a forwarding right, where the forwarding permission is configured with a maximum number of forwardings for forwarding the data file and whether a forwarding flag of the data file is allowed to be forwarded;
处理模块, 用于根据所述转发权限转发所述数据文件。  And a processing module, configured to forward the data file according to the forwarding authority.
7、 如权利要求 6所述的装置, 其特征在于, 所述处理模块具体用于: 根据所述最大转发次数以及所述转发标志判断所述数据文件是否能够 转发, 如果能够转发, 则修改所述最大转发次数以及所述转发标志, 并将 携带有修改后的所述最大转发次数和所述转发标志的所述数据文件进行转 发, 否则, 结束转发。  The device according to claim 6, wherein the processing module is configured to: determine, according to the maximum number of forwardings and the forwarding flag, whether the data file can be forwarded, and if it can be forwarded, modify the The maximum number of forwardings and the forwarding flag are described, and the data file carrying the modified maximum number of forwarding times and the forwarding flag is forwarded, otherwise, the forwarding is ended.
8、 如权利要求 6所述的装置, 其特征在于, 所述数据文件为数字版权 管理 DRM组合发送模式发送的 DRM文件。  8. The apparatus according to claim 6, wherein the data file is a DRM file transmitted by a digital rights management DRM combined transmission mode.
9、 如权利要求 7所述的装置, 其特征在于, 所述处理模块具体用于: 判断所述转发标志是否为允许转发;  The device of claim 7, wherein the processing module is specifically configured to: determine whether the forwarding flag is allowed to be forwarded;
如果判断所述转发标志为允许转发, 则判断所述最大转发次数是否大 于 0, 如果等于 0, 则确定所述数据文件不能够进行转发, 如果大于 0, 则 确定所述数据文件能够进行转发;  If it is determined that the forwarding flag is allowed to be forwarded, it is determined whether the maximum number of forwarding times is greater than 0. If it is equal to 0, it is determined that the data file cannot be forwarded. If it is greater than 0, it is determined that the data file can be forwarded.
如果判断所述转发标志为禁止转发, 则确定所述数据文件不能够进行 转发。  If it is determined that the forwarding flag is forbidden to forward, it is determined that the data file cannot be forwarded.
10、 如权利要求 7所述的装置, 其特征在于, 所述处理模块具体用于: 如果能够转发, 则将所述最大转发次数减 1 , 并将所述转发标志修改为 禁止转发。  The apparatus according to claim 7, wherein the processing module is specifically configured to: if the forwarding is possible, reduce the maximum number of forwardings by one, and modify the forwarding flag to prohibit forwarding.
PCT/CN2011/078580 2011-06-23 2011-08-18 Data forward protection method and device WO2012174787A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101709933A CN102843283A (en) 2011-06-23 2011-06-23 Method and device for data forwarding protection
CN201110170993.3 2011-06-23

Publications (1)

Publication Number Publication Date
WO2012174787A1 true WO2012174787A1 (en) 2012-12-27

Family

ID=47370358

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078580 WO2012174787A1 (en) 2011-06-23 2011-08-18 Data forward protection method and device

Country Status (2)

Country Link
CN (1) CN102843283A (en)
WO (1) WO2012174787A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544449B (en) * 2013-10-09 2018-05-22 上海上讯信息技术股份有限公司 Restoring files method and system based on grading control
CN104156673B (en) * 2014-08-06 2017-02-15 努比亚技术有限公司 File processing method and device
CN105701366B (en) * 2015-12-31 2019-02-26 曾庆义 A kind of method and system controlling file propagation
CN107294930B (en) * 2016-04-05 2021-08-17 阿里巴巴集团控股有限公司 File propagation management method and device
CN106454410A (en) * 2016-12-20 2017-02-22 深圳Tcl数字技术有限公司 Copyright protection method and device for encrypted program
CN107220554B (en) * 2017-06-20 2020-11-27 深圳市六度人和科技有限公司 File forwarding management method, corresponding system and terminal equipment
CN108966313A (en) * 2018-05-24 2018-12-07 奇酷互联网络科技(深圳)有限公司 Sharing files method, apparatus, readable storage medium storing program for executing and mobile terminal
CN110727924B (en) * 2019-09-30 2022-03-04 维沃移动通信有限公司 Resource sharing method and first electronic device
CN112291761B (en) * 2020-12-29 2021-04-13 中天众达智慧城市科技有限公司 Management data sending method in urban brain system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570892A (en) * 2003-07-18 2005-01-26 华为技术有限公司 Digital content copyright protection and management method and system
CN1829336A (en) * 2005-09-29 2006-09-06 华为技术有限公司 Short message limitation forwarding realizing method and system
CN101166312A (en) * 2005-09-29 2008-04-23 华为技术有限公司 Method and system for limiting SMS forward
CN101212415A (en) * 2006-12-30 2008-07-02 华为技术有限公司 Data forwarding method and device and communication system in WIMAX network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010034843A1 (en) * 2000-01-15 2001-10-25 Daniel Hess Method of transferring information over a computer network
CN1984482B (en) * 2006-05-24 2010-05-12 华为技术有限公司 Method and mobile terminal for limiting user to medium object operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570892A (en) * 2003-07-18 2005-01-26 华为技术有限公司 Digital content copyright protection and management method and system
CN1829336A (en) * 2005-09-29 2006-09-06 华为技术有限公司 Short message limitation forwarding realizing method and system
CN101166312A (en) * 2005-09-29 2008-04-23 华为技术有限公司 Method and system for limiting SMS forward
CN101212415A (en) * 2006-12-30 2008-07-02 华为技术有限公司 Data forwarding method and device and communication system in WIMAX network

Also Published As

Publication number Publication date
CN102843283A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
WO2012174787A1 (en) Data forward protection method and device
US11810088B2 (en) System for managing, storing and providing shared digital content to users in a user relationship defined group in a multi-platform environment
US8924727B2 (en) Technologies labeling diverse content
US9003189B2 (en) Trusted third party client authentication
US8522360B2 (en) Posted move in anchor point-based digital rights management
CA3126812C (en) Improved handling of unique identifiers for stations
US7734917B2 (en) Method for sharing rights objects between users
EP2052524B1 (en) Digital rights management using trusted processing techniques
WO2023030450A1 (en) Data sharing method and electronic device
EP2018019B1 (en) Rights Object Acquisition Method and System
US9038191B2 (en) Method and apparatus for providing DRM service
US9177112B2 (en) Method and device for communicating digital content
EP1623355A1 (en) Transferring content between digital rights management systems
WO2018227693A1 (en) Method and system for acquiring usage permissions of internet of things-based equipment
CN104283686A (en) Digital right management method and system
EP2075727A1 (en) A system and method for exporting permission
WO2014154063A1 (en) Method, device and system for controlling presentation of application
US20080271160A1 (en) Method and system for publication control of digital content
Irwin Digital rights management: The open mobile alliance DRM specifications
WO2018113756A1 (en) Sending method, control method, sending end and receiving end in instant messaging
WO2007087742A1 (en) A method and apparatus for obtaining content data packets in drm
KR20130104357A (en) Method, server, terminal and system for sharing digital content between a couple of user terminals
KR100747451B1 (en) Apparatus and method for digital rights management
Keoh Marlin: toward seamless content sharing and rights management
CN106161187A (en) A kind of method, apparatus and system that public information service is provided based on instant message

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: 11868159

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: 11868159

Country of ref document: EP

Kind code of ref document: A1