CN102034059B - Application program management method and device and terminal - Google Patents
Application program management method and device and terminal Download PDFInfo
- Publication number
- CN102034059B CN102034059B CN2010105782308A CN201010578230A CN102034059B CN 102034059 B CN102034059 B CN 102034059B CN 2010105782308 A CN2010105782308 A CN 2010105782308A CN 201010578230 A CN201010578230 A CN 201010578230A CN 102034059 B CN102034059 B CN 102034059B
- Authority
- CN
- China
- Prior art keywords
- application program
- key
- user
- configuration authentication
- application
- 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.)
- Active
Links
- 238000012795 verification Methods 0.000 claims abstract description 38
- 238000013475 authorization Methods 0.000 claims description 7
- 238000007726 management method Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
Description
技术领域 technical field
本发明涉及移动通信领域,具体而言,涉及一种应用程序管理方法、装置以及一种终端。The present invention relates to the field of mobile communication, in particular to an application program management method, device and terminal.
背景技术 Background technique
手机作为移动通信终端的应用非常普及,而Android是目前较为流行的一种应用于手机的系统平台。Android目前的应用平台机制相当容易被盗版,到目前为止用户安装软件几乎是没有任何版权保护的自由状态,这种现状对软件开发者和手机终端厂商会造成很大的经济损失。现有的防盗版的方案一般不外乎以下2种解决方法:The application of mobile phones as mobile communication terminals is very popular, and Android is currently a popular system platform applied to mobile phones. Android's current application platform mechanism is quite easy to be pirated. So far, users have almost no copyright protection to install software in a free state. This situation will cause great economic losses to software developers and mobile phone terminal manufacturers. Existing anti-piracy solutions are generally nothing more than the following two solutions:
(1)联网鉴权(核心技术思想是和终端的唯一特征值如IMEI号、手机卡的IMSI号等绑定在一起进行判别),(1) Internet authentication (the core technical idea is to bind with the unique characteristic value of the terminal such as the IMEI number, the IMSI number of the mobile phone card, etc. for discrimination),
其中,IMEI唯一地识别一台移动设备,用于监控被窃或无效的移动设备,标识在手机终端上,IMSI是GSM系统分配给移动用户(MS)的唯一的识别号,存储在SIM卡、HLR(归属用户位置寄存器)和VLR(来访用户位置寄存器)中,在无线接口及MAP接口上传送;Among them, IMEI uniquely identifies a mobile device and is used to monitor stolen or invalid mobile devices. In HLR (Home Location Register) and VLR (Visitor Location Register), it is transmitted on the wireless interface and the MAP interface;
(2)序列号鉴权(核心技术思想是加密算法鉴权)。(2) Serial number authentication (the core technical idea is encryption algorithm authentication).
上述方法的缺陷在于:The disadvantages of the above method are:
(1)在不联网和没有序列号的情况下,用户想试用到软件或服务较为困难,并且用户如果想购买到该软件和服务,可能还需要重新下载软件实体和购买序列号等繁琐的操作,而无法继续使用试用的软件或服务;(1) It is difficult for users to try out software or services without internet access and serial numbers, and if users want to purchase the software and services, they may need to re-download software entities and purchase serial numbers and other cumbersome operations , and cannot continue to use the trial software or service;
(2)较难控制软件实体文件的传播,即以终端为介质,可以随意传播软件实体等文件,这样其实是间接地支持了盗版。(2) It is difficult to control the dissemination of software entity files, that is, using the terminal as the medium, files such as software entities can be freely disseminated, which actually indirectly supports piracy.
因此,需要一种新的应用程序管理方式,既能够较好地管理应用程序的免费试用与购买使用,防止对应用程序的盗版,又能够不妨碍用户对应用程序的使用。Therefore, there is a need for a new application program management method, which can better manage the free trial and purchase of the application program, prevent the piracy of the application program, and not hinder the use of the application program by the user.
发明内容 Contents of the invention
本发明所要解决的技术问题在于,提供一种新的应用程序管理方式,既能够较好地管理应用程序的免费试用与购买使用,防止对应用程序的盗版,又能够不妨碍用户对应用程序的使用。The technical problem to be solved by the present invention is to provide a new application program management method, which can better manage the free trial and purchase of the application program, prevent the piracy of the application program, and not hinder the user's access to the application program. use.
有鉴于此,本发明提供一种应用程序管理方法,包括:步骤102,建立配置认证文件,将每个应用程序的相关信息写入所述配置认证文件中,所述相关信息包括密钥;步骤104,用户启动选中的应用程序时,判断所述配置认证文件中是否具有所述应用程序的密钥,在所述配置认证文件中具有所述应用程序的密钥时,验证所述应用程序的密钥,根据验证结果来判断是否允许所述用户使用所述应用程序,在所述配置认证文件中没有所述应用程序的密钥时,提示所述用户是否试用所述应用程序。通过该技术方案,将密钥写入配置认证文件,可以避免在每次使用应用程序前进行网络验证。In view of this, the present invention provides an application program management method, comprising:
在上述技术方案中,优选地,所述配置认证文件位于所述用户的终端,所述相关信息还包括所述终端的IMEI号,在所述步骤104中,在所述配置认证文件中没有所述应用程序的密钥并且所述用户确认不试用所述应用程序时,就发送所述IMEI号至所述应用程序对应的验证库,如果所述验证库根据所述IMEI号和所述应用程序生成所述应用程序的密钥,并将所述应用程序的密钥发送给所述终端,则将所述应用程序的密钥写入所述配置认证文件中。通过该技术方案,保证用户在首次使用应用程序时,通过购买等手段获得密钥,密钥则写入配置认证文件,以用于再次使用应用程序时验证用户身份,能够既有效地防止盗版,又不影响用户对应用软件的使用。In the above technical solution, preferably, the configuration authentication file is located in the terminal of the user, and the related information also includes the IMEI number of the terminal. In the
在上述技术方案中,优选地,所述相关信息还包括应用运行期限,在对应的应用运行期限到期后,禁止已写入所述配置认证文件中的密钥被用于进行验证。通过上述技术方案,在配置认证文件中写入应用运行期限,能够有效地控制密钥的有效期,以便于实现应用程序的按时收费。In the above technical solution, preferably, the relevant information further includes an application running period, and after the corresponding application running period expires, the key written in the configuration authentication file is prohibited from being used for verification. Through the above technical solution, writing the application running time limit in the configuration authentication file can effectively control the validity period of the key, so as to realize the on-time charging of the application program.
在上述技术方案中,优选地,所述相关信息还包括应用体验剩余次数,在所述步骤104中,所述配置认证文件中没有所述应用程序的密钥时,所述用户确认试用所述应用程序,在所述应用程序对应的应用体验剩余次数大于零时,允许用户试用所述应用程序,同时将所述应用程序对应的应用体验剩余次数减一。通过上述技术方案,能够有效地实现用户对应用程序的试用,并能有效地控制试用期限。In the above technical solution, preferably, the relevant information also includes the remaining times of application experience. In the
在上述技术方案中,优选地,所述应用程序被禁止从所述终端中拷贝出来,所述终端中安装有Android系统,所述相关信息还包括所述应用程序的来源信息。通过上述技术方案,提供来源信息来提示用户应用程序的来源,以供用户从来源获取应用程序,而不允许用户从终端拷贝应用程序,能够有效地防止盗版产生。本领域的技术人员应当理解,本发明的技术方案适用于多种系统,包括但不限于Android。In the above technical solution, preferably, the application program is prohibited from being copied from the terminal, and the Android system is installed in the terminal, and the relevant information also includes source information of the application program. Through the above technical solution, the source information is provided to remind the user of the source of the application program, so that the user can obtain the application program from the source, and the user is not allowed to copy the application program from the terminal, which can effectively prevent piracy. Those skilled in the art should understand that the technical solution of the present invention is applicable to various systems, including but not limited to Android.
本发明还提供一种应用程序管理装置,包括:配置认证文件组成模块,建立配置认证文件,将每个应用程序的相关信息写入所述配置认证文件中,所述相关信息包括密钥;应用认证模块,用户启动选中的应用程序时,判断所述配置认证文件中是否具有所述应用程序的密钥,在所述配置认证文件中具有所述应用程序的密钥时,所述应用认证模块验证所述应用程序的密钥,根据验证结果来判断是否允许所述用户使用所述应用程序,在所述配置认证文件中没有所述应用程序的密钥时,提示所述用户是否试用所述应用程序。通过该技术方案,将密钥写入配置认证文件,可以避免在每次使用应用程序前进行网络验证。The present invention also provides an application program management device, comprising: a configuration authentication file composition module, which establishes a configuration authentication file, and writes relevant information of each application program into the configuration authentication file, and the relevant information includes a key; The authentication module, when the user starts the selected application program, judges whether the configuration authentication file has the key of the application program, and when the configuration authentication file has the key of the application program, the application authentication module Verify the key of the application program, judge whether to allow the user to use the application program according to the verification result, and prompt the user whether to use the application program if there is no key for the application program in the configuration authentication file application. Through this technical solution, the key is written into the configuration authentication file, which can avoid network verification before each application program is used.
在上述技术方案中,优选地,所述配置认证文件组成模块、所述应用认证模块均位于所述用户的手机终端,所述相关信息还包括所述手机终端的IMEI号,所述应用程序管理装置还包括:发送模块,位于所述手机终端,在所述配置认证文件中没有所述应用程序的密钥并且所述用户确认不试用所述应用程序时,所述发送模块发送所述IMEI号至所述应用程序对应的验证库,如果所述验证库根据所述IMEI号和所述应用程序生成所述应用程序的密钥,并将所述应用程序的密钥发送给所述手机终端,则所述配置认证文件组成模块将所述应用程序的密钥写入所述配置认证文件中,以供所述应用认证模块进行验证。通过该技术方案,保证用户在首次使用应用程序时,通过购买等手段获得密钥,密钥则写入配置认证文件,以用于再次使用应用程序时验证用户身份,能够既有效地防止盗版,又不影响用户对应用软件的使用。In the above technical solution, preferably, both the configuration authentication file composition module and the application authentication module are located in the mobile phone terminal of the user, the related information also includes the IMEI number of the mobile phone terminal, and the application management The device also includes: a sending module, located in the mobile phone terminal, when the configuration authentication file does not contain the key of the application program and the user confirms not to try the application program, the sending module sends the IMEI number To the verification library corresponding to the application, if the verification library generates the key of the application according to the IMEI number and the application, and sends the key of the application to the mobile terminal, Then the configuration authentication file composition module writes the key of the application program into the configuration authentication file for verification by the application authentication module. Through this technical solution, it is ensured that when the user uses the application program for the first time, he obtains the key through purchase or other means, and the key is written into the configuration authentication file to verify the user's identity when the application program is used again, which can effectively prevent piracy, It does not affect the user's use of the application software.
在上述技术方案中,优选地,所述相关信息还包括应用运行期限,在对应的应用运行期限到期后,禁止已写入所述配置认证文件中的密钥被用于供所述应用认证模块进行验证。通过上述技术方案,在配置认证文件中写入应用运行期限,能够有效地控制密钥的有效期,以便于实现应用程序的按时收费。In the above technical solution, preferably, the relevant information further includes an application running period, and after the corresponding application running period expires, the key written in the configuration authentication file is prohibited from being used for the application authentication The module is verified. Through the above technical solution, writing the application running time limit in the configuration authentication file can effectively control the validity period of the key, so as to realize the on-time charging of the application program.
在上述技术方案中,优选地,所述相关信息还包括应用体验剩余次数,在所述配置认证文件中没有所述应用程序的密钥时,所述用户确认试用所述应用程序,在所述应用程序对应的应用体验剩余次数大于零时,所述应用认证模块允许用户试用所述应用程序,同时所述配置认证文件组成模块将所述应用程序对应的应用体验剩余次数减一。通过上述技术方案,能够有效地实现用户对应用程序的试用,并能有效地控制试用期限。In the above technical solution, preferably, the relevant information further includes the remaining times of application experience, and when there is no key of the application program in the configuration authentication file, the user confirms to try the application program, and in the When the remaining times of application experience corresponding to the application is greater than zero, the application authentication module allows the user to try the application, and at the same time, the configuration authentication file composition module reduces the remaining number of application experience corresponding to the application by one. Through the above technical solution, the trial of the application program by the user can be effectively realized, and the trial period can be effectively controlled.
在上述技术方案中,优选地,还包括:用户操作模块,禁止所述应用程序从所述终端中拷贝出来,所述终端中安装有Android系统;所述相关信息还包括所述应用程序的来源信息。通过上述技术方案,提供来源信息来提示用户应用程序的来源,以供用户从来源获取应用程序,而不允许用户从终端拷贝应用程序,能够有效地防止盗版产生。本领域的技术人员应当理解,本发明的技术方案适用于多种系统,包括但不限于Android。In the above technical solution, preferably, it also includes: a user operation module, which prohibits the application program from being copied from the terminal, and the Android system is installed in the terminal; the related information also includes the source of the application program information. Through the above technical solution, the source information is provided to remind the user of the source of the application program, so that the user can obtain the application program from the source, and the user is not allowed to copy the application program from the terminal, which can effectively prevent piracy. Those skilled in the art should understand that the technical solution of the present invention is applicable to various systems, including but not limited to Android.
本发明还提供一种终端,包括:如上述的应用程序管理装置。The present invention also provides a terminal, including: the above application program management device.
根据以上技术方案,可以实现一种应用程序管理方法、装置以及一种终端,具有以下优点:According to the above technical solution, an application program management method, device and terminal can be realized, which have the following advantages:
1.在应用程序的配置认证文件中登记了软件实体或服务的来源地,这样一方面限制实体文件传播,另一方面可以给用户提供有用的信息,方便用户到来源地去下载或升级;与搜索引擎一样,只提供实体文件(如软件、歌曲、视频、图片等)的出处,本身不缓存实体文件,这样就不存在盗版的风险。1. The source of the software entity or service is registered in the configuration authentication file of the application, so that on the one hand, the dissemination of the entity file is restricted, and on the other hand, useful information can be provided to the user, so that the user can go to the source to download or upgrade; and Like search engines, they only provide the source of physical files (such as software, songs, videos, pictures, etc.), and do not cache physical files, so there is no risk of piracy.
2.引入了试用模式,这样方便用户在决定购买该软件之前,可以体验全功能版本的软件服务,并可保证一个终端只能使用一轮试用模式,避免反复卸载和安装来盗版;2. Introduced the trial mode, so that users can experience the full-featured version of the software service before deciding to purchase the software, and can ensure that a terminal can only use the trial mode for one round, avoiding repeated uninstallation and installation to avoid piracy;
3、该技术方案可以方便地支持试用模式和正版模式的切换,这样一方面避免用户要付费、邮件确认等一系列繁琐的购买步骤,另一方面节省了开发商的收费成本,从而一定程度上支持正版的推广。3. This technical solution can conveniently support the switch between the trial mode and the genuine mode, so that on the one hand, it avoids a series of cumbersome purchase steps such as payment and email confirmation for users, and on the other hand, it saves the developer's charging cost, thus to a certain extent Support genuine promotion.
附图说明 Description of drawings
图1是根据本发明的一个实施例的应用程序管理方法的流程图;Fig. 1 is a flowchart of an application program management method according to an embodiment of the present invention;
图2是根据本发明的一个实施例的应用程序管理装置的框图;2 is a block diagram of an application program management device according to an embodiment of the present invention;
图3是根据本发明的一个实施例的应用程序管理装置的示意图;FIG. 3 is a schematic diagram of an application program management device according to an embodiment of the present invention;
图4是根据本发明的一个实施例的应用程序管理装置的使用流程图;Fig. 4 is a flow chart of using the application program management device according to an embodiment of the present invention;
图5是根据本发明的一个实施例的应用程序管理装置的使用流程图。Fig. 5 is a flow chart of using the application program management device according to an embodiment of the present invention.
具体实施方式 Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明并不限于下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.
图1是根据本发明的一个实施例的应用程序管理方法的流程图。Fig. 1 is a flowchart of an application program management method according to an embodiment of the present invention.
如图1所示,本发明提供一种应用程序管理方法,包括:步骤102,建立配置认证文件,将每个应用程序的相关信息写入所述配置认证文件中,所述相关信息包括密钥;步骤104,用户启动选中的应用程序时,判断所述配置认证文件中是否具有所述应用程序的密钥,在所述配置认证文件中具有所述应用程序的密钥时,验证所述应用程序的密钥,根据验证结果来判断是否允许所述用户使用所述应用程序,在所述配置认证文件中没有所述应用程序的密钥时,提示所述用户是否试用所述应用程序。通过该技术方案,将密钥写入配置认证文件,可以避免在每次使用应用程序前进行网络验证。As shown in Figure 1, the present invention provides an application program management method, including:
在上述技术方案中,所述配置认证文件位于所述用户的终端,所述相关信息还包括所述终端的IMEI号,在所述步骤104中,在所述配置认证文件中没有所述应用程序的密钥并且所述用户确认不试用所述应用程序时,就发送所述IMEI号至所述应用程序对应的验证库,如果所述验证库根据所述IMEI号和所述应用程序生成所述应用程序的密钥,并将所述应用程序的密钥发送给所述终端,则将所述应用程序的密钥写入所述配置认证文件中。通过该技术方案,保证用户在首次使用应用程序时,通过购买等手段获得密钥,密钥则写入配置认证文件,以用于再次使用应用程序时验证用户身份,能够既有效地防止盗版,又不影响用户对应用软件的使用。In the above technical solution, the configuration authentication file is located in the terminal of the user, and the related information also includes the IMEI number of the terminal. In the
在上述技术方案中,所述相关信息还包括应用运行期限,在对应的应用运行期限到期后,禁止已写入所述配置认证文件中的密钥被用于验证。通过上述技术方案,在配置认证文件中写入应用运行期限,能够有效地控制密钥的有效期,以便于实现应用程序的按时收费。In the above technical solution, the relevant information further includes an application running period, and after the corresponding application running period expires, the key written in the configuration authentication file is prohibited from being used for verification. Through the above technical solution, writing the application running time limit in the configuration authentication file can effectively control the validity period of the key, so as to realize the on-time charging of the application program.
在上述技术方案中,所述相关信息还包括应用体验剩余次数,在所述步骤104中,所述配置认证文件中没有所述应用程序的密钥时,所述用户确认试用所述应用程序,在所述应用程序对应的应用体验剩余次数大于零时,允许用户试用所述应用程序,同时将所述应用程序对应的应用体验剩余次数减一。通过上述技术方案,能够有效地实现用户对应用程序的试用,并能有效地控制试用期限。In the above technical solution, the relevant information also includes the remaining times of application experience. In the
在上述技术方案中,所述应用程序被禁止从所述终端中拷贝出来,所述终端中安装有Android系统,所述相关信息还包括所述应用程序的来源信息。通过上述技术方案,提供来源信息来提示用户应用程序的来源,以供用户从来源获取应用程序,而不允许用户从终端拷贝应用程序,能够有效地防止盗版产生。本领域的技术人员应当理解,本发明的技术方案适用于包括但不限于Android的多种系统。In the above technical solution, the application program is prohibited from being copied from the terminal, and the Android system is installed in the terminal, and the relevant information also includes the source information of the application program. Through the above technical solution, the source information is provided to remind the user of the source of the application program, so that the user can obtain the application program from the source, and the user is not allowed to copy the application program from the terminal, which can effectively prevent piracy. Those skilled in the art should understand that the technical solution of the present invention is applicable to various systems including but not limited to Android.
图2是根据本发明的一个实施例的应用程序管理装置的框图。Fig. 2 is a block diagram of an application management device according to an embodiment of the present invention.
如图2所示,本发明还提供一种应用程序管理装置200,包括:配置认证文件组成模块202,建立配置认证文件,将每个应用程序的相关信息写入所述配置认证文件中,所述相关信息包括密钥;应用认证模块204,用户启动选中的应用程序时,判断所述配置认证文件中是否具有所述应用程序的密钥,在所述配置认证文件中具有所述应用程序的密钥时,所述应用认证模块204验证所述应用程序的密钥,根据验证结果来判断是否允许所述用户使用所述应用程序,在所述配置认证文件中没有所述应用程序的密钥时,提示所述用户是否使用所述应用程序。通过该技术方案,将密钥写入配置认证文件,可以避免在每次使用应用程序前进行网络验证。As shown in FIG. 2 , the present invention also provides an application program management device 200, including: a configuration authentication file composition module 202, which establishes a configuration authentication file, and writes relevant information of each application program into the configuration authentication file. The relevant information includes a key; the application authentication module 204, when the user starts the selected application, judges whether the configuration authentication file has the application key, and the configuration authentication file has the application key. key, the application authentication module 204 verifies the key of the application program, and judges whether to allow the user to use the application program according to the verification result, and there is no key of the application program in the configuration authentication file , prompt the user whether to use the application. Through this technical solution, the key is written into the configuration authentication file, which can avoid network verification before each application program is used.
在上述技术方案中,所述配置认证文件组成模块202、所述应用认证模块204均位于所述用户的手机终端,所述相关信息还包括所述手机终端的IMEI号,所述应用程序管理装置200还包括:发送模块,位于所述手机终端,在所述配置认证文件中没有所述应用程序的密钥并且所述用户确认不试用所述应用程序时,所述发送模块发送所述IMEI号至所述应用程序对应的验证库,如果所述验证库根据所述IMEI号和所述应用程序生成所述应用程序的密钥,并将所述应用程序的密钥发送给所述手机终端,则所述配置认证文件组成模块202将所述应用程序的密钥写入所述配置认证文件中,以供所述应用认证模块204进行验证。通过该技术方案,保证用户在首次使用应用程序时,通过购买等手段获得密钥,密钥则写入配置认证文件,以用于再次使用应用程序时验证用户身份,能够既有效地防止盗版,又不影响用户对应用软件的使用。In the above technical solution, the configuration authentication file composition module 202 and the application authentication module 204 are both located in the mobile terminal of the user, the relevant information also includes the IMEI number of the mobile terminal, and the application program management device 200 also includes: a sending module, located in the mobile phone terminal, when there is no key of the application program in the configuration authentication file and the user confirms not to try the application program, the sending module sends the IMEI number To the verification library corresponding to the application, if the verification library generates the key of the application according to the IMEI number and the application, and sends the key of the application to the mobile terminal, Then the configuration authentication file composition module 202 writes the key of the application program into the configuration authentication file for the application authentication module 204 to verify. Through this technical solution, it is ensured that when the user uses the application program for the first time, he obtains the key through purchase or other means, and the key is written into the configuration authentication file to verify the user's identity when the application program is used again, which can effectively prevent piracy, It does not affect the user's use of the application software.
在上述技术方案中,所述相关信息还包括应用运行期限,在对应的应用运行期限到期后,禁止已写入所述配置认证文件中的密钥被用于供所述应用认证模块204进行验证。通过上述技术方案,在配置认证文件中写入应用运行期限,能够有效地控制密钥的有效期,以便于实现应用程序的按时收费。In the above technical solution, the relevant information further includes the application running period, and after the corresponding application running period expires, the key written in the configuration authentication file is prohibited from being used by the application authentication module 204 for verify. Through the above technical solution, writing the application running time limit in the configuration authentication file can effectively control the validity period of the key, so as to realize the on-time charging of the application program.
在上述技术方案中,所述相关信息还包括应用体验剩余次数,在所述配置认证文件中没有所述应用程序的密钥时,所述用户确认试用所述应用程序,在所述应用程序对应的应用体验剩余次数大于零时,所述应用认证模块204允许用户使用所述应用程序,同时所述配置认证文件组成模块202将所述应用程序对应的应用体验剩余次数减一。通过上述技术方案,能够有效地实现用户对应用程序的试用,并能有效地控制试用期限。In the above technical solution, the relevant information also includes the remaining times of application experience. When the configuration authentication file does not contain the key of the application, the user confirms to try the application. When the remaining number of application experience times is greater than zero, the application authentication module 204 allows the user to use the application program, and at the same time, the configuration authentication file composition module 202 decreases the remaining number of application experience times corresponding to the application program by one. Through the above technical solution, the trial of the application program by the user can be effectively realized, and the trial period can be effectively controlled.
在上述技术方案中,还包括:用户操作模块,禁止所述应用程序从所述终端中拷贝出来,所述终端中安装有Android系统;所述相关信息还包括所述应用程序的来源信息。通过上述技术方案,提供来源信息来提示用户应用程序的来源,以供用户从来源获取应用程序,而不允许用户从终端拷贝应用程序,能够有效地防止盗版产生。本领域的技术人员应当理解,本发明的技术方案适用于多种系统,包括但不限于Android。In the above technical solution, it also includes: a user operation module, which prohibits the application program from being copied from the terminal, and the Android system is installed in the terminal; the relevant information also includes the source information of the application program. Through the above technical solution, the source information is provided to remind the user of the source of the application program, so that the user can obtain the application program from the source, and the user is not allowed to copy the application program from the terminal, which can effectively prevent piracy. Those skilled in the art should understand that the technical solution of the present invention is applicable to various systems, including but not limited to Android.
本发明还提供一种终端,包括:如上述的应用程序管理装置200。The present invention also provides a terminal, including: the application program management apparatus 200 as described above.
图3是根据本发明的一个实施例的应用程序管理装置的示意图。Fig. 3 is a schematic diagram of an application program management device according to an embodiment of the present invention.
如图3所示,本实施例中的应用程序管理装置包括配置认证文件组成模块202、应用认证模块204、用户操作模块302。As shown in FIG. 3 , the application program management device in this embodiment includes a configuration authentication file composition module 202 , an application authentication module 204 , and a user operation module 302 .
下面对每个模块进行具体说明:Each module is described in detail below:
1、配置认证文件组成模块2021. Configuration authentication file composition module 202
当用户在购买和下载应用程序到手机终端时,配置认证文件组成模块202会在手机终端的配置认证文件中添加应用的相关信息,此配置文件与下载的相应应用程序关联,配置认证文件的内容从应用程序的相应密钥、手机终端IMEI号和文件下载途径中获得,配置认证文件内容包括但不限于以下内容:When the user purchases and downloads the application program to the mobile terminal, the configuration authentication file composition module 202 will add the relevant information of the application in the configuration authentication file of the mobile terminal. This configuration file is associated with the downloaded corresponding application program, and the content of the configuration authentication file Obtained from the corresponding key of the application, the IMEI number of the mobile terminal and the file download path, the content of the configuration authentication file includes but is not limited to the following:
A、配置认证文件当中会存放手机终端的IMEI号,IMEI号是用来区别每台手机终端的,每台手机终端都标识有唯一的IMEI号,配置认证文件存放IMEI号的作用是为了记录授权下载的应用程序只能在唯一的手机上应用,此IMEI号在用户下载应用付费成功后,系统还会将其自动添加到应用开发者的验证库中;A. The IMEI number of the mobile terminal will be stored in the configuration authentication file. The IMEI number is used to distinguish each mobile terminal. Each mobile terminal has a unique IMEI number. The function of storing the IMEI number in the configuration authentication file is to record the authorization The downloaded application can only be used on the only mobile phone. After the user downloads the application and pays successfully, the system will automatically add it to the application developer's verification library;
B、应用程序(文件)名存放用户下载的应用程序(文件)的名字;B, the application program (file) name stores the name of the application program (file) downloaded by the user;
C、文件下载路径存放用户下载的应用程序(文件)的来源,此来源路径可以通过终端下载应用程序时在相应的程序接口处获得,应用程序(文件)下载方式见如下表格:C. The file download path stores the source of the application program (file) downloaded by the user. This source path can be obtained at the corresponding program interface when the terminal downloads the application program. The download method of the application program (file) is shown in the following table:
D、密钥是应用程序与IMEI号一起经过加密的加密值,加密算法包括但不限于MD5、MD4等,密钥的作用有两个,一是验证下载应用程序只能在本终端使用,二是非首次启动应用程序时避免连接网络进行验证;D. The key is the encrypted value encrypted by the application program and the IMEI number. The encryption algorithm includes but not limited to MD5, MD4, etc. The key has two functions. One is to verify that the downloaded application can only be used on this terminal. Avoid connecting to the network for verification when launching the application for the first time;
E、是否付费成功表示用户在下载了应用程序(或者文件)后,是否付费,如果付费成功,则允许用户使用此应用,如果没有付费,则允许用户进行一定的体验次数;E. Whether the payment is successful indicates whether the user has paid after downloading the application program (or file). If the payment is successful, the user is allowed to use the application. If there is no payment, the user is allowed to perform a certain number of experience times;
F、应用运行期限,表示应用程序在一次验证后,需要多长周期进行第二次联网验证并获得新的密钥,这样可以使应用支持按月(周期)收费;F. The application running period indicates how long the application needs to perform the second online verification and obtain a new key after the first verification, so that the application can support monthly (period) charges;
G、应用体验剩余次数表示用户在下载了应用程序客户端(或者文件)后,如没有付费,则允许用户进行一定的体验次数,每使用一次,此记录减一,等到应用体验剩余次数为零的时候,用户不再能继续使用此应用程序,应用程序也会提示用户交费续用。G. The remaining times of application experience means that after the user downloads the application client (or file), if he does not pay, the user is allowed to perform a certain number of times of experience. Every time he uses it, this record will be reduced by one until the remaining number of application experience is zero. , the user can no longer continue to use the application, and the application will prompt the user to pay for renewal.
2、应用认证模块2042. Application authentication module 204
下面结合图4和图5来详细说明应用认证模块204的工作流程。The workflow of the application authentication module 204 will be described in detail below with reference to FIG. 4 and FIG. 5 .
A、应用认证模块204通过试用模式,方便用户在决定购买应用程序之前,可以体验全功能版本的软件服务,并可保证一个手机终端只能使用一轮试用模式,避免通过反复卸载和安装来进行盗版使用。A. The application authentication module 204 adopts the trial mode, which is convenient for the user to experience the software service of the full-featured version before deciding to purchase the application program, and can ensure that a mobile terminal can only use the trial mode for one round, avoiding repeated uninstallation and installation. Pirated use.
如图4所示,步骤402:用户下载相应收费应用程序;As shown in FIG. 4, step 402: the user downloads the corresponding charging application program;
步骤404:提示用户是否交费;Step 404: Prompt the user whether to pay the fee;
步骤406:根据配置认证文件中的是否付费成功记录,判断用户是否付费成功,在用户未付费或付费不成功时,进入步骤408,在付费成功时,进入步骤412;Step 406: According to the record of whether the payment is successful or not in the configuration authentication file, determine whether the user has paid successfully, if the user has not paid or the payment is unsuccessful, enter
步骤408,如果用户希望试用,则选择不付费安装,根据配置认证文件中的应用剩余体验次数来提供相应的免费试用次数;
步骤410,免费试用次数用完后,返回步骤404,应用程序自动提示用户进行付费;
步骤412,如果用户选择付费并付费成功,则应用程序会发送手机终端的IMEI号至应用程序开发者验证库,应用程序开发后台结合IMEI号和应用程序生成相应的密钥值,再把密钥值发送至应用程序终端的配置文件库中,用户成功启动应用程序。
B、应用认证模块204可以使得用户不需要在每次启动应用程序时,都通过终端厂商提供的验证库去验证,这样不仅节省了应用程序启动验证的时间,而且不需要与网络交互,节省了用户网络流量。收费应用程序的开发者还可以控制本地缓存验证(即配置认证文件中的密钥)的有效时间,当用户使用应用程序一定时间(达到配置认证文中中的应用运行期限)的时候,应用程序会在后台自动检测应用认证信息的合法性,这一功能,可以用于对应用程序收费进行包月或者包年设置,如果后台检测到用户使用的收费应用程序过期,会提示用户进行续费,并且使应用程序的功能关闭。B, the application authentication module 204 can make the user not need to verify through the verification library provided by the terminal manufacturer every time the application program is started, which not only saves the time for the application program startup verification, but also does not need to interact with the network, saving User network traffic. Developers of fee-paying applications can also control the valid time of local cache verification (that is, the key in the configuration authentication file). Automatically detect the legitimacy of application authentication information in the background. This function can be used to set monthly or yearly subscriptions for application fees. The program's functionality is turned off.
如图5所示,步骤502:用户在手机上启用收费应用程序时(不是第一次启动);As shown in Figure 5, step 502: when the user activates the charging application program on the mobile phone (not starting for the first time);
步骤504:使用配置认证文件中的密钥,启动本地缓存验证;Step 504: Use the key in the configuration authentication file to start local cache verification;
步骤506:判断验证是否通过,验证不通过时,进入步骤508,验证通过时,进入步骤514;Step 506: Judging whether the verification is passed, if the verification is not passed, go to step 508, and if the verification is passed, go to step 514;
步骤508:根据配置认证文件中的应用剩余体验次数,提供给用户免费体验应用程序;Step 508: According to the remaining application experience times in the configuration authentication file, provide the user with free experience of the application program;
步骤510:应用剩余体验次数减少至零,用户免费体验结束;Step 510: The number of remaining application experience is reduced to zero, and the user's free experience ends;
步骤512:提示用户交费以获取密钥;Step 512: Prompt the user to pay a fee to obtain the key;
步骤514,根据配置认证文件中的应用运行期限,检验密钥是否过期,密钥来过期时,进入步骤516,密钥过期时,进入步骤518;
步骤516,允许用户成功运行应用程序;Step 516, allowing the user to successfully run the application;
步骤518,发送配置认证文件中的IMEI号至验证库,重新进行网络验证并获取新的密钥。
其中,用户在启动收费应用时,如果手机终端厂商验证和本地缓存验证均失败(用户并没有进行交费),可以允许用户使用应用程序一定的体验次数,这样可以使用户进行体验操作,使用几次后再决定是否缴费来购买此应用程序,有利于增加应用的友好体验度。Among them, when the user starts the charging application, if the verification of the mobile phone terminal manufacturer and the local cache verification fail (the user has not paid the fee), the user can be allowed to use the application for a certain number of times, so that the user can experience the operation and use several times. Then decide whether to pay to buy this application, which will help increase the friendly experience of the application.
3、用户操作模块3023. User operation module 302
用户操作模块302主要描述用户对应用程序的权限操作,手机终端支持“只入不出”的原则,使终端中的应用程序禁止被任何形式地拷贝:用户可以从网络、电脑、或者蓝牙等各种方式把相应应用程序拷至终端手机,但是当其他用户想从此终端手机中拷贝出应用程序的时候,用户操作模块302会设置弹出的提示框告知拷贝者本应用的拷贝来源,但是本终端不支持被拷贝。这种方法防止了应用程序的非法传播,用户如果想要使用此应用程序,只能通过合理的途径下载应用程序。The user operation module 302 mainly describes the user's authority operation on the application program. The mobile phone terminal supports the principle of "only in and out", so that the application program in the terminal is prohibited from being copied in any form: the user can access it from the network, computer, or bluetooth. However, when other users want to copy the application program from the terminal mobile phone, the user operation module 302 will set a pop-up prompt box to inform the copyer of the copy source of the application, but the terminal does not Support is copied. This method prevents the illegal dissemination of the application program, and if the user wants to use the application program, he can only download the application program through reasonable means.
根据本发明的技术方案,可以实现一种应用程序管理方法、装置和一种终端,基于Android平台APP应用程序来配置认证文件,应用了防盗版鉴权手段(例如,通过网络服务器来鉴权确认当前应用程序是试用模式还是正版模式,在首次使用正版模式时需要进行网络验证等)设计了一整套防盗版技术方案,该技术方案主要优点包括:According to the technical solution of the present invention, an application program management method, device, and a terminal can be implemented, and the authentication file is configured based on the Android platform APP application program, and the anti-piracy authentication means (for example, authentication and confirmation through the network server) is applied. Whether the current application is in trial mode or genuine mode, network verification is required when using genuine mode for the first time, etc.) A complete set of anti-piracy technical solutions has been designed. The main advantages of this technical solution include:
(1)支持全功能试用,给予用户一定的体验次数,为用户提供暂时的应用程序体验,也方便用户升级正版模式;(1) Support full-featured trials, give users a certain number of experience times, provide users with temporary application experience, and facilitate users to upgrade to the genuine model;
(2)用户下载拷贝应用程序等文件时,不允许实体文件传播,可以保证“只进不出”,可以从网上或者电脑上下载应用程序,但是不能被拷贝出,这样减少了应用程序被传播的机率;(2) When the user downloads and copies files such as applications, the dissemination of physical files is not allowed, and "only in and out" can be guaranteed. Applications can be downloaded from the Internet or computers, but they cannot be copied out, which reduces the spread of applications chance of
(3)用户在使用应用程序的时候,本发明的技术方案通过配置认证文件中的密钥,可以缩短应用软件验证的时间;(3) When the user uses the application program, the technical solution of the present invention can shorten the time for application software verification by configuring the key in the authentication file;
(4)通过配置认证文件中的密钥以及应用运行期限等,支持应用程序从免费到收费的过度。(4) By configuring the key in the authentication file and the application running period, etc., it supports the transition of the application program from free to charged.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105782308A CN102034059B (en) | 2010-12-02 | 2010-12-02 | Application program management method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105782308A CN102034059B (en) | 2010-12-02 | 2010-12-02 | Application program management method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102034059A CN102034059A (en) | 2011-04-27 |
CN102034059B true CN102034059B (en) | 2013-09-04 |
Family
ID=43886939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105782308A Active CN102034059B (en) | 2010-12-02 | 2010-12-02 | Application program management method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102034059B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955767B (en) * | 2011-06-22 | 2020-05-26 | 联想(北京)有限公司 | Mode switching method and terminal equipment |
CN102289633A (en) * | 2011-09-02 | 2011-12-21 | 广东欧珀移动通信有限公司 | Application dynamic permission management method under Android platform |
CN102509051A (en) * | 2011-11-22 | 2012-06-20 | 康佳集团股份有限公司 | Method and system preventing software from copying |
CN103390122B (en) * | 2012-05-09 | 2017-05-03 | 中国移动通信集团公司 | Application program transmitting method, application program operating method, sever and terminal |
TWI461958B (en) * | 2012-06-22 | 2014-11-21 | Wistron Corp | Permission management method for applications, electronic device thereof, and computer readable medium |
CN102891843B (en) * | 2012-09-18 | 2015-04-29 | 北京深思洛克软件技术股份有限公司 | Method for authorizing application program at android client side through local service unit |
CN104219272B (en) * | 2013-06-05 | 2018-08-03 | 腾讯科技(深圳)有限公司 | Buffering updating method, terminal and system |
US10223509B2 (en) | 2013-08-02 | 2019-03-05 | Bothnic Information Co. Ltd. | Device of licensing program, program transaction device and method of licensing program |
CN104426960B (en) * | 2013-08-29 | 2019-11-26 | 腾讯科技(深圳)有限公司 | A kind of trial method and device of payment applications |
CN103955652B (en) * | 2014-04-30 | 2016-08-24 | 武汉库百网络技术有限公司 | A kind of file encrypting method based on Andriod device authentication and device |
CN104239215B (en) * | 2014-09-30 | 2018-02-02 | 北京奇虎科技有限公司 | The investigation method and apparatus of garbageware |
CN108256297B (en) * | 2016-12-29 | 2020-07-14 | 北京博瑞彤芸文化传播股份有限公司 | Trial authorization verification method of software |
WO2019023979A1 (en) * | 2017-08-02 | 2019-02-07 | 福建联迪商用设备有限公司 | Method for generating configurable pos machine secret key pair, and storage medium |
CN109117647B (en) * | 2018-07-17 | 2021-03-02 | 众安信息技术服务有限公司 | Authority control management method and management system of mobile application SDK |
JP7136619B2 (en) * | 2018-07-26 | 2022-09-13 | 東芝テック株式会社 | Image processing device, image processing system, and application startup control method |
CN110084064B (en) * | 2019-04-24 | 2020-05-19 | 德萱(天津)科技发展有限公司 | Big data analysis processing method and system based on terminal |
CN111049567B (en) * | 2019-11-21 | 2021-03-02 | 北京天海达科技有限公司 | Implementation method of Beidou user card validity period management mode |
CN111143808B (en) * | 2019-12-26 | 2022-05-03 | 绿盟科技集团股份有限公司 | System security authentication method and device, computing equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741445A (en) * | 2004-08-27 | 2006-03-01 | 英业达股份有限公司 | Cryptographic security methods for applications |
CN1955971A (en) * | 2005-10-27 | 2007-05-02 | 北京振戎融通通信技术有限公司 | Safety installation method suitable for Java application program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4435084B2 (en) * | 2005-12-27 | 2010-03-17 | フェリカネットワークス株式会社 | Communication system, reader / writer, authentication method, and computer program |
JP5205380B2 (en) * | 2006-08-22 | 2013-06-05 | インターデイジタル テクノロジー コーポレーション | Method and apparatus for providing trusted single sign-on access to applications and Internet-based services |
CN101894242B (en) * | 2010-06-22 | 2012-07-18 | 上海华御信息技术有限公司 | System and method for protecting information safety of mobile electronic equipment |
-
2010
- 2010-12-02 CN CN2010105782308A patent/CN102034059B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741445A (en) * | 2004-08-27 | 2006-03-01 | 英业达股份有限公司 | Cryptographic security methods for applications |
CN1955971A (en) * | 2005-10-27 | 2007-05-02 | 北京振戎融通通信技术有限公司 | Safety installation method suitable for Java application program |
Also Published As
Publication number | Publication date |
---|---|
CN102034059A (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102034059B (en) | Application program management method and device and terminal | |
TWI387898B (en) | Programmatically transferring applications between handsets based on license information | |
CN102685727B (en) | Method for transmitting and operating application program, system for operating application program, server and terminal | |
US7146645B1 (en) | Dedicated applications for user stations and methods for downloading dedicated applications to user stations | |
US7734549B2 (en) | Methods and apparatus for managing secured software for a wireless device | |
JP4790021B2 (en) | SRM digital copyright management method and apparatus | |
EP2628125B1 (en) | Method and apparatus for downloading drm module | |
KR101869901B1 (en) | Installation package authorization method and device | |
JP2004102335A (en) | Software license management system and method therefor, and recording medium | |
EP1939783A2 (en) | Method, device, and system for digital rights management | |
CN104683299A (en) | Control method for software registration, authentication server and terminal | |
CN103390122A (en) | Application program transmitting method, application program operating method, sever and terminal | |
JP4834686B2 (en) | Content distribution system and content distribution method | |
US8752193B2 (en) | Content binding at first access | |
KR101120688B1 (en) | Method and device for delivering drm content between two drm-enabled device | |
KR101561655B1 (en) | UCI anti-piracy method and system-based applications | |
CN102202280A (en) | Digital resource acquisition method and system for mobile communication equipment | |
KR101190946B1 (en) | Method and System for Managing Digital Content Right by Using "Over The Air" Actication | |
JP2002229660A (en) | System, method and server for managing software distribution, and software usage managing applet and medium recording the same applet | |
KR101076529B1 (en) | Method and apparatus for managing digital rights of secure removable media | |
CN106612179A (en) | A management method and system, a terminal, a secret key management system and a terminal manufacturer system | |
KR101659082B1 (en) | Method and system for controlling execution of application installed mobile terminal | |
JP2004046448A (en) | Delivery data management system and method | |
CN103686367A (en) | Intelligent set top box application software download management method and system |
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 |