CN105302617A - Method and sever for downloading application program - Google Patents

Method and sever for downloading application program Download PDF

Info

Publication number
CN105302617A
CN105302617A CN201510833661.7A CN201510833661A CN105302617A CN 105302617 A CN105302617 A CN 105302617A CN 201510833661 A CN201510833661 A CN 201510833661A CN 105302617 A CN105302617 A CN 105302617A
Authority
CN
China
Prior art keywords
application program
response message
title
client
download address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510833661.7A
Other languages
Chinese (zh)
Inventor
胡成元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Meizu Technology China Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510833661.7A priority Critical patent/CN105302617A/en
Publication of CN105302617A publication Critical patent/CN105302617A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a method and a server for downloading an application program. The method comprises the following steps: receiving request information for downloading an application program, sent by a client; generating response information for downloading the application program, sent by the client; judging whether the response information contains the suffix name of a moving application program or the name of the application program; if the response information contains the suffix name of the moving application program or the name of the application program, encrypting the response information; sending the encrypted response information to the client. The implementation of the embodiment of the invention is favorable for reducing the possibility that an operator recognizes the feature information in the application downloading request to prevent the operator to hijack the application program, so that the application downloading safety and user experience are promoted.

Description

A kind of method of down load application program and server
Technical field
The present invention relates to application download technology field, be specifically related to a kind of method and server of down load application program.
Background technology
When user is by Mobile solution distribution platform down load application, downloading process needs the network service provided through operator.Some operator may apply with other service provider's cooperative promotion, play, routine data bag user will downloaded is exchanged, such as, the packet of certain social software user downloaded is exchanged and is applied packet for other company, and the content of this packet is not that user wishes to download after being exchanged.
In addition for saving flow, save the object of bandwidth, operator may carry out flow buffering to certain community at user place, this may cause application data bag to be downloaded interrupting makeing mistakes, the file exception downloaded and file update not in time.
Summary of the invention
The embodiment of the invention discloses a kind of method and server of down load application program, kidnapping application program to reducing operator to identify the probability of the characteristic information in application download request, promoting security and the Consumer's Experience of user's down load application.
Embodiment of the present invention first aspect discloses a kind of method of down load application program, comprising:
Receive the request message of the down load application program that client sends;
Generate the response message of the described application program of download sent to described client;
Judge the title whether comprising mobile applications suffix title or described application program in described response message;
If comprise the title of mobile applications suffix title or described application program in described response message, then encrypt described response message;
The response message after encryption is sent to described client.
In the first possible implementation of embodiment of the present invention first aspect, described request message is obtained by described client encrypt;
Described method also comprises: deciphering described request message.
In conjunction with embodiment of the present invention first aspect or the first possible implementation of first aspect, in the implementation that embodiment of the present invention first aspect the second is possible, the response message of the described application program of download that described generation sends to described client, comprising:
Download address according to application program described in described request message transfers described application program;
Generate and comprise the download address of described application program and the response message of described application program.
In conjunction with the implementation that embodiment of the present invention first aspect the second is possible, in the third possible implementation of embodiment of the present invention first aspect, describedly judge the title whether comprising mobile applications suffix title or described application program in described response message, comprising:
Judge whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
If comprise the title of mobile applications suffix title or described application program in described response message, then encrypt described response message, comprising:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then encrypt the title of application program described in described response message.
In conjunction with the third possible implementation of embodiment of the present invention first aspect, in embodiment of the present invention first aspect the 4th kind of possible implementation, after described response message after described client transmission encryption, also comprise:
The title of client to described application program is decrypted, and shows the title after the deciphering of described application program.
In the embodiment of the present invention, first server receives the request message of the down load application program that client sends, the response message of the down load application program sent to client is generated after receiving request message, then server judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypted response message, last server sends the response message after encryption to client.Visible, described server is to before client push application program, can automatically detect the title whether comprising mobile applications suffix title or application program in the response message of down load application program, and detect in response message, comprise the title of mobile applications suffix title or application program time, encrypted response message, namely server is in client downloads application process, to sending to client and the response message that may be held as a hostage partly or entirely is encrypted, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
Embodiment of the present invention second aspect discloses a kind of server, comprising:
Receiver module, for receiving the request message of the down load application program that client sends;
Generation module, for generating the response message of the described application program of the download sent to described client;
Judge module, for judging the title whether comprising mobile applications suffix title or described application program in described response message;
Encrypting module, if judge for described judge module the title comprising mobile applications suffix title or described application program in described response message, then encrypts described response message;
Sending module, for sending the response message after encryption to described client.
In the first possible implementation of embodiment of the present invention second aspect, described request message is obtained by described client encrypt;
Described server also comprises:
Deciphering module, for deciphering described request message.
In conjunction with embodiment of the present invention second aspect or the first possible implementation of second aspect, in the implementation that embodiment of the present invention second aspect the second is possible, described generation module, comprising:
Transfer unit, for transferring described application program according to the download address of application program described in described request message;
Generation unit, for generating the response message of download address and the described application program comprising described application program.
In conjunction with the implementation that embodiment of the present invention second aspect the second is possible, in the third possible implementation of embodiment of the present invention second aspect,
Described judge module specifically for:
Judge whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
Described encrypting module specifically for:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then encrypt the title of application program described in described response message.
In conjunction with the third possible implementation of embodiment of the present invention second aspect, in embodiment of the present invention second aspect the 4th kind of possible implementation, described sending module is specifically for sending the response message after encryption to described client, the title of client to described application program is decrypted, and shows the title after the deciphering of described application program.
In the embodiment of the present invention, the request message of the down load application program that server receives client sends, the response message of the down load application program sent to client is generated after receiving request message, then server judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypted response message, last server sends the response message after encryption to client.Visible, described server is to before client push application program, can automatically detect the title whether comprising mobile applications suffix title or application program in the response message of down load application program, and detect in response message, comprise the title of mobile applications suffix title or application program time, encrypted response message, namely server can identify potential application and download event of being held as a hostage, and partly or entirely encrypt for this response message that may be held as a hostage, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram realizing the method for down load application program disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for a kind of down load application program disclosed in one embodiment of the invention;
Fig. 3 is the schematic flow sheet of the method for a kind of down load application program disclosed in another embodiment of the present invention;
Fig. 4 is the structure composition frame chart of a kind of server disclosed in one embodiment of the invention;
Fig. 5 is the structure composition frame chart of another kind of server disclosed in another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Term in instructions of the present invention and claims and above-mentioned accompanying drawing " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic steps of these processes, method, product or equipment or unit.
The embodiment of the invention discloses a kind of method and server of down load application program, identifying the probability of the characteristic information in application download request to reducing operator, promote application and download security and Consumer's Experience.
In order to better understand the method for a kind of down load application program disclosed in the embodiment of the present invention, first the network architecture that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of network architecture composition frame chart realizing the method for down load application program that the embodiment of the present invention provides.This network architecture comprises server and is provided with the terminal device of the client for down load application, described server can be the file server possessing data Storage and Processing ability, database server, apps server, WEB server etc., described client can be installed on the terminal device, described terminal device can be any equipment possessing display screen and communication and memory function, such as: panel computer, mobile phone, electronic reader, personal computer (PersonalComputer, PC), notebook computer, mobile unit, Web TV, wearable devices etc. have the smart machine of network function.
The embodiment of the present invention provides a kind of method of down load application program, comprising:
Receive the request message of the down load application program that client sends;
Generate the response message of the described application program of download sent to described client;
Judge the title whether comprising mobile applications suffix title or described application program in described response message;
If comprise the title of mobile applications suffix title or described application program in described response message, then encrypt described response message;
The response message after encryption is sent to described client.
Concrete, refer to Fig. 2, Fig. 2 is the schematic flow sheet of the method for a kind of down load application program that one embodiment of the invention provides, and comprises the following steps:
S201, the request message of the down load application program that server receives client sends;
Wherein, described request message can be obtained by described client encrypt, and described application program can be such as application program installation kit, and it is that user passes through to click application program corresponding to download address in the application market or webpage of client.The download address of this application program can be carried in request message.
S202, described server generates the response message of the described application program of download sent to described client;
In the embodiment of the present invention, the specific implementation that described server generates the response message of the described application program of download sent to described client comprises the following steps:
Described server transfers described application program according to the download address of application program described in described request message;
Wherein, the download address of described application program can be such as the download address of the application program being stored in described server local terminal, can be the download address of the application program be stored in other memory devices of being connected with described server communication, the embodiment of the present invention do unique restriction to the concrete form of the download address of described application program yet;
Described server generates and comprises the download address of described application program and the response message of described application program.
S203, described server judges the title whether comprising mobile applications suffix title or described application program in described response message;
In the embodiment of the present invention, described server judges that the specific implementation of the title whether comprising mobile applications suffix title or described application program in described response message comprises:
Described server judges whether comprise .apk in the download address of application program described in described response message, or whether comprises the title of described application program in the download address of described application program, or whether comprises .apk in the title of described application program;
Wherein, the characteristic informations such as the .apk in described response message and/or the title of application program are all easily be transmitted Network Recognition and be labeled as the characteristic information that object is kidnapped in application.
S204, if the title comprising mobile applications suffix title or described application program in described response message, then response message described in described server for encrypting;
In the embodiment of the present invention, if comprise the title of mobile applications suffix title or described application program in described response message, then described in described server for encrypting, the specific implementation of response message comprises the following steps:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then the title of application program described in response message described in described server for encrypting.
S205, described server sends the response message after encryption to described client.
When know comprise the title of mobile applications suffix title or described application program in the response message that server generates time, the embodiment of the present invention takes certain technological means, by encrypting the response message comprising described application program of this generation, hide the characteristic information that application program suffix title and application name etc. are easily identified, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent.
Optionally, in the embodiment of the present invention, described server after the request message receiving the down load application program that client sends, before generating the response message of the described application program of download sent to described client, described server also for:
Deciphering described request message.
Optionally, in the embodiment of the present invention, described server also comprises after sending the response message after encryption to described client:
The title of client to described application program is decrypted, and shows the title after the deciphering of described application program.So, client is after the application program receiving title encryption, can the original title of automatic reduction destination application, thus avoid user to see the insignificant character string (filename) of title through encryption, guarantee that user knows the title of downloaded application program, promote Consumer's Experience.For example, address is passed through
http://xxx.meizu.com/1680/ebb8a3d2dd124435b22c8f98d97c05c1
When downloading QQ, the filename of generation is com.tencent.mobileqq_242.apk instead of ebb8a3d2dd124435b22c8f98d97c05c1.
Can find out, in the embodiment of the present invention, first server receives the request message of the down load application program that client sends, the response message of the down load application program sent to client is generated after receiving request message, then server judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypted response message, last server sends the response message after encryption to client.Visible, described server is to before client push application program, can automatically detect the title whether comprising mobile applications suffix title or application program in the response message of down load application program, and detect in response message, comprise the title of mobile applications suffix title or application program time, encrypted response message, namely server can identify potential application and download event of being held as a hostage, and partly or entirely encrypt for the response message of this application program that may be held as a hostage, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the method for a kind of down load application program that another embodiment of the present invention provides, and as shown in Figure 3, comprises the following steps:
S301, the request message of the down load application program that server receives client sends;
Wherein, described request message is obtained by described client encrypt, and described application program can be such as application program installation kit, and it is that user passes through to click application program corresponding to download address in the application market or webpage of client.The download address of this application program can be carried in request message.
S302, described server deciphering described request message.
Wherein, described request message can be that described client obtains based on the cryptographic algorithm encryption preset, and after server receives this request message, based on the decipherment algorithm mated with described default cryptographic algorithm, can decipher the request message that this receives.
S303, described server transfers described application program according to the download address of application program described in described request message;
Wherein, the download address of described application program can be such as the download address of the application program being stored in described server local terminal, can be the download address of the application program be stored in other memory devices of being connected with described server communication, the embodiment of the present invention do unique restriction to the concrete form of the download address of described application program yet.
S304, described server generates and comprises the download address of described application program and the response message of described application program.
S305, described server judges whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
The title comprising .apk in the download address of application program described in described response message if judge or comprise described application program, then perform step S306;
Comprise .apk if judge in the title of application program described in described response message, then perform step S307;
S306, if comprise .apk in the download address of application program described in described response message, or comprises the title of described application program in the download address of described application program, then encrypts the download address of application program described in described response message;
S307, if comprise .apk in the title of application program described in described response message, then the title of application program described in response message described in described server for encrypting.
When comprising .apk in the download address knowing application program described in the response message that server generates, or comprise the title of described application program in the download address of described application program, or, when comprising .apk in the title of described application program, the embodiment of the present invention takes certain technological means, by the title of the download address or application program of encrypting the application program in this response message, hide the characteristic information that .apk and application name etc. are easily identified, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent.
Optionally, in the embodiment of the present invention, described server also comprises after sending the response message after encryption to described client:
The title of client to described application program is decrypted, and shows the title after the deciphering of described application program.So, client is after the application program receiving title encryption, can the original title of automatic reduction destination application, thus avoid user to see the insignificant character string (filename) of title through encryption, guarantee that user knows the title of downloaded application program, promote Consumer's Experience.For example, address is passed through
http://xxx.meizu.com/1680/ebb8a3d2dd124435b22c8f98d97c05c1
When downloading QQ, the filename of generation is com.tencent.mobileqq_242.apk instead of ebb8a3d2dd124435b22c8f98d97c05c1.
Can find out, in the embodiment of the present invention, first server receives the request message of the down load application program that client sends, the response message of the down load application program sent to client is generated after receiving request message, then server judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypted response message, last server sends the response message after encryption to client.Visible, described server is to before client push application program, can automatically detect the title whether comprising mobile applications suffix title or application program in the response message of down load application program, and detect in response message, comprise the title of mobile applications suffix title or application program time, encrypted response message, namely server can identify potential application and download event of being held as a hostage, and partly or entirely encrypt for the response message of this application program that may be held as a hostage, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to three, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the inventive method embodiment.
The embodiment of the present invention provides a kind of server, comprising:
Receiver module, for receiving the request message of the down load application program that client sends;
Generation module, for generating the response message of the described application program of the download sent to described client;
Judge module, for judging the title whether comprising mobile applications suffix title or described application program in described response message;
Encrypting module, if judge for described judge module the title comprising mobile applications suffix title or described application program in described response message, then encrypts described response message;
Sending module, for sending the response message after encryption to described client.
Concrete, referring to Fig. 4, is the structural representation of a kind of server that one embodiment of the invention provides, and as shown in Figure 4, described server comprises receiver module 401, generation module 402, judge module 403, encrypting module 404, sending module 405, wherein:
Receiver module 401, for receiving the request message of the down load application program that client sends;
Wherein, described request message is obtained by described client encrypt, and described application program can be such as application program installation kit, and it is that user passes through to click application program corresponding to download address in the application market or webpage of client.The download address of this application program can be carried in request message.
Generation module 402, for generating the response message of the described application program of the download sent to described client;
Wherein, generation module 402, comprising:
Transfer unit, for transferring described application program according to the download address of application program described in described request message;
Generation unit, for generating the response message of download address and the described application program comprising described application program.
Judge module 403, for judging the title whether comprising mobile applications suffix title or described application program in described response message;
Wherein, judge module 403 specifically for:
Judge whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
Encrypting module 404, if judge for described judge module 403 title comprising mobile applications suffix title or described application program in described response message, then encrypts described response message;
Wherein, encrypting module 404 specifically for:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then encrypt the title of application program described in described response message.
Sending module 405, for sending the response message after encryption to described client.
Optionally, server also comprises:
Deciphering module, for receive the down load application program that client sends at receiver module 401 request message after, before generation module 402 generates the response message of the described application program of the download sent to described client, deciphering described request message.
Optionally, sending module 405, specifically for after the response message after described client transmission encryption, makes the title of client to described application program be decrypted, and shows the title after the deciphering of described application program.So, client is after the application program receiving title encryption, can the original title of automatic reduction destination application, thus avoid user to see the insignificant character string (filename) of title through encryption, guarantee that user knows the title of downloaded application program, promote Consumer's Experience.For example, address is passed through
http://xxx.meizu.com/1680/ebb8a3d2dd124435b22c8f98d97c05c1
When downloading QQ, the filename of generation is com.tencent.mobileqq_242.apk, instead of ebb8a3d2dd124435b22c8f98d97c05c1.
Be understandable that, the function of each functional module of the server of the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of said method embodiment two to embodiment of the method four, can repeat no more herein.
Can find out, in the embodiment of the present invention, receiver module in server is for receiving the request message of the down load application program of client transmission, generation module is for generating the response message of the down load application program sent to client, judge module judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypting module encrypted response message, the sending module in last server sends the response message after encryption to client.Visible, described server is to before client push application program, the title of mobile applications suffix title or application program whether is comprised in the response message of the judge module meeting automatic decision down load application program in server, and when determining the title comprising mobile applications suffix title or application program in response message, encrypting module encrypted response message, namely server can identify potential application and download event of being held as a hostage, and partly or entirely encrypt for this response message that may be held as a hostage, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
Please refer to Fig. 5, is the structural representation of another kind of server disclosed in another embodiment of the present invention.As shown in Figure 5, the server in the embodiment of the present invention comprises: at least one processor 501, such as CPU, at least one receiver 503, at least one storer 504, at least one transmitter 505, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these assemblies.Wherein, in the embodiment of the present invention, the receiver 503 of device and transmitter 505 can be wired transmit ports, can be also wireless device, such as, comprise antenna assembly, for carrying out the communication of signaling or data with other node devices.Storer 504 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 504 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 501.Store batch processing code in storer 504, and processor 501 is for calling the program code stored in storer, for performing following operation:
Processor 501 receives the request message of the down load application program that client sends;
Wherein, described request message is obtained by described client encrypt, and described application program can be such as application program installation kit, and it is that user passes through to click application program corresponding to download address in the application market or webpage of client.The download address of this application program can be carried in request message.
Processor 501 generates the response message of the described application program of the download sent to described client;
In specific implementation, processor 501 generates the response message of the described application program of the download sent to described client, comprising:
Download address according to application program described in described request message transfers described application program;
Generate and comprise the download address of described application program and the response message of described application program.
Processor 501 judges the title whether comprising mobile applications suffix title or described application program in described response message;
In specific implementation, processor 501 judges the title whether comprising mobile applications suffix title or described application program in described response message, comprising:
Processor 501 judges whether comprise .apk in the download address of application program described in described response message, or whether comprises the title of described application program in the download address of described application program, or whether comprises .apk in the title of described application program;
If comprise the title of mobile applications suffix title or described application program in described response message, then described response message encrypted by processor 501;
In specific implementation, if comprise the title of mobile applications suffix title or described application program in described response message, then described response message encrypted by processor 501, comprising:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then the download address of application program described in described response message encrypted by processor 501;
If comprise .apk in the title of application program described in described response message, then the title of application program described in described response message encrypted by processor 501.
Processor 501 sends the response message after encryption to described client.
When know comprise the title of mobile applications suffix title or described application program in the response message that server generates time, the embodiment of the present invention takes certain technological means, by encrypting the response message comprising described application program of this generation, hide the characteristic information that application program suffix title and application name etc. are easily identified, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent.
Optionally, processor 501 is also for deciphering described request message.
Optionally, after processor 501 sends the response message after encryption to described client, processor 501 also for:
The title of client to described application program is decrypted, and shows the title after the deciphering of described application program.So, client is after the application program receiving title encryption, can the original title of automatic reduction destination application, thus avoid user to see the insignificant character string (filename) of title through encryption, guarantee that user knows the title of downloaded application program, promote Consumer's Experience.For example, address is passed through
http://xxx.meizu.com/1680/ebb8a3d2dd124435b22c8f98d97c05c1
When downloading QQ, the filename of generation is com.tencent.mobileqq_242.apk instead of ebb8a3d2dd124435b22c8f98d97c05c1.
Be understandable that, the function of each functional module of the server of the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of said method embodiment two to embodiment of the method four, can repeat no more herein.
Can find out, in the embodiment of the present invention, first server receives the request message of the down load application program that client sends, the response message of the down load application program sent to client is generated after receiving request message, then server judges the title whether comprising mobile applications suffix title or application program in response message, when judging the title comprising mobile applications suffix title or application program in response message, encrypted response message, last server sends the response message after encryption to client.Visible, described server is to before client push application program, can automatically detect the title whether comprising mobile applications suffix title or application program in the response message of down load application program, and detect in response message, comprise the title of mobile applications suffix title or application program time, encrypted response message, namely server can identify potential application and download event of being held as a hostage, and partly or entirely encrypt for the response message of this application program that may be held as a hostage, thus application programs is kidnapped by the application program suffix title in identification response message and/or application name to avoid operator to a certain extent, promote application and download security and Consumer's Experience.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of the method for any one down load application program recorded in said method embodiment when this program performs.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) are (English: Read-OnlyMemory, be called for short: ROM), random access device (English: RandomAccessMemory, RAM), disk or CD etc. be called for short:.
Above the method for a kind of down load application program that the embodiment of the present invention provides and server are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up above-mentioned, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for down load application program, is characterized in that, comprising:
Receive the request message of the down load application program that client sends;
Generate the response message of the described application program of download sent to described client;
Judge the title whether comprising mobile applications suffix title or described application program in described response message;
If comprise the title of mobile applications suffix title or described application program in described response message, then encrypt described response message;
The response message after encryption is sent to described client.
2. method according to claim 1, is characterized in that, described request message is obtained by described client encrypt;
Described method also comprises: deciphering described request message.
3. method according to claim 1 and 2, is characterized in that, the response message of the described application program of download that described generation sends to described client, comprising:
Download address according to application program described in described request message transfers described application program;
Generate and comprise the download address of described application program and the response message of described application program.
4. method according to claim 3, is characterized in that, describedly judges the title whether comprising mobile applications suffix title or described application program in described response message, comprising:
Judge whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
If comprise the title of mobile applications suffix title or described application program in described response message, then encrypt described response message, comprising:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then encrypt the title of application program described in described response message.
5. method according to claim 4, is characterized in that, after described response message after described client transmission encryption, also comprises:
The title of client to described application program is decrypted, and shows the title after the deciphering of described application program.
6. a server, is characterized in that, comprising:
Receiver module, for receiving the request message of the down load application program that client sends;
Generation module, for generating the response message of the described application program of the download sent to described client;
Judge module, for judging the title whether comprising mobile applications suffix title or described application program in described response message;
Encrypting module, if judge for described judge module the title comprising mobile applications suffix title or described application program in described response message, then encrypts described response message;
Sending module, for sending the response message after encryption to described client.
7. server according to claim 6, is characterized in that, described request message is obtained by described client encrypt;
Described server also comprises:
Deciphering module, for deciphering described request message.
8. the server according to claim 6 or 7, is characterized in that, described generation module, comprising:
Transfer unit, for transferring described application program according to the download address of application program described in described request message;
Generation unit, for generating the response message of download address and the described application program comprising described application program.
9. server according to claim 8, is characterized in that,
Described judge module specifically for:
Judge whether comprise .apk in the download address of application program described in described response message, or whether comprise the title of described application program in the download address of described application program, or whether comprise .apk in the title of described application program;
Described encrypting module specifically for:
If comprise .apk in the download address of application program described in described response message, or comprise the title of described application program in the download address of described application program, then encrypt the download address of application program described in described response message;
If comprise .apk in the title of application program described in described response message, then encrypt the title of application program described in described response message.
10. server according to claim 9, it is characterized in that, described sending module, specifically for sending the response message after encryption to described client, makes the title of client to described application program be decrypted, and shows the title after the deciphering of described application program.
CN201510833661.7A 2015-11-25 2015-11-25 Method and sever for downloading application program Pending CN105302617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510833661.7A CN105302617A (en) 2015-11-25 2015-11-25 Method and sever for downloading application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510833661.7A CN105302617A (en) 2015-11-25 2015-11-25 Method and sever for downloading application program

