CN101539971A - Method for protecting the copyright of Java application files, device and mobile terminal - Google Patents
Method for protecting the copyright of Java application files, device and mobile terminal Download PDFInfo
- Publication number
- CN101539971A CN101539971A CN200910082168A CN200910082168A CN101539971A CN 101539971 A CN101539971 A CN 101539971A CN 200910082168 A CN200910082168 A CN 200910082168A CN 200910082168 A CN200910082168 A CN 200910082168A CN 101539971 A CN101539971 A CN 101539971A
- Authority
- CN
- China
- Prior art keywords
- file
- drm
- java application
- ams
- java
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000009434 installation Methods 0.000 claims abstract description 67
- 230000003993 interaction Effects 0.000 claims description 46
- 238000011900 installation process Methods 0.000 claims description 10
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 9
- 238000012795 verification Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000012572 advanced medium Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for protecting the copyright of Java application files, comprising the following steps: browsing and selecting to download the Java application files; calling a DRM interface when a mobile terminal determines that the downloaded Java application files are DRM protected files, acquiring and judging the installing copyright state of the Java application files, if the installing copyright is valid, installing the Java application files; if the installing copyright is invalid or does not have copyright, ending the installing process. Correspondingly, the invention also provides a device for protecting the copyright of Java application files, comprising an application server and the mobile terminal. The invention also provides a mobile terminal for protecting the copyright of Java application files, comprising a browser, an AMS module and a DRM module. The invention can control the installation and use of the Java application files in the mobile terminal.
Description
Technical Field
The invention relates to the field of computer Java application, in particular to a method and a device for protecting the copyright of a Java application file and a mobile terminal.
Background
With the popularization of mobile terminals, mobile value-added services are rapidly developing. Java technology is an open, standard, and universal platform, and is widely favored by operators due to its strong compatibility. Among them, Java Mobile Information Device Profile (MIDP) applications provide support for functions such as user interface, multimedia, game, network connection, etc., for example: support enhanced graphics functions, bluetooth api, support different Hypertext transfer protocol (HTTP) secure connection types, advanced media api and information api, etc. Therefore, the Java MIDP application is widely applied to mobile terminals having a Java 2 platform mini edition (J2ME, Java 2 microeedition) environment.
Currently, there is generally no limitation on the mobile terminal supporting Java MIDP applications in downloading and propagating Java MIDP applications. Fig. 1 is a schematic diagram of a connection between a mobile terminal and a content server, where as shown in fig. 1, mobile terminals a, B, and C are connected to the content server through a network, and the mobile terminals, such as mobile terminal a, mobile terminal B, and mobile terminal C, may mutually transmit and share data files through technologies such as bluetooth and infrared. Typically, when a mobile terminal user discovers a MIDlet (mobile information Devices applet) that he can select for download, the MIDlet can then be downloaded and installed on the mobile terminal for use. The MIDlet is a Java MIDP application running on a mobile terminal supporting the Java MIDP application. As shown in fig. 2, the current process for downloading and installing Java MIDP application generally includes the following steps:
step 201, the mobile terminal starts a browser and is connected to an application server through HTTP;
the mobile terminal user can browse and select and download the Java application files provided by the content server through the application server.
Step 202, a mobile terminal user browses contents provided on a connected application server and selects a Java application file to download;
step 203, the mobile terminal requests to download a Java Application Descriptor (JAD) file of the selected Java Application file;
step 204, after the JAD file is downloaded, the application server informs the mobile terminal;
step 205, an Application Management System (AMS) of the mobile terminal judges whether the downloaded Java application file is Java MIDP application according to JAD file Content Type identification (Content-Type), if so, step 206 is executed; if the application is not Java MIDP application, processing according to a conventional processing flow;
in HTTP, a Multipurpose Internet Mail Extensions (MIME) Type is defined in Content-Type, and MIME is used to set an application program employed to open a file of a certain extension. Therefore, the application program to be used for opening a file with a certain extension can be obtained through the Content-Type, namely, the attribute of the file is obtained through the extension of the file.
Step 206, the browser of the mobile terminal informs the AMS to install the Java MIDP application, and the AMS requests an application server to download a Java Archive (JAR) file;
after receiving the notification of installing the Java MIDP application, the AMS requests the application server to download the JAR file corresponding to the JAD file, and the application server issues a data package related to the Java MIDP application, wherein the data package comprises basic information of the JAR file corresponding to the Java application file, such as the size, Content-Type and the like of the JAR file. Generally, the Content-Type of JAD is the same as the Content-Type of JAR.
Step 207, AMS downloads JAR file corresponding to the Java MIDP application;
step 208, after the JAR file is downloaded, AMS starts to install the corresponding Java MIDP application, namely the JAR file;
and step 209, after the JAR file is installed, returning to the browser interface.
Therefore, through the traditional implementation mode, the mobile terminal can use or propagate the downloaded Java MIDP application without any limitation, namely, a mobile terminal user selects an installed MIDlet to run on the mobile terminal, the mobile terminal can use the installed MIDlet after starting, and is not limited, even the mobile terminal can be propagated to other mobile terminals through some ways, and other mobile terminals can also use the installed MIDP application without limitation, so that the Java MIDP application can be downloaded, used and propagated without control, and the benefit of a Java MIDP application provider cannot be guaranteed.
At present, although there are some methods for protecting the copyright of Java MIDP application, among them, a popular method is to sign a certificate for the Java MIDP application, but if the certificate signing method is adopted, a certificate needs to be installed in advance in a mobile terminal, and the mobile terminal that successfully installs the certificate can still use the Java MIDP application without limit, and the number of times of using the Java MIDP application by the mobile terminal, the service life, and the like cannot be limited.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a mobile terminal for protecting Java application file copyrights, which can control downloading, installation and use of Java application files on the mobile terminal side.
In order to achieve the above object, the present invention discloses a method for protecting the copyright of a Java application file, comprising: a mobile terminal user selects to download a Java application file; when the mobile terminal determines that the downloaded Java application file is a Digital Rights Management (DRM) protection file, calling a DRM interface, acquiring and judging the installation copyright state of the Java application file, and if the installation copyright is effective, installing the Java application file; if the installation copyright is invalid or no copyright exists, the installation process is ended.
In the above scheme, the step of selectively downloading the Java application file includes: the mobile terminal downloads a JAD file of a Java application descriptor corresponding to the selected Java application file; after the JAD file is downloaded, downloading a JAR file corresponding to the JAD file; and judging whether the downloaded Java application file is a DRM protected file or not through the content type identifier of the JAR file. The step of obtaining the installation copyright state of the Java application file comprises the following steps: an application management system AMS in the mobile terminal carries out information interaction with a DRM module of the mobile terminal by calling a DRM interface, and the DRM module creates a DRM description file and a data file and returns a path of the DRM description file; the DRM installation right status is obtained through a path of the DRM description file returned by the DRM module.
Wherein the step of installing the Java application file includes: the AMS acquires a path of a data file returned by the DRM module, installs a Java application file corresponding to the data file, and stores related information of DRM into a configuration file of the Java application file; the related information of the DRM includes: the DRM type and the DRM describe the path of the file. After the step of installing the Java application file, the method further includes: the mobile terminal requests to run the installed Java application file; acquiring the running copyright state of the Java application file requested to run according to the DRM information in the saved configuration file, and judging whether the running copyright is effective; and determining whether the Java application file requested to be operated can be started or not according to whether the operation copyright is effective or not.
In order to implement the method, the invention provides a device for protecting the copyright of the Java application file, which comprises the following steps: the mobile terminal comprises an application server and a mobile terminal, wherein the application server is used for providing Java application files; a mobile terminal, comprising: the system comprises a browser, an Application Management System (AMS) and a Digital Rights Management (DRM) module; the browser is used for browsing a page of the application server, selecting and downloading a Java application file, and informing the AMS to install the downloaded Java application file after the Java application file is downloaded; the AMS is used for carrying out information interaction with the DRM module, judging whether the downloaded Java application file is a DRM protection file or not, and acquiring and judging the installation copyright state of the Java application file; the AMS is also used for installing the downloaded Java application file when the installation copyright is determined to be effective; and the DRM module is used for carrying out information interaction with the AMS and providing the installation copyright state of the Java application file.
In the above scheme, the browser is further configured to download a JAD file corresponding to the selected Java application file; the AMS judges whether the downloaded Java application file is a DRM protected file, and acquires and judges the installation copyright state of the Java application file through the following steps: downloading a JAR file corresponding to the JAD file, and judging whether the downloaded Java application file is a DRM protected file or not through the content type identifier of the JAR file; and is used for saving the related information of DRM to the configuration file of the Java application file when the Java application file is installed; and the DRM module is also used for creating a DRM description file and a data file according to the interactive information acquired from the AMS and returning the path of the DRM description file and the data file to the AMS.
Wherein the AMS is further configured to: judging and obtaining and judging the running copyright state, and running the installed Java application file when the running copyright is effective; the DRM module is further configured to: returning the running copyright state and the repeated copyright; wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
Correspondingly, the invention also provides a mobile terminal for protecting the copyright of the Java application file, which comprises: the system comprises a browser, an Application Management System (AMS) and a Digital Rights Management (DRM) module, wherein the browser is used for browsing a page of an application server, selecting and downloading a Java application file, and informing the AMS of installing the downloaded Java application file after the Java application file is downloaded; AMS, comprising: the system comprises a judging unit, an AMS interaction unit and an installation unit, wherein the judging unit is used for judging whether a Java application file downloaded by the browser is a DRM protected file; the AMS interaction unit is used for carrying out information interaction with the DRM module and acquiring and judging the installation copyright state of the Java application file when the judgment unit determines that the downloaded Java application file is the DRM protection file; the installation unit is used for installing the downloaded Java application file when the AMS interaction unit determines that the installation copyright is effective; and the DRM module comprises a DRM interaction unit, and the DRM interaction unit is used for performing information interaction with the AMS interaction unit and providing the installation copyright state of the Java application file.
In the foregoing solution, the determining unit is further configured to download a JAR file corresponding to the JAD file, and determine whether the downloaded Java application file is a DRM protected file according to a content type identifier of the JAR file; the installation unit is also used for saving the related information of DRM to the configuration file of the Java application file when the Java application file is installed; the AMS also comprises an operation unit which is used for communicating with the installation unit and the AMS interaction unit to acquire the operation copyright state of the Java MIDP application and operating the Java application file installed by the installation unit when the operation copyright is effective; the DRM module also comprises a creating unit used for creating a DRM description file and a data file according to the interaction information acquired from the DRM interaction unit and returning the path of the DRM description file and the path of the data file to the AMS through the DRM interaction unit; wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
According to the technical scheme, the method, the device and the mobile terminal for protecting the copyright of the Java application file provided by the invention have the advantages that the Java application file is not directly downloaded, but the DRM protection file which protects the Java application file by Digital Rights Management (DRM) is downloaded. After the downloading of the DRM protected file is completed, the DRM description file of the Java application file is installed, and copyright verification is performed during the installation, so that the Java application file can be controllably downloaded and installed. And the mobile terminal is used for the authentication processing when the Java application file protected by the DRM is operated through saving the path of the DRM description file in the installation process. In this way, it is possible to appropriately restrict the installation, use, and propagation of the Java application file, and even if the Java application file is transmitted to another mobile terminal, the Java application file cannot be installed and used because there is no copyright. This advantageously provides a way for a mobile terminal user to have limited use of Java application files, protecting the interests of the Java application file provider.
Drawings
FIG. 1 is a schematic diagram of a mobile terminal connected to a content server;
FIG. 2 is a schematic diagram of a conventional implementation flow for downloading and installing a Java MIDP application;
FIG. 3 is a schematic flow chart of an implementation of the method for protecting the copyright of the Java application file according to the present invention;
FIG. 4 is a schematic flow chart illustrating an implementation of a first embodiment of a method for protecting the copyright of a Java application file according to the present invention;
FIG. 5 is a schematic flow chart illustrating an implementation of a second method for protecting the copyright of the Java application file according to the present invention;
FIG. 6 is a schematic diagram illustrating a structure of an apparatus for protecting copyright of Java application files according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a composition structure of an embodiment of the mobile terminal for protecting the copyright of the Java application file according to the present invention.
Detailed Description
The basic idea of the invention is that: when the mobile terminal downloads and installs the Java application file protected by DRM, the AMS and the DRM module carry out mutual information, copyright verification is carried out through the path of the DRM description file of the Java application file, and the path of the DRM description file is stored in the installation process and is used for authentication when the Java application file is operated. Thus, the installation, the use and the propagation of the Java application file can be reasonably limited.
It should be noted that the copyright includes: installing copyright and operating copyright. The installation rights and the running rights may be the same.
Among them, DRM is a business model that controls the use and consumption of contents implemented in content distribution. In mobile download services where content providers and network operators need to control the use and dissemination of downloaded media objects, DRM provides a method of controlling the use of downloaded media objects, that is, DRM allows a content provider to set digital rights to a downloaded media object and allows different rights to be set to the same downloaded media object. The use of downloaded media objects must have corresponding copyright permissions and prohibit illegal copying, but DRM allows legal Distribution of the content that is cryptographically protected by it in a Super Distribution (Super Distribution). Furthermore, the present invention requires that the mobile terminal according to the present invention be able to support DRM.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 3, showing an implementation process of the method for protecting the copyright of the Java application file according to the present invention, this embodiment is a method for providing protection for a download and installation process of a Java MIDP application through DRM, where the Java MIDP application is a Java application file, and this embodiment takes the Java MIDP application as an example to describe the method for protecting the copyright of the Java application file through DRM, and includes the following steps:
after the mobile terminal starts the browser, the mobile terminal is connected to the application server through the HTTP, and a user of the mobile terminal browses the content provided by the application server and selects the Java MIDP application to be downloaded. In this embodiment, the Java MIDP application is packaged as a DRM protected file, that is, a DRM protected Java MIDP application, and the Java MIDP application is DRM packaged by a content server or a content provider. When the Java application file is selected to be downloaded, the user of the mobile terminal can know whether the Java application file selected to be downloaded is DRM protected, but the mobile terminal does not know whether the Java application file selected to be downloaded is DRM protected at this time, but makes a judgment about this in the subsequent steps.
and the browser of the mobile terminal requests an application server to download a JAD file of the selected Java MIDP application, wherein the JAD file comprises the information of the size, the name, the type, the installation path (MIDlet-Jar-URL), the copyright and the like of the Java MIDP application. Here, the copyright includes: install copyright, run copyright, etc.
after the JAD file is downloaded, the browser informs an AMS in the mobile terminal to install the Java MIDP application corresponding to the downloaded JAD file. The mobile terminal downloads a JAR file corresponding to the MIDlet-Jar-URL attribute value according to the MIDlet-Jar-URL attribute value in the JAD file; here, the JAR file is a data file of the Java MIDP application, and therefore, when installing the Java MIDP application, the JAR file corresponding to the Java MIDP application needs to be acquired. In general, JAR files may be used to package secondary resources associated with components, and may also be used to deploy and package libraries, components, plug-ins, and the like. The MIDlet-Jar-URL attribute value in the Java MIDP application specification corresponds to a common JAR file. In this embodiment, the Jar file corresponding to the MIDlet-Jar-URL attribute value includes: an unpackaged normal JAR file and an encrypted packaged JAR file. Here, the unpackaged normal JAR file is an unpackaged Java application file, and the encrypted and packaged JAR file is a DRM-protected Java application file, i.e., a DRM-protected file.
the AMS in the mobile terminal determines whether the JAR file is a DRM protected file by judging whether the Content-Type of the downloaded JAR file is application/vnd.oma.drm.message, and if the Content-Type is application/vnd.oma.drm.message, step 306 is executed; if the Content-Type is not application/vnd. The application/vnd.oma.drm.message is one type of MIME, and when a mobile terminal user requests to download a selected Java MIDP application on an application server, the MIME type of the requested Java MIDP application can be obtained, such as application/vnd.oma.drm.message.
The common JAR file is an unprotected Java MIDP application file, namely a Java MIDP application file without copyright verification, and the mobile terminal does not need to carry out copyright verification operation during downloading and can be directly installed. The step is a conventional processing procedure of the common JAR file, and a downloading procedure of the common JAR file is not described in detail herein.
in the mobile terminal, the AMS calls an interface provided by the DRM module, i.e., a DRM interface, to implement a function of the AMS in interacting information with the DRM module. After judging that the downloaded JAR file is a DRM protected file, the AMS interacts information with the DRM module, performs operations such as copyright verification, plaintext data acquisition, copyright information acquisition and the like on the Java MIDP application, and further realizes the decryption function of the DRM protected file. And, the DRM module creates a DRM description file and a data file, respectively, according to information provided by the AMS, such as copyright information and type of DRM, and data information of the java midp application. Wherein the DRM description file includes: the copyright status of the DRM, the type of the DRM, etc. The data file is data information of JavaMIDP application, such as JAR file. The mobile terminal records the path of the DRM description file and finds the created DRM description file and data file through the path of the DRM description file.
the mobile terminal finds the DRM description file through the path of the DRM description file, and further obtains the installation copyright state of the Java MIDP application recorded in the DRM description file. The installation copyright status includes: installation copyright is valid, installation copyright is invalid, and no copyright is installed, etc.
the AMS of the mobile terminal obtains a data file, such as a JAR file, of the Java MIDP application according to a path of the returned data file, and then installs the Java MIDP application corresponding to the data file. In the process of installing the Java MIDP application, the mobile terminal stores the related information of DRM to the configuration file of the Java MIDP application. Wherein, the related information of DRM includes: DRM type and path of DRM description file, etc.
311, the mobile terminal user runs the installed Java MIDP application, judges the running copyright state according to the related information of DRM in the saved configuration file, if the running copyright is valid, then executes 312; if the running right is temporarily unavailable, go to step 313; if the running right is not valid or is not running, go to step 314;
the mobile terminal can determine the running copyright state according to the related information of the DRM in the saved configuration file, and perform different operations according to different running copyright states, or continue running or resume copyright and the like. The running right may be the same as the installation right of the Java MIDP application requested to run, or may be different from the installation right of the Java MIDP application requested to run, that is, the running right may be set separately.
and the mobile terminal user selects to resume, starts a browser to install the copyright, calls a DRM interface to receive the resumed running copyright, and prompts the mobile terminal user to wait for the arrival of the resumed running copyright by the DRM module. And after the running copyright arrives, returning to step 311, judging the repeated running copyright state, and adopting the corresponding operation according to the repeated running copyright state.
A specific implementation flow for downloading and installing the Java MIDP application is given below, and as shown in fig. 4, the implementation flow includes the following steps:
step 401, the mobile terminal starts a browser and is connected to an application server through HTTP;
step 402, the mobile terminal user browses the content provided by the application server and requests to download a Java MIDP application;
step 403, the browser of the mobile terminal downloads the JAD file corresponding to the requested Java MIDP application;
step 404, after the JAD file is downloaded, the application server informs the browser of the mobile terminal that the JAD file is downloaded;
step 405, the browser in the mobile terminal informs the AMS to install the requested Java MIDP application;
step 406, according to the MIDlet-Jar-URL attribute value in the JAD file, AMS of the mobile terminal downloads a corresponding JAR file;
step 407, the AMS of the mobile terminal determines the Content-Type of the JAR file, and if the Content-Type is application/vnd.oma.drm.message, the JAR file is protected by DRM, and step 408 is executed; if the Content-Type is not application/vnd.oma.drm.message, the JAR file is not protected by DRM, the JAR file is treated as a common JAR file, and the current flow is ended;
step 408, the AMS of the mobile terminal calls a DRM interface provided by the DRM module to perform information interaction with the DRM module, and the DRM module creates a DRM description file and a data file;
step 409, the DRM module returns the path of the created DRM description file;
step 410, the AMS of the mobile terminal acquires the installation copyright state of the JavaMIDP application according to the path of the returned DRM description file;
step 411, the AMS of the mobile terminal receives the installation right status returned by the DRM module, and determines whether the returned installation right is valid, and if the installation right is valid, performs step 412; if the copyright is not installed or the copyright is not installed, prompting the mobile terminal user that the copyright is not installed, and executing step 415;
step 412, the AMS of the mobile terminal acquires the data file of the Java MIDP application from the DRM module;
step 413, the DRM module of the mobile terminal returns the path of the data file;
step 414, the AMS of the mobile terminal installs the requested Java MIDP application according to the path of the data file returned by the DRM module, and saves the related information of DRM in the configuration file of the Java MIDP application, and then executes step 415;
the AMS of the mobile terminal obtains a data file, such as a JAR file, of the Java MIDP application according to a path of the returned data file, and then installs the Java MIDP application corresponding to the data file. In this process, the AMS of the mobile terminal saves related information of DRM, which includes: the DRM type and the DRM describe the path of the file.
At step 415, the installation process ends and returns to the browser interface.
The first embodiment is an installation process of the Java MIDP application, which needs copyright verification during the installation process, and the path of the DRM description file is saved during the installation process for runtime authentication, so that the installation, the running and the propagation of the Java MIDP application are reasonably limited, and even if the Java MIDP application is sent to another mobile terminal, the Java MIDP application cannot be installed and used due to no copyright. The process by which the mobile terminal user selects to run the Java MIDP application after installation is complete is described below. As shown in fig. 5, a method for protecting Java MIDP application by DRM is shown as an implementation flow of a second method embodiment of the present invention for protecting Java application file copyright, that is, the method includes: the mobile terminal will determine the running copyright state according to the stored related information of DRM, and perform different operations according to different running copyright states, or continue running, or resume copyright, etc., and mainly includes the following steps:
step 501, a mobile terminal user requests to run an installed Java MIDP application;
step 502, AMS judges whether Java MIDP application is protected by DRM, if so, step 503 is executed; and if the Java MIDP application is not protected by DRM, directly running the requested Java MIDP application, and then ending the running process.
And the mobile terminal judges whether the Java MIDP application is protected by DRM according to the DRM type stored in the requested Java MIDP application configuration file.
Step 503, the AMS acquires the running copyright state of the Java MIDP application according to the path of the DRM description file stored in the Java MIDP application configuration file;
the running copyright status includes: the running copyright is valid, the running copyright is temporarily unavailable, and the running copyright is invalid or no running copyright is available, etc.
Step 504, the DRM module returns the running copyright state of the Java MIDP application to the AMS, and takes corresponding operation according to the obtained running copyright state; if the running right is valid, go to step 505; if the running right is temporarily unavailable, go to step 506; if the running copyright is invalid or no running copyright exists, executing step 507;
and 505, the AMS of the mobile terminal starts the requested Java MIDP application and finishes the operation process after finishing the starting.
Step 506, the AMS of the mobile terminal prompts the user of the mobile terminal to use the Java MIDP application later, and the operation flow is ended.
Step 507, the AMS of the mobile terminal prompts the mobile terminal user to resume running the copyright;
step 508, the mobile terminal user selects the running copyright to be resumed, and the mobile terminal starts a browser to download the requested running copyright to be resumed;
and when the browser downloads the running copyright requesting for resuming, the mobile terminal calls the DRM interface to receive the resumed running copyright so as to update the running copyright state information in the DRM description file.
Step 509, the DRM module prompts the mobile terminal user to wait for the running of the rights;
in step 510, the DRM module notifies the AMS that the running rights are reached, and returns to step 502.
For simplicity of explanation, the foregoing embodiments are described as a series of acts or combinations, but it will be appreciated by those skilled in the art that the invention is not limited by the order of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention.
In order to implement the above method, the present invention further provides a device and a mobile terminal for protecting the copyright of the Java application file, as shown in fig. 6, the main structure of the device includes: an application server 601 and a mobile terminal 602. Wherein:
an application server 601 for providing Java application files;
here, the Java application file includes a DRM-protected Java application file, which is a Java application file DRM-packaged by a content server or a content provider.
A mobile terminal 602, comprising: browser 6021, application management system AMS6022 digital rights management and DRM module 6023. Wherein:
the browser 6021 is configured to browse a page of the application server, select and download a Java application file protected by DRM, and notify the AMS to install the downloaded Java application file after the Java application file is downloaded.
AMS6022, configured to perform information interaction with DRM module 6023, determine whether a Java application file downloaded by browser 6021 is a DRM protected file, and obtain and determine a copyright state of the Java application file through a path of a DRM description file returned by DRM module 6023.
The AMS6022 is used to install the downloaded Java application file upon determining that the installation copyright is valid.
And the DRM module 6023 is used for performing information interaction with the AMS and providing the installation copyright state of the Java application file to the AMS 6022. Here, the copyright status includes: installing the copyright status and running the copyright status.
In this embodiment, the browser is further configured to download a JAD file corresponding to the selected Java application file; the AMS6022 judges whether the downloaded Java application file is a DRM protected file, and acquires and judges an installation copyright state of the Java application file by: downloading a JAR file corresponding to the JAD file, and judging whether the downloaded Java application file is a DRM protected file or not through the content type identifier of the JAR file; and is used for saving the information related to the DRM into the configuration file of the Java application file when the Java application file is installed.
The DRM module 6023 is further configured to create a DRM description file and a data file according to the interaction information acquired from the AMS, such as information related to the JAR file, copyright information, plaintext data, and the like, and return a path of the DRM description file and a path of the data file to the AMS 6022. In addition, the DRM module 6023 is further configured to return a running copyright status and a resume copyright; wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
In this embodiment, the AMS6022 acquires the installation copyright status according to the path of the DRM description file returned by the DRM module 6023, and installs the Java application file corresponding to the path of the data file through the path of the data file returned by the DRM module 6023. The AMS6022 is also used for judging and obtaining and judging the running copyright state and running the installed Java application file. Wherein:
when the running copyright is effective, starting the requested Java application file;
when the running copyright is temporarily unavailable, prompting the mobile terminal user to use the Java application file later;
and when the copyright is invalid or the copyright is not operated, prompting the mobile terminal user to restart the copyright operation. At this point, DRM module 6023 resumes the rights and prompts the mobile terminal user to wait for the arrival of the resumed running rights.
Correspondingly, the present invention further provides a mobile terminal for protecting the copyright of the Java application file, referring to fig. 7, which shows a composition structure of an embodiment of the mobile terminal for protecting the copyright of the Java application file, where the mobile terminal 700 specifically includes: a browser 701, an application management system AMS 702, a digital rights management DRM module 703. Wherein:
the browser 701 is used for browsing and selecting to download the Java application files, and after the downloading of the Java application files is finished, the AMS 702 is informed to install the downloaded Java application files;
the AMS 702, includes: a judging unit 7021, an AMS interaction unit 7022, an installation unit 7023, and an execution unit 7024, wherein,
a determining unit 7021, configured to determine whether the Java application file downloaded by the browser 701 is a DRM protected file;
AMS interacting unit 7022, configured to perform information interaction with DRM module 703, and obtain and determine an installation copyright state of the Java application file when determining that the downloaded Java application file is a DRM protected file by determining unit 7021;
an installation unit 7023, configured to install the downloaded Java application file when the AMS interaction unit 7022 determines that the installation right is valid;
the DRM module 703 comprises a DRM interaction unit 7031, and the DRM interaction unit 7031 is configured to perform information interaction with the AMS interaction unit 7022, and provide an installation copyright status of the Java application file.
In this embodiment, the determining unit 7021 is further configured to download a JAR file corresponding to the JAD file, and determine whether the Java application file downloaded by the browser 701 is a DRM protected file according to a content type identifier of the JAR file.
The installing unit 7023 is further configured to, when installing the Java application file, save information related to DRM into a configuration file of the Java application file.
In addition, the AMS 702 further includes a running unit 7024 for communicating with the installation unit 7023 and the AMS interaction unit 7022 to obtain a running copyright status of the Java MIDP application and to run the Java application file installed by the installation unit when the running copyright is valid.
The DRM module 703 further comprises a creating unit 7032 configured to create a DRM description file and a data file according to the interaction information acquired from the DRM interaction unit 7031, and return a path of the DRM description file and the data file to the AMS 702 through the DRM interaction unit 7031. Wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. The above description is only for the purpose of illustrating the present invention, and is not intended to limit the scope of the present invention. Any modification and equivalent substitution made to the present invention within the spirit and the scope of the claims of the present invention fall within the scope of the present invention.
Claims (10)
1. A method for protecting the copyright of a Java application file is characterized by comprising the following steps:
a mobile terminal user selects to download a Java application file;
when the mobile terminal determines that the downloaded Java application file is a Digital Rights Management (DRM) protection file, calling a DRM interface, acquiring and judging the installation copyright state of the Java application file, and if the installation copyright is effective, installing the Java application file; if the installation copyright is invalid or no copyright exists, the installation process is ended.
2. The method for protecting the copyright of the Java application file according to claim 1, wherein the step of selecting to download the Java application file comprises:
the mobile terminal downloads a JAD file of a Java application descriptor corresponding to the selected Java application file;
after the JAD file is downloaded, downloading a JAR file corresponding to the JAD file;
and judging whether the downloaded Java application file is a DRM protected file or not through the content type identifier of the JAR file.
3. The method for protecting the copyright of the Java application file according to claim 1, wherein the step of obtaining the installation copyright status of the Java application file comprises:
an application management system AMS in the mobile terminal carries out information interaction with a DRM module of the mobile terminal by calling a DRM interface, and the DRM module creates a DRM description file and a data file and returns a path of the DRM description file;
the DRM installation right status is obtained through a path of the DRM description file returned by the DRM module.
4. A method for protecting copyrights of Java application files according to claims 1 to 3, wherein said step of installing the Java application files comprises:
the AMS acquires a path of a data file returned by the DRM module, installs a Java application file corresponding to the data file, and stores related information of DRM into a configuration file of the Java application file;
the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
5. The method for protecting the copyright of the Java application file according to claim 4, wherein after the step of installing the Java application file, the method further comprises:
the mobile terminal requests to run the installed Java application file;
acquiring the running copyright state of the Java application file requested to run according to the DRM information in the stored configuration file, and judging whether the running copyright is effective;
and determining whether the Java application file requested to be operated can be started or not according to whether the operation copyright is effective or not.
6. An apparatus for protecting copyrights of Java application files, comprising: an application server and a mobile terminal, wherein,
an application server for providing a Java application file;
a mobile terminal, comprising: the system comprises a browser, an Application Management System (AMS) and a Digital Rights Management (DRM) module; wherein,
the browser is used for browsing the page of the application server, selecting and downloading the Java application file, and informing the AMS to install the downloaded Java application file after the Java application file is downloaded;
the AMS is used for carrying out information interaction with the DRM module, judging whether the downloaded Java application file is a DRM protection file or not, and acquiring and judging the installation copyright state of the Java application file;
the AMS is also used for installing the downloaded Java application file when the installation copyright is determined to be effective;
and the DRM module is used for carrying out information interaction with the AMS and providing the installation copyright state of the Java application file.
7. The apparatus for protecting Java application file copyright as claimed in claim 6, wherein the browser is further configured to download the JAD file corresponding to the selected Java application file;
the AMS judges whether the downloaded Java application file is a DRM protected file, and acquires and judges the installation copyright state of the Java application file through the following steps: downloading a JAR file corresponding to the JAD file, and judging whether the downloaded Java application file is a DRM protected file or not through the content type identifier of the JAR file; and is used for saving the related information of DRM to the configuration file of the Java application file when the Java application file is installed;
and the DRM module is also used for creating a DRM description file and a data file according to the interactive information acquired from the AMS and returning the path of the DRM description file and the data file to the AMS.
8. An apparatus for protecting copyrights of Java application files as claimed in claim 6 or 7, wherein said AMS is further configured to: judging and obtaining and judging the running copyright state, and running the installed Java application file when the running copyright is effective;
the DRM module is further configured to: returning the running copyright state and the repeated copyright;
wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
9. A mobile terminal for protecting a copyright of a Java application file, comprising: a browser, an application management system AMS, a digital rights management DRM module, wherein,
the browser is used for browsing the page of the application server, selecting and downloading the Java application file, and informing the AMS to install the downloaded Java application file after the Java application file is downloaded;
AMS, comprising: a judging unit, an AMS interaction unit and an installation unit, wherein,
the judging unit is used for judging whether the Java application file downloaded by the browser is a DRM protected file;
the AMS interaction unit is used for carrying out information interaction with the DRM module and acquiring and judging the installation copyright state of the Java application file when the judgment unit determines that the downloaded Java application file is the DRM protection file;
the installation unit is used for installing the downloaded Java application file when the AMS interaction unit determines that the installation copyright is effective;
and the DRM module comprises a DRM interaction unit, and the DRM interaction unit is used for performing information interaction with the AMS interaction unit and providing the installation copyright state of the Java application file.
10. The mobile terminal for protecting the copyright of the Java application file according to claim 9, wherein the determining unit is further configured to download a JAR file corresponding to the JAD file, and determine whether the downloaded Java application file is a DRM protected file according to a content type identifier of the JAR file;
the installation unit is also used for saving the related information of DRM to the configuration file of the Java application file when the Java application file is installed;
the AMS also comprises an operation unit which is used for communicating with the installation unit and the AMS interaction unit to acquire the operation copyright state of the Java MIDP application and operating the Java application file installed by the installation unit when the operation copyright is effective;
the DRM module also comprises a creating unit used for creating a DRM description file and a data file according to the interaction information acquired from the DRM interaction unit and returning the path of the DRM description file and the path of the data file to the AMS through the DRM interaction unit;
wherein the related information of the DRM includes: the DRM type and the DRM describe the path of the file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910082168A CN101539971A (en) | 2009-04-15 | 2009-04-15 | Method for protecting the copyright of Java application files, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910082168A CN101539971A (en) | 2009-04-15 | 2009-04-15 | Method for protecting the copyright of Java application files, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101539971A true CN101539971A (en) | 2009-09-23 |
Family
ID=41123157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910082168A Pending CN101539971A (en) | 2009-04-15 | 2009-04-15 | Method for protecting the copyright of Java application files, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101539971A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841535A (en) * | 2010-04-01 | 2010-09-22 | 华为终端有限公司 | Releasing method for J2ME(Java 2 Micro Edition) programme, receiving method, device and system thereof |
CN101847103A (en) * | 2010-04-21 | 2010-09-29 | 华为终端有限公司 | Method and device for running JAVA application |
CN102695169A (en) * | 2011-03-23 | 2012-09-26 | 中兴通讯股份有限公司 | Mobile terminal application program running method and system thereof |
-
2009
- 2009-04-15 CN CN200910082168A patent/CN101539971A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841535A (en) * | 2010-04-01 | 2010-09-22 | 华为终端有限公司 | Releasing method for J2ME(Java 2 Micro Edition) programme, receiving method, device and system thereof |
CN101841535B (en) * | 2010-04-01 | 2013-10-02 | 华为终端有限公司 | Releasing method for J2ME(Java 2 Micro Edition) programme, receiving method, device and system thereof |
CN101847103A (en) * | 2010-04-21 | 2010-09-29 | 华为终端有限公司 | Method and device for running JAVA application |
CN102695169A (en) * | 2011-03-23 | 2012-09-26 | 中兴通讯股份有限公司 | Mobile terminal application program running method and system thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9165139B2 (en) | System and method for creating secure applications | |
US8645948B2 (en) | Apparatus and methods for client-driven server-side installation | |
EP2628125B1 (en) | Method and apparatus for downloading drm module | |
US10140672B2 (en) | Apparatus and method of managing a licensable item | |
TWI387898B (en) | Programmatically transferring applications between handsets based on license information | |
CN101099385B (en) | Methods and apparatus for enforcing application level restrictions on local and remote content | |
KR101489725B1 (en) | Methods, systems, and apparatus for content licensing | |
CN103744686B (en) | Control method and the system of installation is applied in intelligent terminal | |
WO2017071207A1 (en) | Application installation method, corresponding apparatus, and application installation system | |
RU2339076C2 (en) | Execution of non-verified programs in radio communication device | |
US20170230468A1 (en) | Systems and Methods for Facilitating Service Provision Between Applications | |
CN101557584A (en) | Method for realizing application authority control of mobile terminal and device | |
WO2014150737A2 (en) | Method and system for enabling the federation of unrelated applications | |
JP5112924B2 (en) | Application moving system, application moving method, program, and portable terminal | |
CN101980503B (en) | Method, device and system for managing widget application | |
CN101539971A (en) | Method for protecting the copyright of Java application files, device and mobile terminal | |
CN101478754B (en) | Media file downloading method, apparatus and system based on copyright management | |
KR20120124329A (en) | Method for providing drm service in service provider device and the service provider device therefor and method for being provided drm service in user terminal | |
CN101375543A (en) | Apparatus and method for moving rights object from one device to another device via server | |
CN103023640B (en) | Via server, right objects is moved to from an equipment apparatus and method of another equipment | |
JP6091854B2 (en) | Information processing apparatus and control method | |
KR20100051035A (en) | Contents distributing system using widget and method thereof | |
KR20140137583A (en) | Mobile Terminal Device, Service Device, System and Method for upgrading a application using API | |
RU2339995C2 (en) | System of automatic installation and processing component in registry based devices | |
JP2007525738A (en) | Download multiple objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090923 |