WO2014154063A1 - 一种控制应用软件赠送的方法、设备及系统 - Google Patents
一种控制应用软件赠送的方法、设备及系统 Download PDFInfo
- Publication number
- WO2014154063A1 WO2014154063A1 PCT/CN2014/072166 CN2014072166W WO2014154063A1 WO 2014154063 A1 WO2014154063 A1 WO 2014154063A1 CN 2014072166 W CN2014072166 W CN 2014072166W WO 2014154063 A1 WO2014154063 A1 WO 2014154063A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- app
- client
- redemption
- server
- allowed
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000004044 response Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003892 spreading Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/047—Payment circuits using payment protocols involving electronic receipts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Buyer or seller confidence or verification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/306—User profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Definitions
- the present invention relates to application software (APP, Application) technology, and in particular, to a method, device and system for controlling application software giving. Background technique
- the implementation method of the complimentary APP is as follows: The presenter logs in to the APP giving system in the APP Store through the client, searches for the APP that is desired to be presented through the user interface, and submits a purchase request to the APP giving system; the APP giving system receives the presenter Sending a purchase request, determining the APP information to be presented, generating a corresponding APP redemption code, and transmitting the APP redemption code to the donor, the presenter transmitting the APP redemption code to the recipient; the recipient After receiving the APP redemption code presented by the donor, the client can log in to the APP giving system and input the APP redemption code in the user interface, so that the APP presented by the donor can be downloaded for free.
- embodiments of the present invention mainly provide a method, device, and system for controlling application software giving.
- An embodiment of the present invention provides a method for controlling application of a gift, the method comprising: sending, by a first client, a purchase request that carries the number of times the APP is allowed to use to a server; the server generates an APP redemption code according to the purchase request, and saves the APP exchange Corresponding relationship between the code and the allowed number of uses, and returning the APP redemption code to the first client;
- the first client sends the APP redemption code to the second client
- the server receives the redemption request for carrying the APP redemption code sent by the second client, and after determining the allowable redemption according to the number of allowed uses corresponding to the APP redemption code, sends the download information of the corresponding APP to the second client.
- the purchase request further includes: an APP name, or an APP identifier.
- the server searches for the corresponding APP according to the purchase request, and generates a random code corresponding to the APP, and stores the random code as the APP redemption code in one-to-one correspondence with the number of permitted uses carried by the purchase request on the server. On the memory.
- the method further includes: after receiving the purchase request, the server searches for a corresponding APP according to the purchase request, and performs encryption processing on the APP.
- the method further includes: when the server sends the download information of the corresponding APP to the second client, the server further carries the decryption information of the APP in the download information; the second client carries the information according to the download information.
- the decrypted information of the APP decrypts the downloaded APP.
- the embodiment of the present invention provides a client, where the client includes: a purchase request module, configured to send a purchase request carrying the number of times the APP is allowed to use to the server; The APP redemption code is sent to the client other than the above client.
- the client further includes: a setting module configured to set the allowed usage times of the APP to be presented, and send the allowed usage times of the APP to the purchase request module.
- the purchase request further includes: an APP name, or an APP identifier.
- An embodiment of the present invention provides a server, where the server includes: a purchase processing module and a redemption module;
- the purchase processing module is configured to receive a purchase request for the number of times the APP is allowed to be used by the first client, generate an APP redemption code, save a correspondence between the APP redemption code and the allowed number of uses, and return an APP redemption code to First client;
- the redemption module is configured to receive a redemption request for carrying the APP redemption code sent by the second client, and after determining that the redemption is allowed according to the number of uses corresponding to the APP redemption code, sending the download information of the corresponding APP to the second client end.
- the purchase processing module is configured to receive a purchase request for the number of times the APP is allowed to be used by the first client, find a corresponding APP according to the purchase request, and generate a random code corresponding to the APP. And storing the random code as an APP redemption code in a one-to-one correspondence with the number of permitted uses carried by the purchase request, and returning the APP redemption code to the first client by using a purchase response message.
- the purchase processing module is further configured to: after receiving a purchase request that is sent by the client and carrying the number of permitted uses of the APP, search for the corresponding APP according to the purchase request, and perform a strong password on the APP. deal with.
- the redemption module is further configured to: when the download information of the corresponding APP is sent to the second client, the decryption information of the APP is carried in the download information.
- the embodiment of the present invention further provides a system for controlling application software giving, the system comprising: a first client, a server, and a second client; wherein
- the first client is the client described above;
- the server is the server described above;
- the second client includes: a redemption request module and a download module, where
- the redemption request module is configured to receive an APP redemption code returned by the server sent by the first client, and send a redemption request carrying the APP redemption code to the server;
- the downloading module is configured to download an APP according to the download information of the APP, and return a download success response message to the server after the successful download.
- the downloading module is further configured to decrypt the downloaded APP according to the decryption information of the APP carried in the download information.
- An embodiment of the present invention provides a method, a device, and a system for controlling application of a software.
- the first client sends a purchase request that carries the number of times the APP is allowed to use to the server.
- the server generates an APP redemption code according to the purchase request, and saves the APP. Rewriting the correspondence with the allowed number of uses, and returning the APP redemption code to the first client; the first client sends the APP redemption code to the second client; the server receives the carried APP sent by the second client After the redemption code is redeemed, the downloading information of the corresponding APP is sent to the second client after determining that the redemption is allowed according to the number of allowed uses corresponding to the APP redemption code. In this way, when the APP is presented, the number of times the APP is used can be effectively limited, and the access permission of the APP is greatly controlled.
- FIG. 1 is a schematic flowchart of a method for controlling application of a software according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a client according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a server according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a system for controlling application of a gift according to an embodiment of the present invention. detailed description
- the first client sends a purchase request carrying the number of times the APP is allowed to use to the server; the server generates an APP redemption code according to the purchase request, and saves the APP redemption code and The corresponding relationship of the number of times is allowed, and the APP redemption code is returned to the first client; the first client sends the APP redemption code to the second client; and the server receives the carrying APP redemption code sent by the second client.
- the redemption request is determined according to the number of allowed uses corresponding to the APP redemption code
- the download information of the corresponding APP is sent to the second client.
- the embodiment of the present invention implements a method for controlling the application software to be presented. As shown in FIG. 1, the method includes the following steps:
- Step 101 The first client sends a purchase request carrying the number of times the APP is allowed to use to the server;
- the purchase request may further include: an APP name, or an APP identifier, and the like.
- the first client sets the number of allowed uses of the APP to be presented, specifically: the first client selects the APP to be purchased at the donor. Thereafter, the use number setting interface is displayed to the presenter, and the number of permitted uses of the purchased APP input by the donor is received on the usage count setting interface.
- the first client when the APP provider promotes the APP, the first client can set the allowed usage times of the promoted APP, and submit a publishing request carrying the allowed usage times of the APP to the server, where The request to publish is the purchase request for this step.
- Step 102 The server generates an APP redemption code according to the purchase request, saves a correspondence between the APP redemption code and the allowed usage times, and returns an APP redemption code to the first client.
- the server receives the purchase request, and finds a corresponding APP according to the purchase request, and the server generates a random code corresponding to the APP, and uses the random code as the APP redemption code and the allowed usage times carried by the purchase request.
- the server's memory Correspondingly stored on the server's memory, and the APP redemption code is returned to the first client via the purchase response message.
- the step further includes: after receiving the purchase request, the server searches for a corresponding APP according to the purchase request, and performs encryption processing on the APP;
- the performing encryption processing on the APP may be: performing encryption processing on the APP by using an encryption technique such as a conventional encryption technology, or a packet encryption technology, or a sequence encryption technology, or a DRM technology;
- the application of the DRM technology to encrypt the APP may be: encrypting and compressing the APP file by using a standard OMA (Open Mobile Alliance) DRM (Digital Right Management) vl DCF (DRM Content Format) encryption suite. , generate a DRM encrypted compressed file containing the encrypted information header, referred to as DRM-APP file.
- OMA Open Mobile Alliance
- DRM Digital Right Management
- vl DCF DRM Content Format
- the encrypted information header of the DRM-APP file includes a key identifier (ID) and a digital authorization center download address (URL);
- the count (COUNT) field in the DRM_APP file attribute is written to the number of times the APP is allowed to be used.
- Step 103 The first client sends the APP redemption code to the second client. Specifically, the first client sends the APP redemption code returned by the server to the second client through a wireless network or the Internet.
- Step 104 The server receives the redemption request for carrying the APP redemption code sent by the second client, and after determining that the redemption is allowed according to the number of allowed uses corresponding to the APP redemption code, sending the download information of the corresponding APP to the second client;
- the second client after receiving the APP redemption code returned by the server sent by the first client, the second client sends a redemption request carrying the APP redemption code to the server; the server receives the mobile APP sent by the second client.
- the APP redemption code carried in the redemption request is obtained, and the APP redemption code is compared with the APP redemption code stored in the server's memory, and the redemption request is performed.
- the second client sends If the APP redemption code in the server does not match the APP redemption code stored in the server's memory, it means that the APP redemption code sent by the second client is incorrect, then the subsequent operation is stopped, and the error information report is sent to the second client;
- the second client sends If the APP redemption code is correct, it is determined whether the redemption is allowed according to the number of permitted uses corresponding to the APP redemption code, and when the redemption is allowed, the download information of the corresponding APP is sent to the second client.
- the download information of the APP includes: APP download information such as an APP name and an APP download address;
- Determining whether the exchange is allowed to be based on the number of permitted uses corresponding to the APP redemption code determining whether the number of remaining uses of the APP corresponding to the APP redemption code is greater than 0, and if yes, allowing redemption, otherwise Allow redemption; or,
- this step further includes The second client downloads the APP according to the download information of the APP, and after successfully downloading, returns a download success response message to the server, and after receiving the download success response message, the server modifies the remaining usage times or current usage times of the APP, The server decrements the remaining usage count of the APP by 1, or increases the current usage count of the APP by one.
- the step of the present invention includes: when the server sends the download information of the corresponding APP to the second client, the decryption information of the APP is also carried in the download information; the decryption information of the APP includes at least: Encryption technology and decryption key;
- the second client decrypts the downloaded APP according to the decryption information of the APP carried in the download information
- the download information of the corresponding APP is carried in the download information of the corresponding APP and the digital authorization center download address; the second client downloads according to the key ID and the digital authorization center carried in the download information.
- the address is authenticated by the authorization center, and after the verification is passed, the key of the encrypted APP is received from the digital authorization center, and the APP is decrypted according to the key.
- the embodiment of the present invention provides a client.
- the client includes: a purchase request module 22 configured to send a purchase request carrying the number of times the APP is allowed to use to the server; Redeem the code and send the APP redemption code to other clients.
- the client further includes: a setting module 21 configured to set an allowed usage count of the APP to be presented, and send the allowed usage count of the APP to the purchase requesting module 22.
- the setting module 21 in the client may be implemented by a central processing unit (CPU) in the mobile terminal, and the purchase request module 22 in the client may be implemented by a signal transceiver in the mobile terminal.
- CPU central processing unit
- the setting module 21 is configured to: after the donor selects the APP to be purchased, display the usage setting interface to the donor, and receive the allowed usage times of the purchased APP input by the donor in the usage setting interface;
- the purchase request may further include: an APP name, or an APP identifier, and the like.
- the embodiment of the present invention further provides a server.
- the server includes: a purchase processing module 31 and a redemption module 32;
- the purchase processing module 31 is configured to receive a purchase request for the number of times the APP is allowed to be used by the first client, generate an APP redemption code, save a correspondence between the APP redemption code and the allowed number of uses, and return an APP redemption code to the first a client;
- the redemption module 32 is configured to receive a redemption request for carrying the APP redemption code sent by the second client, and after determining that the redemption is allowed according to the number of uses corresponding to the APP redemption code, sending the download information of the corresponding APP to the second client .
- the purchase processing module 31 is configured to receive a purchase request for the number of times the APP is allowed to be used by the first client, and find a corresponding APP according to the purchase request, and correspondingly
- the APP generates a random code, and stores the random code as the APP redemption code and the number of permitted uses carried by the purchase request in the memory, and returns the APP redemption code to the first customer through the purchase response message. end;
- the purchase processing module 31 is further configured to: after receiving a purchase request that is sent by the client and carrying the number of times the APP is allowed to be used, searching for the corresponding APP according to the purchase request, and performing encryption processing on the APP;
- the purchase processing module 31 is further configured to perform encryption processing on the APP by using an encryption technique such as a conventional encryption technology, or a packet encryption technology, or a sequence encryption technology, or a DRM technology;
- the purchase processing module 31 encrypts and compresses the APP file by using a standard OMA DRM vl DCF encryption package, and generates a DRM encrypted compressed file including an encrypted information header, which is simply referred to as a DRM-APP file; and the DRM-APP file
- the encryption information header includes a key ID and a digital authorization center download address; the COUNT field in the attribute of the DRM-APP file is written to the allowed number of times of the APP.
- the redemption module 32 is configured to: after receiving the redemption request for carrying the APP redemption code sent by the second client, obtain the APP redemption code carried in the redemption request, and replace the APP redemption code Consistency comparison with the APP redemption code stored in the memory, when the APP redemption code in the redemption request is inconsistent with the APP redemption code stored in the memory, the subsequent operation is stopped, and an error information report is sent to the second client.
- the APP redemption code in the redemption request is consistent with the APP redemption code stored in the server, it is determined whether the redemption is allowed according to the number of permitted uses corresponding to the APP redemption code, and when the redemption is allowed, the corresponding is sent.
- the download information of the APP is sent to the second client.
- the redemption module 32 is specifically configured to determine whether the remaining usage times of the APP corresponding to the APP redemption code is greater than 0. If yes, the redemption is allowed, otherwise the redemption is not allowed; or, the APP is exchanged. Whether the current usage count of the APP corresponding to the code is greater than the allowed usage count, if not, the redemption is allowed, and if yes, the redemption is not allowed.
- the redemption module 32 is further configured to send the download information of the corresponding APP to the second client.
- the decryption information of the APP is further carried in the download information;
- the decryption information of the APP includes at least: an encryption technology used and a decryption key;
- the redemption module 32 is further configured to reduce the remaining usage count of the APP by one after the APP is successfully downloaded, or to increase the current usage count of the APP by one.
- the purchase processing module 31 and the redemption module 32 in the server may be implemented by a CPU in the server.
- the embodiment of the present invention further provides a system for controlling the application software to be presented.
- the system includes: a first client 41, a server 42, and a second client 43; wherein, the first The client 41 is the client shown in FIG. 2, and includes: a purchase requesting module 22; the server 42 is the server shown in FIG. 3, and includes: a purchase processing module 31 and a redemption module 32.
- the second client 43 includes: Redemption request module 51 and download module 52, wherein
- the redemption requesting module 51 is configured to receive an APP redemption code returned by the server sent by the first client, and send a redemption request carrying the APP redemption code to the server;
- the download module 52 is configured to download the APP according to the download information of the APP, and return a download success response message to the server after the successful download.
- the redemption request module 51 and the download module 52 may pass through a CPU, a digital signal processor (DSP) or a programmable logic array (Field-Programmable Gate Array) in the second client 43. , FPGA) to achieve.
- DSP digital signal processor
- FPGA programmable logic array
- the first client 41 further includes a setting module 21 configured to set the number of allowed uses of the APP to be presented, and send the allowed usage count of the APP to the purchase requesting module 22.
- the downloading module 52 is further configured to decrypt the downloaded APP according to the decryption information of the APP carried in the downloading information; for example, after the server performs the encryption processing on the APP by using the DRM technology, the downloading module 52 carries the information according to the downloading information.
- the key ID and the digital authorization center download address are used for verification by the authorization center. After the verification is passed, the key of the encrypted APP is received from the digital authorization center, and the APP is decrypted according to the key.
- the presenter A first selects an application that needs to be presented through a first client such as a mobile phone client or a web client, and sets the number of times the APP is used in the usage setting interface, and the first client uses the number of times setting interface. Receiving the number of permitted uses of the purchased APP input by the donor, and transmitting a purchase request carrying the number of uses of the APP to the server;
- the server receives the purchase request from the first client, and finds the corresponding APP according to the purchase request, and the server generates a random code corresponding to the APP, and uses the random code as the APP redemption code and the allowed usage times carried by the purchase request. - correspondingly stored in the memory of the server, and returning the APP redemption code to the first client through the purchase response message; further, after receiving the purchase request, the server further searches for the corresponding one according to the purchase request APP, and encrypting the APP;
- the presenter A uses the first client to send the APP redemption code returned by the server to the second client of the recipient B via the wireless network or the Internet;
- the second client of the recipient B After receiving the APP redemption code returned by the server sent by the first client, the second client of the recipient B sends a redemption request carrying the APP redemption code to the server; the server receives the second client sending After carrying the redemption request of the APP redemption code, the APP redemption code carried in the redemption request is obtained, and the APP redemption code is compared with the APP redemption code stored in the server's memory, and If the APP redemption code in the request is inconsistent with the APP redemption code stored in the server's memory, if the APP redemption code sent by the second client is incorrect, the subsequent operation is stopped, and an error information report is sent to the second client.
- the APP redemption code in the redemption request is consistent with the APP redemption code stored in the server's memory, the APP redemption code sent by the second client is correct, and the APP corresponding to the APP redemption code is determined. Whether the remaining usage is greater than 0, if yes, the exchange is allowed, otherwise the redemption is not allowed; or
- Determining whether the current usage count of the APP corresponding to the APP redemption code is greater than the first client The number of allowed usages is set. If no, the redemption is allowed. If yes, the redemption is not allowed. At this time, the download information of the corresponding APP is sent to the second client.
- the second client downloads and decrypts the APP according to the download information of the APP, and returns a download success response message to the server after the successful download.
- the server modifies the remaining usage times or current usage times of the APP.
- the server decrements the remaining usage count of the APP by 1, or increases the current usage count of the APP by one.
- the first client such as the mobile phone client or the web client selects an APP to be promoted, and the number of times of using the APP is set in the usage setting interface, and the first client is in use.
- the number setting interface receives the allowed usage times of the APP to be promoted input by the APP provider, and sends a publishing request carrying the number of uses of the APP to the server;
- the server receives the publishing request from the first client, and finds the corresponding APP according to the publishing request.
- the server generates a random code corresponding to the found APP, and uses the random code as the APP redemption code and the permitted use carried by the publishing request.
- the number of times is stored in the memory of the server in a one-to-one correspondence, and the APP redemption code is returned to the first client by using a publish response message.
- the server further searches for the release request according to the release request. Corresponding APP, and encrypting the APP;
- the first client sends the APP redemption code returned by the server to other clients via the wireless network or the Internet;
- the other client After receiving the APP redemption code returned by the server sent by the first client, the other client sends a redemption request carrying the APP redemption code to the server; the server receives the redemption code of the APP carrying the other client. After the request is exchanged, the APP redemption code carried in the redemption request is obtained, and the APP redemption code is consistent with the APP redemption code stored in the server's memory. In comparison, when the APP redemption code in the redemption request is inconsistent with the APP redemption code stored in the server's memory, it means that the APP redemption code sent by other clients is incorrect, then the subsequent operation is stopped, and an error is sent to other clients.
- the APP redemption code in the redemption request is consistent with the APP redemption code stored in the server's memory, the APP redemption code sent by the other client is correct, and the APP corresponding to the APP redemption code is determined. Whether the remaining usage is greater than 0, if yes, the exchange is allowed, otherwise the redemption is not allowed; or
- the other client downloads and decrypts the APP according to the download information of the APP.
- the server After the successful download, the server returns a download success response message to the server.
- the server modifies the remaining usage times or current usage times of the APP.
- the server decrements the remaining usage count of the APP by 1, or increases the current usage count of the APP by one.
- the solution of the embodiment of the present invention not only limits the number of times the APP is used, but also encrypts and protects the APP, thereby effectively preventing malicious stealing and spreading by illegal users.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Development Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明实施例公开了一种控制应用软件赠送的方法,第一客户端发送携带应用软件(APP)允许使用次数的购买请求至服务器;服务器根据所述购买请求生成APP兑换码,保存APP兑换码与允许使用次数的对应关系,并返回APP兑换码给第一客户端;第一客户端将所述APP兑换码发送给第二客户端;服务器接收第二客户端发送的携带APP兑换码的兑换请求,根据APP兑换码对应的允许使用次数确定允许兑换后,发送对应APP的下载信息给第二客户端;本发明实施例同时还公开了一种控制应用软件赠送的设备及系统。
Description
一种控制应用软件赠送的方法、 设备及系统 技术领域
本发明涉及应用软件(APP, Application )技术, 尤其涉及一种控制应 用软件赠送的方法、 设备及系统。 背景技术
自苹果公司推出应用商店 (APP Store ) 以来, 各类 APP层出不穷, 数 量迅速增加, APP 已经逐渐走向每个拥有手机或者各类移动终端的用户, 下载和交流 APP已成为手机用户、 平板电脑用户等移动终端用户生活和兴 趣的一部分。 在社交时代, 将 APP作为礼物赠送给他人也成为一种时尚, 同时, APP提供商也可以将 APP赠送给一些用户进行试用, 以进行 APP的 推广使用。
目前, 赠送 APP的实现方式为: 赠送者通过客户端登陆 APP Store中 的 APP赠送系统, 通过用户界面查找选择希望赠送的 APP, 并向 APP赠送 系统提交购买请求; 所述 APP赠送系统接收赠送者发送的购买请求, 确定 需要赠送的 APP信息, 生成相应的 APP兌换码, 并发送所述 APP兌换码 给赠送者, 赠送者将所述 APP兌换码发送给受赠者; 受赠者接收赠送者赠 送的 APP兌换码后, 通过客户端登陆所述 APP赠送系统, 在用户界面输入 所述 APP兌换码, 就可以免费下载获得赠送者赠送的 APP。 这样, 虽然可 以使 APP赠送变得简单可行,但是不足的是这种 APP赠送实现方案的保密 性不好, 使得赠送的 APP很容易被非法用户非法下载、 传播、 使用, 不能 很好的保护所述 APP的版权, 特别地, 对所述 APP的使用次数不能进行有 效地控制, 进而无法很好的控制 APP赠送使用权限。
发明内容 为解决现有存在的技术问题, 本发明实施例主要提供一种控制应用软 件赠送的方法、 设备及系统。
本发明实施例的技术方案是这样实现的:
本发明实施例提供一种控制应用软件赠送的方法, 该方法包括: 第一客户端发送携带 APP允许使用次数的购买请求至服务器; 服务器根据所述购买请求生成 APP兌换码,保存 APP兌换码与允许使 用次数的对应关系, 并返回 APP兌换码给第一客户端;
第一客户端将所述 APP兌换码发送给第二客户端;
服务器接收第二客户端发送的携带 APP兌换码的兌换请求, 根据 APP 兌换码对应的允许使用次数确定允许兌换后, 发送对应 APP的下载信息给 第二客户端。
上述方案中, 所述购买请求还包括: APP名称、 或 APP标识。
上述方案中, 所述生成 APP兌换码, 保存 APP兌换码与允许使用次数 的对应关系, 为:
服务器根据所述购买请求查找到对应的 APP, 并对应所述 APP产生一 个随机码, 将所述随机码作为 APP兌换码与购买请求所携带的允许使用次 数一一对应地存储在服务器的存储器上。
上述方案中, 该方法还包括: 所述服务器接收所述购买请求后, 根据 所述购买请求查找到对应的 APP, 对所述 APP进行加密处理。
上述方案中, 该方法还包括: 服务器在发送对应 APP的下载信息给第 二客户端时, 还在所述下载信息中携带所述 APP的解密信息; 所述第二客 户端根据下载信息中携带的所述 APP的解密信息对下载的 APP进行解密。
本发明实施例提供一种客户端, 该客户端包括: 购买请求模块, 配置 为发送携带 APP 允许使用次数的购买请求至服务器; 接收服务器返回的
APP兌换码, 并将所述 APP兌换码发送给除上述客户端外的其他客户端。 上述方案中,该客户端还包括:设置模块, 配置为设置所要赠送的 APP 的允许使用次数, 并将所述 APP的允许使用次数发送给购买请求模块。
上述方案中, 所述购买请求还包括: APP名称、 或 APP标识。
本发明实施例提供一种服务器, 该服务器包括: 购买处理模块和兌换 模块; 其中,
所述购买处理模块, 配置为接收第一客户端发送的携带 APP允许使用 次数的购买请求, 生成 APP兌换码, 保存 APP兌换码与允许使用次数的对 应关系, 并返回 APP兌换码给第一客户端;
所述兌换模块, 配置为接收第二客户端发送的携带 APP兌换码的兌换 请求, 根据 APP兌换码对应的使用次数确定允许兌换后, 发送对应 APP的 下载信息给第二客户端。
上述方案中, 所述购买处理模块, 具体配置为接收第一客户端发送的 携带 APP允许使用次数的购买请求,根据所述购买请求查找到对应的 APP, 并对应所述 APP产生一个随机码,将所述随机码作为 APP兌换码与购买请 求所携带的允许使用次数一一对应地存储在存储器上, 并将 APP兌换码通 过购买响应消息返回给第一客户端。
上述方案中, 所述购买处理模块, 还配置为在接收客户端发送的携带 有 APP 的允许使用次数的购买请求后, 根据所述购买请求查找到对应的 APP, 对所述 APP进行力口密处理。
上述方案中, 所述兌换模块, 还配置为在发送对应 APP的下载信息给 第二客户端时, 在所述下载信息中携带所述 APP的解密信息。
本发明实施例还提供一种控制应用软件赠送的系统, 该系统包括: 第 一客户端、 服务器、 第二客户端; 其中,
所述第一客户端为以上所述的客户端;
所述服务器为以上所述的服务器;
所述第二客户端包括: 兌换请求模块和下载模块, 其中,
所述兌换请求模块, 配置为接收第一客户端发送的服务器返回的 APP 兌换码, 发送携带所述 APP兌换码的兌换请求至服务器;
所述下载模块,配置为根据 APP的下载信息下载 APP,在成功下载后, 向服务器返回下载成功响应消息。
上述方案中, 所述下载模块, 还配置为根据下载信息中携带的 APP的 解密信息对下载的 APP进行解密。
本发明实施例提供了一种控制应用软件赠送的方法、 设备及系统, 第 一客户端发送携带 APP允许使用次数的购买请求至服务器; 服务器根据所 述购买请求生成 APP兌换码,保存 APP兌换码与允许使用次数的对应关系, 并返回 APP兌换码给第一客户端;第一客户端将所述 APP兌换码发送给第 二客户端; 服务器接收第二客户端发送的携带 APP兌换码的兌换请求, 根 据 APP兌换码对应的允许使用次数确定允许兌换后,发送对应 APP的下载 信息给第二客户端。 如此, 在赠送 APP时, 能够对所述 APP的使用次数进 行有效地限制, 极大的控制了 APP的赠送使用权限。 附图说明
图 1为本发明实施例提供的控制应用软件赠送的方法的流程示意图; 图 2为本发明实施例提供的客户端的结构示意图;
图 3为本发明实施例提供的服务器的结构示意图;
图 4为本发明实施例提供的控制应用软件赠送的系统的结构示意图。 具体实施方式
本发明实施例中, 第一客户端发送携带 APP允许使用次数的购买请求 至服务器; 服务器根据所述购买请求生成 APP兌换码, 保存 APP兌换码与
允许使用次数的对应关系, 并返回 APP兌换码给第一客户端; 第一客户端 将所述 APP兌换码发送给第二客户端; 服务器接收第二客户端发送的携带 APP兌换码的兌换请求, 根据 APP兌换码对应的允许使用次数确定允许兌 换后, 发送对应 APP的下载信息给第二客户端。
下面通过附图及具体实施例对本发明^:进一步的详细说明。
本发明实施例实现一种控制应用软件赠送的方法, 如图 1 所示, 该方 法包括以下几个步骤:
步骤 101 : 第一客户端发送携带 APP允许使用次数的购买请求至服务 器;
这里, 所述购买请求还可以包括: APP名称、 或 APP标识等信息。 在所述第一客户端发送携带 APP允许使用次数的购买请求至服务器之 前, 第一客户端设置所要赠送的 APP的允许使用次数, 具体为: 第一客户 端在赠送者选定所要购买的 APP之后, 向赠送者显示使用次数设置界面, 在使用次数设置界面接收赠送者输入的所购买的 APP的允许使用次数。
本步骤的一个应用场景中, 当 APP提供商推广 APP时, 可通过第一客 户端设置所推广的 APP的允许使用次数,并提交携带所述 APP的允许使用 次数的发布请求至服务器, 所述发布请求即为本步骤的购买请求。
步骤 102: 服务器根据所述购买请求生成 APP兌换码, 保存 APP兌换 码与允许使用次数的对应关系, 并返回 APP兌换码给第一客户端;
具体的, 服务器接收所述购买请求, 根据所述购买请求查找到对应的 APP, 服务器对应所述 APP产生一个随机码, 将所述随机码作为 APP兌换 码与购买请求所携带的允许使用次数——对应地存储在服务器的存储器 上, 并将 APP兌换码通过购买响应消息返回给第一客户端。
本步骤还包括: 所述服务器接收所述购买请求后, 根据所述购买请求 查找到对应的 APP, 对所述 APP进行加密处理;
其中, 所述对所述 APP进行加密处理可以为: 对所述 APP采用常规加 密技术、 或分组加密技术、 或序列加密技术、 或 DRM技术等加密技术进行 加密处理;
比如: 采用 DRM技术对所述 APP进行加密处理, 具体可以为: 采用 标准的 OMA ( Open Mobile Alliance ) DRM ( Digital Right Management ) vl DCF ( DRM Content Format )加密套件对所述 APP文件进行加密和压缩, 生成包含加密信息头的 DRM加密压缩文件, 简称为 DRM— APP文件。
其中, 所述 DRM— APP文件的加密信息头中包含有密钥标识(ID )和 数字授权中心下载地址(URL );
所述 DRM— APP文件属性中的计数 ( COUNT )字段写入 APP的允许使 用次数。
步骤 103: 第一客户端将所述 APP兌换码发送给第二客户端; 具体的, 第一客户端将服务器返回的 APP兌换码通过无线网络或互联 网发送给第二客户端。
步骤 104: 服务器接收第二客户端发送的携带 APP兌换码的兌换请求, 根据 APP兌换码对应的允许使用次数确定允许兌换后,发送对应 APP的下 载信息给第二客户端;
具体的, 第二客户端接收到第一客户端发送的服务器返回的 APP兌换 码后, 发送携带所述 APP兌换码的兌换请求至服务器; 服务器接收到第二 客户端发送的携带 APP兌换码的兌换请求后, 获取所述兌换请求中携带的 APP兌换码,将所述 APP兌换码与服务器的存储器中保存的 APP兌换码进 行一致性比较, 当兌换请求中的 APP 兌换码与服务器的存储器中保存的 APP兌换码均不一致时, 说明第二客户端发送的 APP兌换码错误, 则停止 后续操作, 向第二客户端发送错误信息报告; 当兌换请求中的 APP兌换码 与服务器的存储器中保存的 APP兌换码存在一致时, 说明第二客户端发送
的 APP兌换码正确,则根据所述 APP兌换码对应的允许使用次数判断是否 允许兌换, 在允许兌换时, 发送对应 APP的下载信息给第二客户端。
其中, 所述 APP的下载信息包括: APP名称和 APP下载地址等 APP 下载信息;
所述根据所述 APP兌换码对应的允许使用次数判断是否允许兌换为: 判断所述 APP兌换码对应的 APP的剩余使用次数是否大于 0, 若为是, 则 允许兌换, 否则不允许兌换; 或者,
判断所述 APP兌换码对应的 APP的当前使用次数是否大于第一客户端 设置的允许使用次数, 若为否, 则允许兌换, 若为是, 则不允许兌换; 这 本步骤还包括: 第二客户端根据 APP的下载信息下载 APP, 在成功下 载后, 向服务器返回下载成功响应消息, 服务器接收到下载成功响应消息 后, 修改所述 APP的剩余使用次数或当前使用次数, 具体的, 服务器将所 述 APP的剩余使用次数减 1, 或者将所述 APP的当前使用次数加 1。
本步骤还包括: 服务器在发送对应 APP的下载信息给第二客户端时, 还在所述下载信息中携带所述 APP的解密信息; 所述 APP的解密信息至少 包括: 对 APP加密处理时使用的加密技术和解密密钥;
相应的, 所述第二客户端根据下载信息中携带的所述 APP的解密信息 对下载的 APP进行解密;
例如:服务器采用 DRM技术对 APP进行加密处理后,在发送对应 APP 的下载信息中携带密钥 ID和数字授权中心下载地址; 第二客户端根据下载 信息中携带的密钥 ID和数字授权中心下载地址进行授权中心的验证, 在验 证通过后从数字授权中心接收加密 APP的密钥,根据所述密钥进行 APP的 解密。
本实施例通过对所述 APP进行加密保护, 有效地防止了非法用户的恶
意窃取及传播, 而且对 APP的使用次数进行了限制, 极大的控制了 APP的 赠送使用权限。
为了实现上述方法, 本发明实施例提供一种客户端, 如图 2所示, 该 客户端包括: 购买请求模块 22, 配置为发送携带 APP允许使用次数的购买 请求至服务器; 接收服务器返回的 APP兌换码, 并将所述 APP兌换码发送 给其他客户端。
所述客户端还包括: 设置模块 21, 配置为设置所要赠送的 APP的允许 使用次数, 并将所述 APP的允许使用次数发送给购买请求模块 22。
实际应用中, 所述客户端中的设置模块 21可由移动终端中的中央处理 器(CPU )来实现, 所述客户端中的购买请求模块 22可由移动终端中的信 号收发器来实现。
所述设置模块 21, 具体配置为在赠送者选定所要购买的 APP之后, 向 赠送者显示使用次数设置界面, 在使用次数设置界面接收赠送者输入的所 购买的 APP的允许使用次数;
所述购买请求还可以包括: APP名称、 或 APP标识等信息。
本发明实施例还提供一种服务器, 如图 3 所示, 该服务器包括: 购买 处理模块 31和兌换模块 32; 其中,
购买处理模块 31, 配置为接收第一客户端发送的携带 APP允许使用次 数的购买请求, 生成 APP兌换码, 保存 APP兌换码与允许使用次数的对应 关系, 并返回 APP兌换码给第一客户端;
兌换模块 32, 配置为接收第二客户端发送的携带 APP兌换码的兌换请 求, 根据 APP兌换码对应的使用次数确定允许兌换后, 发送对应 APP的下 载信息给第二客户端。
所述购买处理模块 31, 具体配置为接收第一客户端发送的携带 APP允 许使用次数的购买请求, 根据所述购买请求查找到对应的 APP, 并对应所
述 APP产生一个随机码,将所述随机码作为 APP兌换码与购买请求所携带 的允许使用次数——对应地存储在存储器上, 并将 APP兌换码通过购买响 应消息返回给第一客户端;
所述购买处理模块 31,还配置为在接收客户端发送的携带 APP允许使 用次数的购买请求后, 根据所述购买请求查找到对应的 APP, 对所述 APP 进行加密处理;
所述购买处理模块 31, 还配置为对 APP采用常规加密技术、 或分组加 密技术、 或序列加密技术、 或 DRM技术等加密技术进行加密处理;
例如: 所述购买处理模块 31采用标准的 OMA DRM vl DCF加密套件 对 APP文件进行加密和压缩,生成包含加密信息头的 DRM加密压缩文件, 简称为 DRM— APP文件; 所述 DRM— APP文件的加密信息头中包含有密钥 ID和数字授权中心下载地址; 所述 DRM— APP文件的属性中 COUNT字段 写入 APP的允许使用次数。
所述兌换模块 32, 具体配置为接收到第二客户端发送的携带 APP兌换 码的兌换请求后, 获取所述兌换请求中携带的 APP兌换码, 将所述 APP兌 换码与存储器中保存的 APP兌换码进行一致性比较, 当兌换请求中的 APP 兌换码与存储器中保存的 APP兌换码均不一致时, 停止后续操作, 向第二 客户端发送错误信息报告; 当兌换请求中的 APP兌换码与服务器中保存的 APP兌换码存在一致时, 根据所述 APP兌换码对应的允许使用次数判断是 否允许兌换, 在允许兌换时, 发送对应 APP的下载信息给第二客户端。
进一步的, 所述兌换模块 32, 具体配置为判断 APP兌换码对应的 APP 的剩余使用次数是否大于 0, 若为是, 则允许兌换, 否则不允许兌换; 或者, 判断 APP兌换码对应的 APP的当前使用次数是否大于允许使用次数,若为 否, 则允许兌换, 若为是, 则不允许兌换。
所述兌换模块 32,还配置为在发送对应 APP的下载信息给第二客户端
时, 还在所述下载信息中携带所述 APP的解密信息; 所述 APP的解密信息 至少包括: 使用的加密技术和解密密钥;
所述兌换模块 32, 还配置为在 APP被成功下载后, 将所述 APP的剩 余使用次数减 1, 或者将所述 APP的当前使用次数加 1。
实际应用中, 所述服务器中的购买处理模块 31及兌换模块 32可由服 务器中的 CPU来实现。
进一步地, 本发明实施例还提供了一种控制应用软件赠送的系统, 如 图 4所示, 该系统包括: 第一客户端 41、服务器 42、 第二客户端 43 ; 其中, 所述第一客户端 41为图 2所示客户端, 包括: 购买请求模块 22; 所述服务 器 42为图 3所示服务器, 包括: 购买处理模块 31和兌换模块 32; 所述第 二客户端 43包括: 兌换请求模块 51和下载模块 52, 其中,
兌换请求模块 51, 配置为接收第一客户端发送的服务器返回的 APP兌 换码, 发送携带所述 APP兌换码的兌换请求至服务器;
下载模块 52, 配置为根据 APP的下载信息下载 APP, 在成功下载后, 向服务器返回下载成功响应消息。
实际应用中, 所述兌换请求模块 51和下载模块 52可通过所述第二客 户端 43中的 CPU、 数字信号处理器 ( Digital Signal Processor, DSP )或可 编程逻辑阵列 (Field - Programmable Gate Array, FPGA ) 来实现。
所述第一客户端 41还包括:设置模块 21, 配置为设置所要赠送的 APP 的允许使用次数, 并将所述 APP的允许使用次数发送给购买请求模块 22。
所述下载模块 52,还配置为根据下载信息中携带的 APP的解密信息对 下载的 APP进行解密; 例如: 在服务器采用 DRM技术对 APP进行加密处 理后, 所述下载模块 52根据下载信息中携带的密钥 ID和数字授权中心下 载地址进行授权中心的验证, 在验证通过后从数字授权中心接收加密 APP 的密钥, 根据所述密钥进行 APP的解密。
下面结合具体实施案例, 进一步阐述本发明的技术方案。
实施例一
本实施例中, 赠送者 A首先通过手机客户端或者网页客户端等第一客 户端选择需要赠送的 APP,在使用次数设置界面设置所述 APP的使用次数, 第一客户端在使用次数设置界面接收赠送者输入的所购买的 APP的允许使 用次数, 发送携带所述 APP的使用次数的购买请求至服务器;
服务器接收来自第一客户端的购买请求, 根据所述购买请求查找到对 应的 APP, 服务器对应所述 APP产生一个随机码, 将所述随机码作为 APP 兌换码与购买请求所携带的允许使用次数——对应地存储在服务器的存储 器上, 并将 APP兌换码通过购买响应消息返回给第一客户端; 此外, 所述 服务器接收所述购买请求后, 还根据所述购买请求查找到对应的 APP, 并 对所述 APP进行加密处理;
赠送者 A使用第一客户端将服务器返回的 APP兌换码通过无线网络、 或互联网发送给受赠者 B的第二客户端;
受赠者 B的第二客户端接收到第一客户端发送的服务器返回的 APP兌 换码后, 发送携带所述 APP兌换码的兌换请求至服务器; 服务器接收到第 二客户端发送的携带 APP兌换码的兌换请求后, 获取所述兌换请求中携带 的 APP兌换码, 将所述 APP兌换码与服务器的存储器中保存的 APP兌换 码进行一致性比较, 当兌换请求中的 APP兌换码与服务器的存储器中保存 的 APP兌换码均不一致时, 说明第二客户端发送的 APP兌换码错误, 则停 止后续操作, 向第二客户端发送错误信息报告; 当兌换请求中的 APP兌换 码与服务器的存储器中保存的 APP兌换码存在一致时, 说明第二客户端发 送的 APP兌换码正确, 判断所述 APP兌换码对应的 APP的剩余使用次数 是否大于 0, 若为是, 则允许兌换, 否则不允许兌换; 或者,
判断所述 APP兌换码对应的 APP的当前使用次数是否大于第一客户端
设置的允许使用次数, 若为否, 则允许兌换, 若为是, 则不允许兌换; 这 时, 发送对应 APP的下载信息给第二客户端。
第二客户端根据 APP的下载信息下载、 解密 APP, 在成功下载后, 向 服务器返回下载成功响应消息, 服务器接收到下载成功响应消息后, 修改 所述 APP的剩余使用次数或当前使用次数, 具体的, 服务器将所述 APP的 剩余使用次数减 1, 或者将所述 APP的当前使用次数加 1。
实施例二
本实施例中, APP提供商推广 APP时, 通过手机客户端或者网页客户 端等第一客户端选择需要推广的 APP, 在使用次数设置界面设置所述 APP 的使用次数, 第一客户端在使用次数设置界面接收 APP提供商输入的所要 推广的 APP的允许使用次数,发送携带所述 APP的使用次数的发布请求至 服务器;
服务器接收来自第一客户端的发布请求, 根据所述发布请求查找到对 应的 APP, 服务器对应查找到的 APP产生一个随机码, 将所述随机码作为 APP 兌换码与发布请求所携带的允许使用次数一一对应地存储在服务器的 存储器上, 并将 APP兌换码通过发布响应消息返回给第一客户端; 此外, 所述服务器接收所述发布请求后,还根据所述发布请求查找到对应的 APP, 并对所述 APP进行加密处理;
第一客户端将服务器返回的 APP兌换码通过无线网络或互联网发送给 其他客户端;
其他客户端接收到第一客户端发送的服务器返回的 APP兌换码后, 发 送携带所述 APP兌换码的兌换请求至服务器; 服务器接收到其他客户端发 送的携带 APP兌换码的兌换请求后,获取所述兌换请求中携带的 APP兌换 码,将所述 APP兌换码与服务器的存储器中保存的 APP兌换码进行一致性
比较, 当兌换请求中的 APP兌换码与服务器的存储器中保存的 APP兌换码 均不一致时, 说明其他客户端发送的 APP兌换码错误, 则停止后续操作, 向其他客户端发送错误信息报告; 当兌换请求中的 APP兌换码与服务器的 存储器中保存的 APP兌换码存在一致时,说明其他客户端发送的 APP兌换 码正确, 判断所述 APP兌换码对应的 APP的剩余使用次数是否大于 0, 若 为是, 则允许兌换, 否则不允许兌换; 或者,
判断所述 APP兌换码对应的 APP的当前使用次数是否大于第一客户端 设置的允许使用次数, 若为否, 则允许兌换, 若为是, 则不允许兌换; 这 时, 发送对应 APP的下载信息给其他客户端。
其他客户端根据 APP的下载信息下载、 解密 APP, 在成功下载后, 向 服务器返回下载成功响应消息, 服务器接收到下载成功响应消息后, 修改 所述 APP的剩余使用次数或当前使用次数, 具体的, 服务器将所述 APP的 剩余使用次数减 1, 或者将所述 APP的当前使用次数加 1。
综上所述,本发明实施例的方案不但能够对 APP的使用次数进行限制, 而且能够对所述 APP进行加密保护, 有效地防止了非法用户的恶意窃取及 传播。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和
/或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
Claims
1、 一种控制应用软件赠送的方法, 该方法包括:
第一客户端发送携带应用软件 APP 允许使用次数的购买请求至服务 器;
服务器根据所述购买请求生成 APP兌换码,保存 APP兌换码与允许使 用次数的对应关系, 并返回 APP兌换码给所述第一客户端;
所述第一客户端将所述 APP兌换码发送给第二客户端;
所述服务器接收第所述二客户端发送的携带 APP兌换码的兌换请求, 根据 APP兌换码对应的允许使用次数确定允许兌换后,发送对应 APP的下 载信息给所述第二客户端。
2、 根据权利要求 1所述的方法, 其中, 所述购买请求还包括: APP名 称、 或 APP标识。
3、 根据权利要求 1 所述的方法, 其中, 所述生成 APP兌换码, 保存 APP兌换码与允许使用次数的对应关系, 为:
服务器根据所述购买请求查找到对应的 APP, 并对应所述 APP产生一 个随机码, 将所述随机码作为 APP兌换码与购买请求所携带的允许使用次 数一一对应地存储在服务器的存储器上。
4、 根据权利要求 1所述的方法, 其中, 该方法还包括: 所述服务器接 收所述购买请求后, 根据所述购买请求查找到对应的 APP, 对所述 APP进 行加密处理。
5、 根据权利要求 4所述的方法, 其中, 该方法还包括: 服务器在发送 对应 APP的下载信息给第二客户端时, 还在所述下载信息中携带所述 APP 的解密信息; 所述第二客户端根据下载信息中携带的所述 APP的解密信息 对下载的 APP进行解密。
6、 一种客户端, 该客户端包括: 购买请求模块, 配置为发送携带 APP
允许使用次数的购买请求至服务器; 接收服务器返回的 APP兌换码, 并将 所述 APP兌换码发送给除上述客户端外的其他客户端。
7、根据权利要求 6所述的客户端, 其中, 该客户端还包括: 设置模块, 配置为设置所要赠送的 APP的允许使用次数,并将所述 APP的允许使用次 数发送给购买请求模块。
8、 根据权利要求 6所述的客户端, 其中, 所述购买请求还包括: APP 名称、 或 APP标识。
9、 一种服务器, 该服务器包括: 购买处理模块和兌换模块; 其中, 所述购买处理模块, 配置为接收第一客户端发送的携带 APP允许使用 次数的购买请求, 生成 APP兌换码, 保存 APP兌换码与允许使用次数的对 应关系, 并返回 APP兌换码给第一客户端;
所述兌换模块, 配置为接收第二客户端发送的携带 APP兌换码的兌换 请求, 根据 APP兌换码对应的使用次数确定允许兌换后, 发送对应 APP的 下载信息给第二客户端。
10、 根据权利要求 9所述的服务器, 其中, 所述购买处理模块, 配置 为接收第一客户端发送的携带 APP允许使用次数的购买请求, 根据所述购 买请求查找到对应的 APP, 并对应所述 APP产生一个随机码, 将所述随机 码作为 APP兌换码与购买请求所携带的允许使用次数——对应地存储在存 储器上, 并将 APP兌换码通过购买响应消息返回给第一客户端。
11、 根据权利要求 9 所述的服务器, 其中, 所述购买处理模块, 还配 置为在接收客户端发送的携带有 APP的允许使用次数的购买请求后, 根据 所述购买请求查找到对应的 APP, 对所述 APP进行加密处理。
12、 根据权利要求 11所述的服务器, 其中, 所述兌换模块, 还配置为 在发送对应 APP的下载信息给第二客户端时, 在所述下载信息中携带所述 APP的解密信息。
13、 一种控制应用软件赠送的系统, 该系统包括: 第一客户端、 服务 器、 第二客户端; 其中,
所述第一客户端为权利要求 6至 8中任一项所述的客户端;
所述服务器为权利要求 9至 12中任一项所述的服务器;
所述第二客户端包括: 兌换请求模块和下载模块, 其中,
所述兌换请求模块, 配置为接收第一客户端发送的服务器返回的 APP 兌换码, 发送携带所述 APP兌换码的兌换请求至服务器;
所述下载模块,配置为根据 APP的下载信息下载 APP,在成功下载后, 向服务器返回下载成功响应消息。
14、 根据权利要求 13所述的系统, 其中, 所述下载模块, 还配置为根 据下载信息中携带的 APP的解密信息对下载的 APP进行解密。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/913,917 US20160210596A1 (en) | 2013-08-28 | 2014-02-17 | Method, device and system for controlling presentation of application |
EP14774282.9A EP3041188B1 (en) | 2013-08-28 | 2014-02-17 | Method, device and system for controlling presentation of application |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310381726.XA CN104426865A (zh) | 2013-08-28 | 2013-08-28 | 一种控制应用软件赠送的方法、设备及系统 |
CN201310381726.X | 2013-08-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014154063A1 true WO2014154063A1 (zh) | 2014-10-02 |
Family
ID=51622446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/072166 WO2014154063A1 (zh) | 2013-08-28 | 2014-02-17 | 一种控制应用软件赠送的方法、设备及系统 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20160210596A1 (zh) |
EP (1) | EP3041188B1 (zh) |
CN (1) | CN104426865A (zh) |
WO (1) | WO2014154063A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106462896A (zh) * | 2016-04-07 | 2017-02-22 | 朱亮红 | 商品共享/赠予方法和系统、服务器、操作方法、系统 |
US20190325456A1 (en) * | 2018-04-19 | 2019-10-24 | Apple Inc. | Product experience service |
US10965551B2 (en) * | 2018-11-21 | 2021-03-30 | Microsoft Technology Licensing, Llc | Secure count in cloud computing networks |
EP3671607A1 (de) * | 2018-12-18 | 2020-06-24 | Florian Netzer | Verfahren und vorrichtung zum erzeugen und versenden einer empfangsberechtigung |
US11409511B2 (en) * | 2018-12-31 | 2022-08-09 | Beijing Didi Infinity Technology And Development Co., Ltd. | Method and system for downloading information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1421788A (zh) * | 2001-11-30 | 2003-06-04 | 英业达股份有限公司 | 用以扩充数据库的系统与方法 |
CN101989992A (zh) * | 2009-07-31 | 2011-03-23 | 中国移动通信集团公司 | 一种wap业务的下载方法、系统及相关装置 |
CN102999711A (zh) * | 2011-09-19 | 2013-03-27 | 中国电信股份有限公司 | 应用版权保护方法、网络平台及系统 |
CN103248495A (zh) * | 2012-02-10 | 2013-08-14 | 中国移动通信集团公司 | 一种应用内付费的方法、服务器、客户端和系统 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5903880A (en) * | 1996-07-19 | 1999-05-11 | Biffar; Peter C. | Self-contained payment system with circulating digital vouchers |
US7747522B1 (en) * | 1996-12-09 | 2010-06-29 | Walker Digital, Llc | Method and apparatus for issuing and managing gift certificates |
US7209889B1 (en) * | 1998-12-24 | 2007-04-24 | Henry Whitfield | Secure system for the issuance, acquisition, and redemption of certificates in a transaction network |
CN101075278A (zh) * | 2006-05-18 | 2007-11-21 | 华为技术有限公司 | 数字内容使用权限的赠送方法及权限发布装置 |
CN102446106A (zh) * | 2010-09-30 | 2012-05-09 | 联想(北京)有限公司 | 应用程序的安装管理方法、服务器和终端 |
WO2012166940A2 (en) * | 2011-05-31 | 2012-12-06 | Front Flip Llc | System and method of gifting, gift sharing, and gift redemption |
US8744971B2 (en) * | 2011-08-29 | 2014-06-03 | Sony Computer Entertainment America Llc | Dynamic redemption codes |
-
2013
- 2013-08-28 CN CN201310381726.XA patent/CN104426865A/zh active Pending
-
2014
- 2014-02-17 EP EP14774282.9A patent/EP3041188B1/en active Active
- 2014-02-17 US US14/913,917 patent/US20160210596A1/en not_active Abandoned
- 2014-02-17 WO PCT/CN2014/072166 patent/WO2014154063A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1421788A (zh) * | 2001-11-30 | 2003-06-04 | 英业达股份有限公司 | 用以扩充数据库的系统与方法 |
CN101989992A (zh) * | 2009-07-31 | 2011-03-23 | 中国移动通信集团公司 | 一种wap业务的下载方法、系统及相关装置 |
CN102999711A (zh) * | 2011-09-19 | 2013-03-27 | 中国电信股份有限公司 | 应用版权保护方法、网络平台及系统 |
CN103248495A (zh) * | 2012-02-10 | 2013-08-14 | 中国移动通信集团公司 | 一种应用内付费的方法、服务器、客户端和系统 |
Also Published As
Publication number | Publication date |
---|---|
CN104426865A (zh) | 2015-03-18 |
EP3041188A4 (en) | 2016-07-27 |
EP3041188A1 (en) | 2016-07-06 |
EP3041188B1 (en) | 2019-11-27 |
US20160210596A1 (en) | 2016-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109144961B (zh) | 授权文件共享方法及装置 | |
US9489498B2 (en) | Digital rights management using trusted processing techniques | |
US8522360B2 (en) | Posted move in anchor point-based digital rights management | |
JP2018152077A (ja) | アプリケーションおよびメディアコンテンツ保護配布のための方法および装置 | |
US8495383B2 (en) | Method for the secure storing of program state data in an electronic device | |
US9177112B2 (en) | Method and device for communicating digital content | |
WO2023030450A1 (zh) | 数据共享方法和电子设备 | |
TW201220122A (en) | Software authorization system and method | |
WO2014154063A1 (zh) | 一种控制应用软件赠送的方法、设备及系统 | |
KR20150052303A (ko) | 시스템 온 칩 장치에서 강력하고 안전한 콘텐츠 보호의 개선된 구현 | |
EP2517431B1 (en) | Usage control of digital data exchanged between terminals of a telecommunications network | |
Wang et al. | CS-DRM: a cloud-based SIM DRM scheme for mobile internet | |
CN111901287B (zh) | 一种为轻应用提供加密信息的方法、装置和智能设备 | |
US9548969B2 (en) | Encryption/decryption method, system and device | |
CN112804563A (zh) | 媒体文件的播放方法、装置及存储介质 | |
TWI475879B (zh) | 數位版權管理物件之加密/解密方法、數位版權管理物件加密/解密裝置 | |
KR100738917B1 (ko) | 권한 발급 서버의 위임 방식을 이용하여 전자통신기기에 암호화한 컨텐츠와 권한 오브젝트를 제공하는 서버, 시스템 및 방법 | |
CN114258006A (zh) | 获取凭据的方法、装置及系统 | |
JP7286866B2 (ja) | ブロックチェーンに基づくショートメッセージ検証方法 | |
CN116846660A (zh) | 一种基于国密算法的报文传输方法及装置 | |
Alliance | OMA Secure Removable Media Specification | |
JP2012169983A (ja) | データ処理装置およびプログラム | |
Diehl et al. | Protection in Unicast/Multicast | |
JP2014110553A (ja) | コンテンツ暗号化システム、端末装置、暗号化方法、及びコンピュータプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14774282 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14913917 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014774282 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014774282 Country of ref document: EP |