Publications (1)

Publication Number Publication Date
CN105302617A true CN105302617A (en) 2016-02-03

Family

ID=55199912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510833661.7A Pending CN105302617A (en) 2015-11-25 2015-11-25 Method and sever for downloading application program

Country Status (1)

Country Link
CN (1) CN105302617A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107292162A (en) * 2017-07-14 2017-10-24 广东欧珀移动通信有限公司 Using method for down loading, device and terminal device
CN107295085A (en) * 2017-06-28 2017-10-24 广东欧珀移动通信有限公司 Application message processing and method for down loading, server, client and terminal device
WO2017198079A1 (en) * 2016-05-20 2017-11-23 广州优视网络科技有限公司 File download method and apparatus, user terminal and machine-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401885A (en) * 2013-08-19 2013-11-20 北京时代亿信科技有限公司 Network file authorization control method, device and system
CN104639506A (en) * 2013-11-13 2015-05-20 中国电信股份有限公司 Terminal and application program installation controlling method and system
CN105022832A (en) * 2015-08-07 2015-11-04 广东欧珀移动通信有限公司 Method for safely downloading APP (application), mobile terminal and download server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401885A (en) * 2013-08-19 2013-11-20 北京时代亿信科技有限公司 Network file authorization control method, device and system
CN104639506A (en) * 2013-11-13 2015-05-20 中国电信股份有限公司 Terminal and application program installation controlling method and system
CN105022832A (en) * 2015-08-07 2015-11-04 广东欧珀移动通信有限公司 Method for safely downloading APP (application), mobile terminal and download server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017198079A1 (en) * 2016-05-20 2017-11-23 广州优视网络科技有限公司 File download method and apparatus, user terminal and machine-readable storage medium
CN107295085A (en) * 2017-06-28 2017-10-24 广东欧珀移动通信有限公司 Application message processing and method for down loading, server, client and terminal device
CN107295085B (en) * 2017-06-28 2019-07-12 Oppo广东移动通信有限公司 Application message processing and method for down loading, server, client and terminal device
CN107292162A (en) * 2017-07-14 2017-10-24 广东欧珀移动通信有限公司 Using method for down loading, device and terminal device
CN107292162B (en) * 2017-07-14 2019-10-18 Oppo广东移动通信有限公司 Using method for down loading, device and terminal device

