[go: up one dir, main page]

CN101256611B - Method for implementing digital copyright management protection in Java application - Google Patents

Method for implementing digital copyright management protection in Java application Download PDF

Info

Publication number
CN101256611B
CN101256611B CN2008100664793A CN200810066479A CN101256611B CN 101256611 B CN101256611 B CN 101256611B CN 2008100664793 A CN2008100664793 A CN 2008100664793A CN 200810066479 A CN200810066479 A CN 200810066479A CN 101256611 B CN101256611 B CN 101256611B
Authority
CN
China
Prior art keywords
java application
rights management
digital rights
java
drm
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.)
Expired - Fee Related
Application number
CN2008100664793A
Other languages
Chinese (zh)
Other versions
CN101256611A (en
Inventor
刘轶
仝庆贻
卢忱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100664793A priority Critical patent/CN101256611B/en
Publication of CN101256611A publication Critical patent/CN101256611A/en
Application granted granted Critical
Publication of CN101256611B publication Critical patent/CN101256611B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

本发明公开了一种在Java应用中实现数字版权管理保护的方法,涉及Java应用的数字版权管理保护领域。该方法包括以下步骤:A1、预设置Java应用程序描述器文件,其中包含数字版权管理信息;A2、Java应用启动时,首先解析所述Java应用程序描述器文件,获取所述数字版权管理信息,执行对所述Java应用的数字版权管理保护。采用上述方案,本发明通过在JAD文件中增加DRM属性,解决了在各种Java应用中,实现DRM保护的问题;并且,对于不支持DRM功能的手机,也实现了对JAVA应用的版权控制。

Figure 200810066479

The invention discloses a method for realizing digital rights management and protection in Java applications, and relates to the field of digital rights management and protection of Java applications. The method comprises the following steps: A1, presetting the Java application descriptor file, which contains digital rights management information; A2, when the Java application starts, first parsing the Java application descriptor file to obtain the digital rights management information, performing digital rights management protection on the Java application. By adopting the above scheme, the present invention solves the problem of realizing DRM protection in various Java applications by adding DRM attributes in the JAD file; and, for mobile phones that do not support the DRM function, also realizes copyright control of JAVA applications.

Figure 200810066479

Description

一种在Java应用中实现数字版权管理保护的方法 A Method of Realizing Digital Rights Management Protection in Java Application

技术领域technical field

本发明涉及Java应用的数字版权管理保护,尤其涉及的是,一种通过在JAD(Java Application Descriptor,Java应用程序描述器)文件中增加DRM(Digital Rights Management,数字版权管理)属性,在Java应用中实现数字版权管理保护的方法。The present invention relates to the digital rights management protection of Java application, especially, a kind of by adding DRM (Digital Rights Management, digital rights management) attribute in JAD (Java Application Descriptor, Java Application Program Descriptor) file, in Java application A method for realizing digital rights management protection in the Internet.

背景技术Background technique

Java技术已成为智能手机软件平台的标准,编写应用程序和提供服务的人不必关心接受其服务的手机采用的是什么操作系统和芯片,只要按照Java的要求去写程序;同样,生产手机的厂商也不必顾虑将来谁来提供增值服务。因此,采用Java技术,可以建立完整、高效的无线数据增值服务产业链,从而为用户提供灵活、个性化、内容方式多样的服务。Java technology has become the standard for smartphone software platforms. People who write applications and provide services do not need to care about the operating system and chips used by the mobile phones that receive their services, as long as they write programs according to the requirements of Java; similarly, manufacturers of mobile phones There is no need to worry about who will provide value-added services in the future. Therefore, using Java technology, a complete and efficient wireless data value-added service industry chain can be established, thereby providing users with flexible, personalized, and diverse services.

目前Java手机软件平台采用的基本Java平台是CLDC(ConnectedLimited Device Configuration,有限连接设备配置)和MIDP(MobileInformation Device Profile,移动信息设备描述),属于J2ME(Java 2MicroEdition,Java2平台的袖珍版,也称为微型版或精简版),俗称“无线Java”技术,在SUN公司的正式名称为KVM(The K Virtual Machine,K虚拟机)。At present, the basic Java platform adopted by the Java mobile phone software platform is CLDC (Connected Limited Device Configuration, limited connection device configuration) and MIDP (Mobile Information Device Profile, mobile information device description), which belongs to J2ME (Java 2 Micro Edition, the pocket version of the Java 2 platform, also known as Micro version or lite version), commonly known as "Wireless Java" technology, the official name of SUN is KVM (The K Virtual Machine, K virtual machine).

KVM,即J2ME,是Sun公司专用于嵌入式设备的Java软件,可以为手机用户提供游戏、个人信息处理、电子地图、股票等服务程序。J2ME是致力于消费产品和嵌入式设备的解决方案,其将所有的嵌入式装置大体上区分为两种:一种是运算功能有限、电力供应也有限的嵌入式装置,如PDA、手机等;另外一种是运算能力相对较佳、并且在电力供应上相对比较充足的嵌入式装置,例如冷气机、电冰箱等。因为这两种区分,所以Java引入了Configuration(配置)的概念,把上述运算功能有限、电力有限的嵌入式装置定义在CLDC规格之中;而将另外一种装置规范为CDC(ConnectedDevice Configuration,连接设备配置)规格。也就是说,J2ME先把所有的嵌入式装置利用Configuration的概念区分成两种抽象的型态。KVM, or J2ME, is Sun's Java software for embedded devices, which can provide mobile phone users with services such as games, personal information processing, electronic maps, and stocks. J2ME is a solution dedicated to consumer products and embedded devices. It generally divides all embedded devices into two types: one is embedded devices with limited computing functions and limited power supply, such as PDAs, mobile phones, etc.; The other type is an embedded device with relatively good computing power and relatively sufficient power supply, such as air conditioners and refrigerators. Because of these two distinctions, Java introduced the concept of Configuration (configuration), and defined the above-mentioned embedded devices with limited computing functions and limited power in the CLDC specification; another device specification was CDC (ConnectedDevice Configuration, connected device configuration) specifications. In other words, J2ME divides all embedded devices into two abstract types using the concept of Configuration.

DRM(Digital Rights Management,数字版权管理)是随着电子音视频节目在互联网上的广泛传播而发展起来的一种技术,其工作原理是:首先建立数字节目授权中心,编码已压缩的数字节目内容,然后利用密钥对内容进行加密保护,加密的数字节目头部存放着KeyID和节目授权中心的URL(Uniform Resource Location,统一资源定位符)地址。用户在点播时,根据节目头部的KeyID和URL信息,通过数字节目授权中心的验证授权后送出相关的密钥解密,方可播放节目。在DRM的实现方式中,根据版权对象和封装的下载内容发送到用户移动终端的方式,一般可以分为forward-lock(转发禁止)、combined delivery(组合发送)和separate delivery(分别发送)三种。DRM (Digital Rights Management, digital rights management) is a technology developed with the widespread dissemination of electronic audio and video programs on the Internet. Its working principle is: first establish a digital program authorization center to encode the compressed digital program content , and then use the key to encrypt and protect the content, and the encrypted digital program header stores the KeyID and the URL (Uniform Resource Location, Uniform Resource Locator) address of the program authorization center. When the user orders, according to the KeyID and URL information at the head of the program, after passing the verification and authorization of the digital program authorization center, the relevant key is sent for decryption, and then the program can be played. In the implementation of DRM, according to the copyright object and the way the packaged download content is sent to the user's mobile terminal, it can generally be divided into three types: forward-lock (forwarding prohibition), combined delivery (combined delivery) and separate delivery (separate delivery). .

但是,目前可以下载的Java应用中,很多都是由运营商在自己的网络上推广的Java应用;因此,有些情况是目前的DRM2.0无法满足或者难以实现的;例如,运营商提供给用户试用的Java游戏等,或者运营商根据不同的付费用户、为各种Java应用设置不同的使用权限等,或者对使用间隔、使用时长、删除属性等Java应用进行控制。However, many of the Java applications that can be downloaded at present are Java applications promoted by operators on their own networks; therefore, in some cases, the current DRM2.0 cannot satisfy or is difficult to implement; for example, operators provide users with Trial Java games, etc., or operators set different usage permissions for various Java applications according to different paying users, or control Java applications such as usage interval, usage duration, and deletion of attributes.

并且,目前的DRM2.0还要求手机必须支持DRM功能,否则就无法实现对JAVA应用的版权控制。Moreover, the current DRM2.0 also requires that the mobile phone must support the DRM function, otherwise the copyright control of JAVA applications cannot be realized.

因此,现有技术存在缺陷,需要改进。Therefore, there are defects in the prior art and need to be improved.

发明内容Contents of the invention

本发明所要解决的技术问题是在各种Java应用中、如何实现DRM保护,并且,在不支持DRM功能的手机中、如何实现对JAVA应用的版权控制。The technical problem to be solved by the invention is how to realize DRM protection in various Java applications, and how to realize copyright control of JAVA applications in mobile phones that do not support the DRM function.

本发明的技术方案如下:Technical scheme of the present invention is as follows:

一种在Java应用中实现数字版权管理保护的方法,其包括以下步骤:A1、预设置Java应用程序描述器文件,其中包含数字版权管理信息;A2、Java应用启动时,首先解析所述Java应用程序描述器文件,获取所述数字版权管理信息,执行对所述Java应用的数字版权管理保护。A method for realizing digital rights management protection in a Java application, comprising the following steps: A1, presetting the Java application program descriptor file, which contains digital rights management information; A2, when the Java application is started, first parsing the Java application The program descriptor file acquires the digital rights management information and executes the digital rights management protection for the Java application.

所述的方法,其中,步骤A1中,所述数字版权管理信息设置为数字版权管理属性列表。The method, wherein, in step A1, the DRM information is set as a DRM attribute list.

所述的方法,其中,所述数字版权管理信息至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制。The method described above, wherein the digital rights management information includes at least one of the following items: forwarding prohibition, usage times limitation, usage date limitation, usage interval limitation, usage duration limitation.

所述的方法,其中,步骤A2获取所述数字版权管理信息后,还执行以下步骤:判断所述数字版权管理信息是否至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制,是则根据各项数字版权管理信息,执行对所述Java应用的数字版权管理保护。The method described above, wherein, after step A2 acquires the digital rights management information, the following step is also performed: judging whether the digital rights management information includes at least one of the following items: prohibition of forwarding, limit on number of times of use, limit on date of use, Use interval limitation, use duration limitation, if so, implement digital rights management protection for the Java application according to various digital rights management information.

所述的方法,其中,步骤A2之后还执行以下步骤:A301、Java应用重复启动时,根据所述数字版权管理信息,判断是否继续执行所述Java应用,否则执行A302;A302、提示用户是否删除所述JAVA应用;A303、判断用户的反馈信息是否为同意删除,是则删除所述JAVA应用。The method described above, wherein, after step A2, the following steps are also performed: A301, when the Java application is started repeatedly, according to the digital rights management information, it is judged whether to continue to execute the Java application, otherwise, A302 is performed; A302, prompting the user whether to delete The JAVA application; A303. Determine whether the user's feedback agrees to delete, and if yes, delete the JAVA application.

所述的方法,其中,所述数字版权管理信息还包括自动删除信息;并且,步骤A2获取所述数字版权管理信息后,还执行以下步骤:A21、判断所述数字版权管理信息是否为自动删除信息,是则执行A22;A22、自动删除所述JAVA应用。The method described above, wherein the digital rights management information also includes automatic deletion information; and, after step A2 obtains the digital rights management information, the following steps are also performed: A21, judging whether the digital rights management information is automatic deletion information, if yes, execute A22; A22, automatically delete the JAVA application.

所述的方法,其中,步骤A22之前还执行以下步骤:提示用户是否删除所述JAVA应用,并且判断用户的反馈信息是否为同意删除,是则执行步骤A22。In the above method, the following steps are performed before step A22: prompting the user whether to delete the JAVA application, and judging whether the user's feedback information agrees to delete, and if yes, perform step A22.

所述的方法,其中,步骤A2之后还执行以下步骤:A3、根据所述数字版权管理保护的结果,判断是否继续执行所述Java应用。The method, wherein, after step A2, the following steps are further performed: A3. According to the result of the digital rights management protection, it is judged whether to continue to execute the Java application.

所述的方法,其中,步骤A2在符合有限连接设备配置的设备中执行。Said method, wherein, step A2 is performed in a device conforming to the device configuration of limited connection.

所述的方法,其中,步骤A2在手机中执行。Said method, wherein, step A2 is executed in the mobile phone.

采用上述方案,本发明通过在JAD文件中增加DRM属性,解决了在各种Java应用中,实现DRM保护的问题;并且,对于不支持DRM功能的手机,也实现了对JAVA应用的版权控制。By adopting the above scheme, the present invention solves the problem of realizing DRM protection in various Java applications by adding DRM attributes in the JAD file; moreover, for mobile phones that do not support the DRM function, the copyright control of JAVA applications is also realized.

附图说明Description of drawings

图1为本发明方法的流程图。Fig. 1 is the flowchart of the method of the present invention.

具体实施方式Detailed ways

以下结合附图和具体实施例,对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明的主旨在于,通过在JAD文件中增加DRM属性列表,提供一种在Java应用中,实现DRM保护的解决方案。如图1所示,本发明提供了一种在Java应用中实现DRM保护的方法,其包括以下步骤。The gist of the present invention is to provide a solution for realizing DRM protection in Java applications by adding a DRM attribute list in a JAD file. As shown in Fig. 1, the present invention provides a method for implementing DRM protection in Java applications, which includes the following steps.

A1、预设置Java应用程序描述器文件,其中包含DRM信息;其中,所述DRM信息至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制。A1. Presetting the Java application descriptor file, which contains DRM information; wherein, the DRM information includes at least one of the following items: prohibition of forwarding, limitation of usage times, limitation of usage date, limitation of usage interval, and limitation of usage duration.

一般情况下,可以将所述DRM信息设置为DRM属性列表,这样,有利于提高存储和搜索效率。Generally, the DRM information can be set as a DRM attribute list, which is beneficial to improve storage and search efficiency.

A2、Java应用启动时,首先解析所述Java应用程序描述器文件,获取所述DRM信息,执行对所述Java应用的DRM保护。一般情况下,步骤A2在符合有限连接设备配置的设备中执行。例如,步骤A2在手机中执行。A2. When the Java application is started, the Java application descriptor file is first parsed, the DRM information is obtained, and the DRM protection for the Java application is executed. Generally, step A2 is performed in a device conforming to the device configuration with limited connectivity. For example, step A2 is executed in the mobile phone.

首先需要解析JAD(Java Application Descriptor,Java应用程序描述器)文件中的DRM属性列表,JAD文件中包含了程序的大小、名称、类型、安装路径、版权等等信息。First, you need to parse the DRM attribute list in the JAD (Java Application Descriptor, Java Application Descriptor) file. The JAD file contains information such as the size, name, type, installation path, and copyright of the program.

也就是说,在启动Java应用时,在执行Java应用之前,AMS(ApplicationManagement System,应用程序管理软件),也称为JAM(Java ApplicationManager,Java应用程序管理器),首先需要解析对应的JAD文件,并且成功获得该Java应用的DRM属性列表。That is to say, when starting a Java application, before executing the Java application, AMS (Application Management System, application program management software), also known as JAM (Java Application Manager, Java application program manager), first needs to parse the corresponding JAD file, And the DRM attribute list of the Java application is obtained successfully.

例如,DRM属性列表主要包括如下几项:FL(禁止转发)、Count(使用次数限制)、Datetime(使用日期限制)、Interval time(使用间隔限制)、TIME summation(使用时长限制)、Delete(删除属性),其中,删除属性一般配合其它属性使用,如使用次数限制等,其它DRM属性到达限制后根据该属性判断是否自动删除JAVA应用。For example, the DRM attribute list mainly includes the following items: FL (prohibition of forwarding), Count (limitation of use times), Datetime (limitation of use date), Interval time (limitation of use interval), TIME summation (limitation of use time), Delete (delete attribute), wherein, the delete attribute is generally used in conjunction with other attributes, such as the limit on the number of uses, etc. After other DRM attributes reach the limit, it is judged whether to automatically delete the JAVA application according to this attribute.

然后,根据解析的DRM属性值执行对Java的DRM保护;例如,手机完成对JAD文件的DRM属性解析之后,根据要求完成对JAVA应用使用的限制,这些限制包括上述的禁止转发,使用次数限制,使用日期限制,使用间隔限制和使用时长限制等。Then, perform DRM protection on Java according to the analyzed DRM attribute value; for example, after the mobile phone completes the analysis of the DRM attribute of the JAD file, it completes restrictions on the use of JAVA applications as required. Use date restrictions, use interval restrictions and use duration restrictions, etc.

一个例子是,在获取所述DRM信息之后,还可以执行以下步骤:判断所述DRM信息是否至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制,即判断所述Java应用是否受到数字版权管理的保护;是则根据各项DRM信息,执行对所述Java应用的DRM保护。An example is that after obtaining the DRM information, the following step may also be performed: judging whether the DRM information includes at least one of the following items: prohibition of forwarding, limit on number of times of use, limit on date of use, limit on use interval, limit on use duration , that is, to determine whether the Java application is protected by digital rights management; if yes, perform DRM protection on the Java application according to various DRM information.

当因为DRM保护的原因,导致手机上的应用不能再次运行时,如果用户试图使用该应用,则可以根据删除属性,向用户给出是否删除的提示。如果用户选择是,则删除该应用。这样,就可以实现自动提示用户删除受到数字版权管理保护的保护Java应用的功能。When the application on the mobile phone cannot be run again due to DRM protection, if the user tries to use the application, a prompt may be given to the user whether to delete it according to the deletion attribute. If the user selects yes, delete the app. In this way, the function of automatically prompting the user to delete the protected Java application protected by the digital rights management can be realized.

一个例子是,步骤A2之后还可以执行以下步骤:As an example, the following steps may also be performed after step A2:

A301、某一Java应用重复启动时,根据所述DRM信息,判断是否继续执行所述Java应用,否则执行A302;即解析所述Java应用程序描述器文件后,获取所述DRM信息,然后根据所述DRM信息,判断是否继续执行所述Java应用。如果满足DRM信息,符合重复执行所述Java应用的条件,则继续执行所述Java应用。A301. When a certain Java application is started repeatedly, judge whether to continue executing the Java application according to the DRM information, otherwise execute A302; that is, after parsing the Java application descriptor file, obtain the DRM information, and then according to the The DRM information is used to determine whether to continue executing the Java application. If the DRM information is satisfied and the condition for repeatedly executing the Java application is met, then continue to execute the Java application.

A302、提示用户是否删除所述JAVA应用;实际应用中,也可以根据不同的权限、不同的优先级或者预设置的条件,直接从用户终端删除所述JAVA应用。A302. Prompting the user whether to delete the JAVA application; in practical applications, the JAVA application may also be directly deleted from the user terminal according to different permissions, different priorities, or preset conditions.

A303、判断用户的反馈信息是否为同意删除,是则删除所述JAVA应用。这里可以设置一个定时器,在预设置的时间内,如果没有得到用户的反馈信息,则可以按照预设置的方式进行处理,例如直接删除或者放弃本次删除操作。A303. Determine whether the user's feedback information agrees to delete, and if yes, delete the JAVA application. A timer can be set here, and within the preset time, if there is no feedback from the user, it can be processed according to the preset method, such as directly deleting or giving up the deletion operation.

又一个例子是,所述DRM信息还包括自动删除信息;并且,步骤A2获取所述DRM信息后,还执行以下步骤:A21、判断所述DRM信息是否为自动删除信息,是则执行A22;A22、自动删除所述JAVA应用。其中,步骤A22之前还执行以下步骤:提示用户是否删除所述JAVA应用,并且判断用户的反馈信息是否为同意删除,是则执行步骤A22。Another example is that the DRM information also includes automatic deletion information; and, after obtaining the DRM information in step A2, the following steps are also performed: A21, judging whether the DRM information is automatic deletion information, if yes, perform A22; A22 , Automatically delete the JAVA application. Wherein, the following steps are executed before step A22: Prompting the user whether to delete the JAVA application, and judging whether the user's feedback information agrees to delete, if yes, execute step A22.

又一个例子是,步骤A2之后还执行以下步骤:A3、根据所述DRM保护的结果,判断是否继续执行所述Java应用。In another example, the following step is executed after step A2: A3. According to the result of the DRM protection, it is judged whether to continue to execute the Java application.

下面再给出一个完整的例子,对本发明方法进行具体说明。A complete example is given below to describe the method of the present invention in detail.

步骤1:解析JAD文件中的DRM属性列表。Step 1: Parse the DRM attribute list in the JAD file.

在Java应用启动前,AMS首先需要解析对应的JAD文件,并且成功获得该Java应用的DRM属性列表。Before the Java application starts, AMS first needs to parse the corresponding JAD file and successfully obtain the DRM attribute list of the Java application.

在Java应用的JAD文件中需要添加对于特殊键值的定义,举例说明JAD文件如下:In the JAD file of the Java application, it is necessary to add the definition of the special key value. For example, the JAD file is as follows:

MIDlet-Description:This MIDlet is released by www.imusic.com.cnMIDlet-Description: This MIDlet is released by www.imusic.com.cn

MIDlet-Info-URL:http://www.imusic.com.cn/wapdiyJavalist.phpMIDlet-Info-URL: http://www.imusic.com.cn/wapdiyJavalist.php

MIDlet-1:ExtremeAir Music,icon.png,GameMIDletMIDlet-1: ExtremeAir Music, icon.png, GameMIDlet

MIDlet-Name:MusicMIDlet-Name: Music

MIDlet-Vendor:VMusicMIDlet-Vendor: VMusic

MIDlet-Version:1.0.1MIDlet-Version: 1.0.1

MIDlet-Jar-Size:66679MIDlet-Jar-Size: 66679

MIDlet-Jar-URL:Music.jarMIDlet-Jar-URL: Music.jar

/*下面为DRM属性列表*//*The following is the list of DRM attributes*/

DRM-FL:YESDRM-FL: YES

DRM-Count:5DRM-Count: 5

DRM-datetime:noneDRM-datetime: none

DRM-interval time:noneDRM-interval time: none

DRM-TIME summation:noneDRM-TIME summation: none

步骤2:根据解析的DRM属性值执行对Java的DRM保护。Step 2: Perform DRM protection on Java according to the parsed DRM attribute value.

手机完成对JAD文件的DRM属性解析之后,根据要求完成对Java应用使用的限制。After the mobile phone completes the analysis of the DRM attribute of the JAD file, it completes the restriction on the use of the Java application according to the requirements.

DRM-FL为YES,说明该Java应用禁止转发。DRM-FL is YES, indicating that the Java application is forbidden to forward.

DRM-Count:n,则说明该Java应用可以运行n(n为整数)次,超过n次后,手机禁止用户运行该应用,并且提示用户删除该应用。DRM-Count: n means that the Java application can be run n times (n is an integer), and after n times, the mobile phone prohibits the user from running the application and prompts the user to delete the application.

DRM-datetime:x年x月x日x小时,在此日期之前该Java应用可以运行,此日期后手机禁止用户运行该应用,并且提示用户删除该应用。DRM-datetime: X month x day x hour x year, before this date the Java application can run, after this date the mobile phone prohibits the user from running the application and prompts the user to delete the application.

DRM-interval time:x小时x分钟,在运行该应用之后,必须间隔超过该时间,Java应用才允许再次运行。DRM-interval time: x hours x minutes, after running the application, the Java application is allowed to run again only after the interval exceeds this time.

DRM-TIME summation:x小时x分钟,用户使用该应用的时间为该时间,当用户累计使用的时间达到该时间时,则用户不再能够使用该应用,并且提示用户删除该应用。DRM-TIME summation: x hours and x minutes, the time that the user has used the app is this time, when the accumulative use time of the user reaches this time, the user can no longer use the app, and the user is prompted to delete the app.

步骤3:自动提示用户删除Java应用;由于DRM保护的原因,导致手机上的应用不能再次运行时,当用户试图使用该应用时,应该向用户给出是否删除的提示。如果用户选择是,则删除该应用。Step 3: Prompt the user to delete the Java application automatically; when the application on the mobile phone cannot run again due to DRM protection, when the user tries to use the application, a prompt should be given to the user whether to delete it. If the user selects yes, delete the app.

采用本发明方法,通过在JAD文件中增加DRM属性,解决了在各种Java应用中,实现DRM保护的问题;并且,对于不支持DRM功能的手机,也实现了对JAVA应用的版权控制。By adopting the method of the invention, the problem of realizing DRM protection in various Java applications is solved by adding DRM attributes in JAD files; moreover, for mobile phones that do not support the DRM function, the copyright control of JAVA applications is also realized.

应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should belong to the protection scope of the appended claims of the present invention.

Claims (8)

1.一种在Java应用中实现数字版权管理保护的方法,其包括以下步骤:1. A method for realizing digital rights management protection in a Java application, comprising the following steps: A1、预设置Java应用程序描述器文件,其中包含数字版权管理信息,所述数字版权管理信息至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制;A1. Preset the Java application descriptor file, which contains digital rights management information, and the digital rights management information includes at least one of the following items: prohibition of forwarding, limit on the number of times of use, limit on the date of use, limit on the use interval, and limit on the duration of use ; A2、Java应用启动时,首先解析所述Java应用程序描述器文件,获取所述数字版权管理信息,执行对所述Java应用的数字版权管理保护。A2. When the Java application is started, it first parses the Java application descriptor file, obtains the digital rights management information, and performs digital rights management protection for the Java application. 2.根据权利要求1所述的方法,其特征在于,步骤A1中,所述数字版权管理信息设置为数字版权管理属性列表。2. The method according to claim 1, characterized in that, in step A1, the DRM information is set as a DRM attribute list. 3.根据权利要求1所述的方法,其特征在于,步骤A2获取所述数字版权管理信息后,还执行以下步骤:3. The method according to claim 1, characterized in that, after obtaining the digital rights management information in step A2, the following steps are also performed: 判断所述数字版权管理信息是否至少包括以下各项之一:禁止转发、使用次数限制、使用日期限制、使用间隔限制、使用时长限制,是则根据各项数字版权管理信息,执行对所述Java应用的数字版权管理保护。Judging whether the digital rights management information includes at least one of the following items: prohibition of forwarding, use times limit, use date limit, use interval limit, and use time limit, if so, execute the Java Digital rights management protection applied. 4.根据权利要求3所述的方法,其特征在于,步骤A2之后还执行以下步骤:4. The method according to claim 3, characterized in that, after step A2, the following steps are also performed: A301、Java应用重复启动时,根据所述数字版权管理信息,判断是否继续执行所述Java应用,否则执行A302;A301. When the Java application is repeatedly started, judge whether to continue executing the Java application according to the digital rights management information, otherwise execute A302; A302、提示用户是否删除所述JAVA应用;A302. Prompting the user whether to delete the JAVA application; A303、判断用户的反馈信息是否为同意删除,是则删除所述JAVA应用。A303. Determine whether the user's feedback information agrees to delete, and if yes, delete the JAVA application. 5.根据权利要求1所述的方法,其特征在于,所述数字版权管理信息还包括自动删除信息;5. The method according to claim 1, wherein the digital rights management information further includes automatic deletion information; 并且,步骤A2获取所述数字版权管理信息后,还执行以下步骤:In addition, after obtaining the digital rights management information in step A2, the following steps are also performed: A21、判断所述数字版权管理信息是否为自动删除信息,是则执行A22;A21. Judging whether the digital rights management information is automatic deletion information, if yes, execute A22; A22、自动删除所述JAVA应用。A22. Automatically delete the JAVA application. 6.根据权利要求5所述的方法,其特征在于,步骤A22之前还执行以下步骤:提示用户是否删除所述JAVA应用,并且判断用户的反馈信息是否为同意删除,是则执行步骤A22。6 . The method according to claim 5 , wherein the following step is performed before step A22: prompting the user whether to delete the JAVA application, and judging whether the user's feedback agrees to delete, and if yes, perform step A22. 7.根据权利要求1所述的方法,其特征在于,步骤A2之后还执行以下步骤:A3、根据所述数字版权管理保护的结果,判断是否继续执行所述Java应用。7. The method according to claim 1, characterized in that the following steps are executed after step A2: A3, according to the result of the digital rights management protection, judging whether to continue to execute the Java application. 8.根据权利要求1至7任一所述的方法,其特征在于,步骤A2在手机中执行。8. The method according to any one of claims 1 to 7, characterized in that step A2 is executed in the mobile phone.
CN2008100664793A 2008-04-03 2008-04-03 Method for implementing digital copyright management protection in Java application Expired - Fee Related CN101256611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100664793A CN101256611B (en) 2008-04-03 2008-04-03 Method for implementing digital copyright management protection in Java application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100664793A CN101256611B (en) 2008-04-03 2008-04-03 Method for implementing digital copyright management protection in Java application

Publications (2)

Publication Number Publication Date
CN101256611A CN101256611A (en) 2008-09-03
CN101256611B true CN101256611B (en) 2011-04-20

Family

ID=39891427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100664793A Expired - Fee Related CN101256611B (en) 2008-04-03 2008-04-03 Method for implementing digital copyright management protection in Java application

Country Status (1)

Country Link
CN (1) CN101256611B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478599B (en) * 2009-01-20 2011-07-06 华为终端有限公司 JAVA program installation method and device in mobile communication terminal thereof
CN101847103A (en) * 2010-04-21 2010-09-29 华为终端有限公司 Method and device for running JAVA application
CN102194077B (en) * 2011-03-10 2017-02-08 中兴通讯股份有限公司 Application program copyright protection method and digital copyright protection system
CN109255207B (en) * 2017-07-14 2022-07-01 中国电力科学研究院有限公司 Application program authentication system and authentication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005119396A1 (en) * 2004-06-04 2005-12-15 Nokia Corporation A method and device for determining whether an application should access protected digital content
CN1955971A (en) * 2005-10-27 2007-05-02 北京振戎融通通信技术有限公司 Safety installation method suitable for Java application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005119396A1 (en) * 2004-06-04 2005-12-15 Nokia Corporation A method and device for determining whether an application should access protected digital content
CN1955971A (en) * 2005-10-27 2007-05-02 北京振戎融通通信技术有限公司 Safety installation method suitable for Java application program

Also Published As

Publication number Publication date
CN101256611A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
US8812868B2 (en) Secure execution of unsecured apps on a device
US8769305B2 (en) Secure execution of unsecured apps on a device
US8549656B2 (en) Securing and managing apps on a device
US9378340B2 (en) Methods and systems for upgrade and synchronization of securely installed applications on a computing device
US8892876B1 (en) Secured application package files for mobile computing devices
KR101076566B1 (en) Method and apparatus for creating licenses in a mobile digital rights management network
CN102917346B (en) Security policy management system and method for Android-based application program during operation
CN104376263B (en) The method and apparatus that application behavior intercepts
CN103647784B (en) A kind of method and apparatus of public and private isolation
CN104765629B (en) A kind of installation method and device of system application
KR20140074252A (en) Secure execution of unsecured apps on a device
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN105335184B (en) Application installation method and device
CN104462997B (en) Method, device and system for protecting work data in mobile terminal
CN107870793B (en) Method and device for loading SO file in application program
CN107103211B (en) SDK send, using publication, using operation method and device
CN109687974B (en) APK verification method and device, mobile terminal and readable storage medium
CN104252373B (en) Remove the method and device of application data
CN103514000A (en) Browser plug-in installation method and device
CN104102880A (en) Application rewriting method and system for detecting Android privilege elevation attack
CN101256611B (en) Method for implementing digital copyright management protection in Java application
CN104700003A (en) File shell adding and shell removing method, device and system
CN102509054A (en) Mobile terminal and application program control method for mobile terminal
CN102024124B (en) Method, and device for processing mobile widgets as well as client-side
CN104410969A (en) Wireless fidelity (WIFI) hotspot hiding method and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420