Similar Documents

Publication Publication Date Title
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN110266480B (en) Data transmission method, device and storage medium
US9021468B1 (en) Bundling extension installation with web browser installation
US20130326502A1 (en) Installing applications remotely
CN107786331B (en) Data processing method, device, system and computer readable storage medium
CN112287372B (en) Method and apparatus for protecting clipboard privacy
CN104199654A (en) Open platform calling method and device
CN105354488A (en) Application installation method, related apparatus and application installation system
CN109995876B (en) File transmission method, device, system and computer storage medium
CN110377440B (en) Information processing method and device
CN104683407A (en) Transmission method and equipment for page data and application data
CN104199657A (en) Call method and device for open platform
CN111381848A (en) Resource file updating method, device, equipment and storage medium
CN111199037A (en) Login method, system and device
CN112039826A (en) Login method and device applied to applet terminal
CN111611606B (en) File encryption and decryption method and device
CN105302617A (en) Method and sever for downloading application program
CN110046000B (en) Applet running method and device
US20150079968A1 (en) Information processing method and electronic device
CN110290097B (en) Data processing method and device, storage medium and electronic device
CN108228457B (en) Test agent method and device of mobile terminal and computer readable storage medium
CN110324432B (en) Data processing method, device and medium applied to terminal and computing equipment
CN111177536A (en) Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device
CN113037760B (en) Message sending method and device
CN112905355B (en) Method, apparatus and computer storage medium for information processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160203

RJ01 Rejection of invention patent application after publication