[go: up one dir, main page]

CN109271779A - A kind of installation packet inspection method, terminal device and server - Google Patents

A kind of installation packet inspection method, terminal device and server Download PDF

Info

Publication number
CN109271779A
CN109271779A CN201811246086.0A CN201811246086A CN109271779A CN 109271779 A CN109271779 A CN 109271779A CN 201811246086 A CN201811246086 A CN 201811246086A CN 109271779 A CN109271779 A CN 109271779A
Authority
CN
China
Prior art keywords
target
installation package
server
terminal device
target installation
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
CN201811246086.0A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811246086.0A priority Critical patent/CN109271779A/en
Publication of CN109271779A publication Critical patent/CN109271779A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/562Static detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/145Countermeasures against malicious traffic the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of installation packet inspection method, terminal device and servers, are related to field of communication technology, may be comprising rogue program to reduce the safety of terminal device in the installation kit to solve the problem of terminal device downloading.This method comprises: sending downloading request message to server, the downloading request message is for requesting downloading target installation kit;The first response message that server is sent is received, it includes instruction information in first response message, it is abnormal which is used to indicate target installation kit which, which is server to sending after the security verification failure of the target installation kit,.This method can be applied to terminal device from the scene of server downloading installation kit.

Description

A kind of installation packet inspection method, terminal device and server
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of installation packet inspection methods, terminal device and clothes Business device.
Background technique
With the development of communication technology, the application program that can be installed on terminal device is more and more.
Currently, can usually pass through the browser or application program shop downloading and installation application program in terminal device. For example, user can trigger eventually according to the description information of an application program for the terminal device with Android operation system End equipment downloads the Android installation kit (Android Package, APK) of the application program from server, and on the terminal device The APK is installed.
However, the description information due to above-mentioned installation kit may not be consistent with the actual content of installation kit, such as certain peace The description information of dress packet is social application program, and the installation kit actually may include rogue program, so if user touches Hair terminal device downloads the installation kit, it would be possible that making terminal device download to the rogue program, so as to cause terminal device It may be attacked by the rogue program, reduce the safety of terminal device.
Summary of the invention
The embodiment of the present invention provides a kind of installation packet inspection method, terminal device and server, to solve under terminal device It may include rogue program in the installation kit of load, thus the problem of reducing the safety of terminal device.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, being applied to terminal device the embodiment of the invention provides a kind of installation packet inspection method.This method packet It includes: sending downloading request message to server, the downloading request message is for requesting downloading target installation kit;Receive server hair The first response message sent, first response message are to send after server fails to the security verification of the target installation kit , it include instruction information in first response message, it is abnormal which is used to indicate target installation kit.
Second aspect, the embodiment of the invention provides a kind of installation packet inspection methods, are applied to server.This method packet Include: the downloading request message that receiving terminal apparatus is sent, the downloading request message is for requesting downloading target installation kit;According to this Solicited message is downloaded, obtains the target installation kit, and detect the safety of the target installation kit;If to the peace of the target installation kit Full property authentication failed then sends the first response message to terminal device, includes instruction information, the instruction in first response message It is abnormal that information is used to indicate target installation kit.
The third aspect, the embodiment of the invention provides a kind of terminal device, which includes sending module and reception Module.Sending module, for sending downloading request message to server, the downloading request message is for requesting downloading target installation Packet;Receiving module, for receiving the first response message of server transmission, which is that server installs target It is sent after the security verification failure of packet, includes instruction information in first response message, which is used to indicate mesh It is abnormal to mark installation kit.
Fourth aspect, the embodiment of the invention provides a kind of server, the server include receiving module, detection module and Sending module.Receiving module, for the downloading request message that receiving terminal apparatus is sent, under the downloading request message is for requesting Carry target installation kit;Detection module, for obtaining the target installation kit according to the received downloading solicited message of receiving module, And detect the safety of the target installation kit;Sending module, if for detection module to the security verification of the target installation kit Failure then sends the first response message to terminal device, includes instruction information in first response message, which is used for Indicate that target installation kit is abnormal.
5th aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, the computer program realize first party when being executed by the processor The step of installation packet inspection method that face provides.
6th aspect the embodiment of the invention provides a kind of server, including processor, memory and is stored in the storage On device and the computer program that can run on the processor, the computer program realize second aspect when being executed by the processor The step of installation packet inspection method of offer.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and the installation that first aspect or second aspect provide is realized when which is executed by processor The step of packet inspection method.
In embodiments of the present invention, downloading request message can be sent to server (downloading request message is for requesting Download target installation kit);And (first response message is server to the mesh to the first response message that reception server is sent It is sent after the security verification failure of mark installation kit, includes instruction information in first response message, which is used for Indicate that target installation kit is abnormal).With this solution, due to taking after terminal device sends downloading request message to server Business device can verify the safety of target installation kit, and after the security verification failure to the target installation kit, to Terminal device sends the response message (i.e. the first response message) of instruction target installation kit exception, therefore terminal device can basis First response message, determination is abandoned downloading the target installation kit, so as to avoid terminal device by target installation kit Rogue program attack, and then improve the safety of terminal device.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is a kind of one of schematic diagram for installing packet inspection method provided in an embodiment of the present invention;
Fig. 3 is a kind of one of schematic diagram of terminal device display reminding information provided in an embodiment of the present invention;
Fig. 4 is the two of a kind of schematic diagram for installing packet inspection method provided in an embodiment of the present invention;
Fig. 5 is the three of a kind of schematic diagram for installing packet inspection method provided in an embodiment of the present invention;
Fig. 6 is the two of a kind of schematic diagram of terminal device display reminding information provided in an embodiment of the present invention;
Fig. 7 is a kind of operation chart of the user provided in an embodiment of the present invention to terminal device interface;
Fig. 8 is the schematic diagram that a kind of terminal device provided in an embodiment of the present invention shows M item name;
Fig. 9 is the four of a kind of schematic diagram for installing packet inspection method provided in an embodiment of the present invention;
Figure 10 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 11 is the second structural representation of terminal device provided in an embodiment of the present invention;
Figure 12 is the third structural representation of terminal device provided in an embodiment of the present invention;
Figure 13 is the four of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 14 is the structural schematic diagram of server provided in an embodiment of the present invention;
Figure 15 is the hardware schematic of terminal device provided in an embodiment of the present invention;
Figure 16 is the hardware schematic of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, the first response message and the second response message etc. are for distinguishing not Same response message, rather than the particular order for describing response message.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple element refers to two or more element.
The embodiment of the present invention provides a kind of installation packet inspection method, terminal device and server, can send to server Downloading request message (downloading request message is for requesting downloading target installation kit);And receive the first sound that server is sent Answering message, (first response message is to send after server fails to the security verification of the target installation kit, first sound Answering in message includes instruction information, and it is abnormal which is used to indicate target installation kit).With this solution, due in terminal After equipment sends downloading request message to server, server can be verified the safety of target installation kit, and After the security verification failure of the target installation kit, the response message of instruction target installation kit exception is sent to terminal device (i.e. the first response message), therefore terminal device can be according to first response message, determination is abandoned downloading the target installation kit, So as to avoid terminal device from being attacked by the rogue program in target installation kit, and then improve the safety of terminal device.
Below with reference to Fig. 1-Figure 16, by specific embodiment and its application scenarios to installation provided in an embodiment of the present invention Packet inspection method, terminal device and server are described in detail.
Illustratively, Fig. 1 shows a kind of configuration diagram of communication system provided in an embodiment of the present invention.Such as Fig. 1 institute Show, which may include at least one terminal device 01 and server 02.Wherein, at least one 01 kimonos of terminal device It can establish connection between business device 02.
It should be noted that above-mentioned Fig. 1 is to be that cable network connects between at least one terminal device 01 and server 02 It is connected in what example illustrated, any restriction is not caused to the embodiment of the present invention.It is appreciated that in actual implementation, It can also be wireless network connection between at least one terminal device 01 and server 02, it specifically can be according to actual use demand It determines.
Server in the embodiment of the present invention can manage resource and provide the computer equipment of service for terminal device.Clothes Business device may include processor, hard disk, memory and bus etc..Illustratively, it can store in server multiple using journey The installation kit of sequence, and can be requested in response to the downloading to target installation kit of terminal device, to the safety of target installation kit Property verified, and send verification result etc. to terminal device.
Terminal device in the embodiment of the present invention can send the downloading request of installation kit to server, and obtain installation kit Title and version number, to update the title of installation kit, and installation kit saved corresponding to target category belonging to installation kit Catalogue.
Terminal device in the embodiment of the present invention can be mobile terminal device, or immobile terminal equipment.Show Example property, mobile terminal device can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, can wear Wear equipment, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), net book or individual Digital assistants (personal digital assistant, PDA) etc., immobile terminal equipment can be personal computer (personal computer, PC), television set (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention It is not especially limited.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android operation system can be ios operating system, can also be other possible operating systems, and the embodiment of the present invention is not made to have Body limits.By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on the system tray of Android operation system Structure, the software program of installation packet inspection method provided in an embodiment of the present invention is realized in exploitation, so that the installation kit detection side Method can be run based on Android operation system.I.e. processor or terminal device can be somebody's turn to do by running in Android operation system Software program realizes installation packet inspection method provided in an embodiment of the present invention.
Based on communication system as shown in Figure 1, the embodiment of the present invention provides a kind of installation packet inspection method, and the installation kit Detection method can be real by the information exchange between the terminal device 01 in communication system as shown in Figure 1 and server 02 It is existing.As shown in Fig. 2, the measurement indicating means may include following S200-S204.
S200, terminal device send downloading request message to server.
Wherein, above-mentioned downloading request message can be used for requesting downloading target installation kit.
Optionally, in the embodiment of the present invention, above-mentioned downloading request message may include the download path of target installation kit.
Optionally, in the embodiment of the present invention, above-mentioned target installation kit can be Android installation kit, can also install for ios Packet, can also be other possible installation kits.It can specifically be determined according to actual use demand, the embodiment of the present invention does not limit It is fixed.
Optionally, in the embodiment of the present invention, terminal device can be sent out by following mode one or mode two to server Send downloading request message:
Mode one, terminal device send downloading request message from trend server.
Illustratively, installing terminal equipment has certain shopping application program, detects that server has issued this in terminal device In the case where the new version of shopping application program, terminal device can send downloading request message from trend server, with request The installation kit of the new version of the shopping application program is downloaded from server.
Input is requested in the downloading that mode two, terminal device receive user, and requests to input in response to the downloading, to server Send downloading request message.
Illustratively, in the case where terminal device is not installed with certain shopping application program, if user wants triggering eventually End equipment installs the shopping application program, then user can be found by browser in terminal device or application shop The shopping application program, and click the downloading control of the shopping application program.Such terminal device can receive the point of user The input (i.e. downloading request input) of the downloading control of the shopping application program is hit, and requests to input in response to the downloading, to clothes Business device sends downloading request message, to request to download the installation kit of the new version of the shopping application program from server.
S201, server receive the downloading request message.
S202, server obtain target installation kit according to the downloading solicited message, and detect the safety of the target installation kit Property.
In the embodiment of the present invention, server can downloading request message based on the received, obtain target installation kit, and detect The safety of the target installation kit.If server fails to the security verification of target installation kit, server can be after It is continuous to execute following S203;And if security verification success of the server to target installation kit, the first possible reality Existing mode is, server may not need to terminal device and send response message, and second possible to be achieved in that, server can To send response message to terminal device (shown in Fig. 4 described as follows).
Optionally, it in the embodiment of the present invention, if downloading solicited message includes the download path of target installation kit, takes Being engaged in device can be according to the download path, acquisition target installation kit.
Optionally, in the embodiment of the present invention, target installation kit be can store in above-mentioned server, also can store at it In his server.Wherein, if target installation kit is stored in the server, which can directly be asked according to downloading Information is sought, the target installation kit is obtained;If target installation kit is stored in other servers, server can be under Solicited message is carried, obtains the target installation kit from other servers.
If S203, server fail to the security verification of target installation kit, server sends first to terminal device Response message.
It wherein, may include instruction information in above-mentioned first response message, and the instruction information can serve to indicate that target Installation kit is abnormal.
It optionally, further include the corresponding target application journey of target installation kit in the embodiment of the present invention, in the first response message The title of sequence and the version number of destination application.It is appreciated that server is by sending destination application to terminal device Title and destination application version number the first response message, can in order to user understand rogue program.
S204, terminal device receive first response message.
Wherein, above-mentioned first response message is sent after can failing for security verification of the server to target installation kit 's.
Illustratively, as shown in figure 3, terminal is set when terminal device receives the first response message of server transmission It is standby can display reminding information " whether installation kit to be downloaded pass through security verification, may I ask and continue to download " on the screen. If user clicks control " abandoning ", terminal device can terminate in response to user to the clicking operation of control " abandoning " The downloading process of target installation kit so as to avoid terminal device downloading from may include the installation kit of rogue program, and then is kept away Exempt from terminal device to be attacked by the rogue program in target installation kit;And if user clicks control " continuation ", terminal device The downloading process of target installation kit can be continued in response to user to the clicking operation of control " continuation ".
The embodiment of the present invention provides a kind of installation packet inspection method, due to sending downloading request to server in terminal device After message, server can be verified the safety of target installation kit, and be tested in the safety to the target installation kit After card failure, the response message (i.e. the first response message) of instruction target installation kit exception, therefore terminal are sent to terminal device Equipment can be according to first response message, and determination is abandoned downloading the target installation kit, so as to avoid terminal device by mesh The rogue program attack in installation kit is marked, and then improves the safety of terminal device.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 4, if server is to the safety of target installation kit Property is proved to be successful, and installation packet inspection method provided in an embodiment of the present invention can also include following S205 and S206.
If the security verification success of S205, server to target installation kit, server send second to terminal device Response message.
S206, terminal device receive second response message.
It wherein, may include the title and mesh of the corresponding destination application of target installation kit in above-mentioned second response message The version number of application program is marked, and the second response message is to send after server is successful to the security verification of target installation kit 's.
Illustratively, the title for the corresponding destination application of target installation kit for including in the second response message can be " * * movement ", the version number of destination application can be " V6.3.1 ".
Installation packet inspection method provided in an embodiment of the present invention, due to including that target installation kit is corresponding in the first response message Destination application title and destination application version number, therefore terminal device can be according to the destination application Title and destination application version number's more fresh target installation kit title, to facilitate user according to updated target The title of installation kit quickly identifies target installation kit.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 4, as shown in figure 5, the embodiment of the present invention mentions after above-mentioned S206 The installation packet inspection method of confession can also include following S207 and S208.
S207, terminal device receive the first input of user.
S208, terminal device download target installation kit from server, and by content distribution service in response to first input Device is that the title of target installation kit setting is updated to target designation.
It wherein, may include title and the version number of destination application of destination application in above-mentioned target designation. First input downloads target installation kit for determining from server, and changes the title of target installation kit.
It should be noted that above content the distribution server is the server of content distribution quotient in the embodiment of the present invention, it should Content distributing server can be used for distributing content (such as installation kit) for user.Also, Fig. 1, Fig. 2, Fig. 4, Fig. 5, Fig. 9 and figure Server in 14 etc. can be the same server with content distributing server, or different servers specifically may be used To determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Optionally, in the embodiment of the present invention, the first input can be to click input, long-pressing input, double-click input or sliding Dynamic input etc..It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Illustratively, as shown in fig. 6, receiving the second response message (such as the second sound that server is sent in terminal device Answer entitled " the * * movement " of the corresponding destination application of target installation kit for including in message, the version of destination application Number be " V6.3.1 ") after, terminal device can display reminding information " be tested by safety by installation kit to be downloaded on the screen Whether card may I ask and continue to download target installation kit, and change the title of target installation kit ".If user clicks control "Yes", that Terminal device can receive user to the clicking operation of control "Yes" (the i.e. first input), and in response to first input, Target installation kit is downloaded from server, and the title that content distributing server is the setting of target installation kit is updated to target designation " * * movement-V6.3.1 ";If user clicks control "No", terminal device can be in response to user to the point of control "No" Hit input, the downloading process of target end installation kit.It is appreciated that prior art content distributing server would generally pacify target The title of dress packet is set as a series of title generated by websites, by being by target application by the name change of target installation kit The target designation of version number's composition of the title and destination application of program, can be improved the readable of the title of target installation kit Property, so that user can quickly identify target installation kit.
If terminal is set it should be noted that above-mentioned Fig. 5 is the security verification success with server to target installation kit The standby input that can respond user downloads target installation kit from server, and is the setting of target installation kit by content distributing server Title be updated to illustrate for target designation, any restriction is not caused to the embodiment of the present invention.It can To understand, in actual implementation, if server fails to the security verification of target installation kit, terminal device can also respond use The input at family downloads target installation kit from server, and the title that content distributing server is the setting of target installation kit is updated to Target designation can specifically be determined according to actual use demand.
Installation packet inspection method provided in an embodiment of the present invention, since terminal device can be according to the destination application The title of the version number of title and destination application more fresh target installation kit, therefore user can pacify according to updated target The title of dress packet quickly identifies target installation kit, to improve the experience sense of user.
Optionally, in the embodiment of the present invention, after above-mentioned S208, installation kit detection side provided in an embodiment of the present invention Method can also include following S209 and S210.
S209, terminal device are according to the title of the destination application in the second response message or target installation kit The title of destination application in target designation determines target category belonging to target installation kit.
Optionally, in the embodiment of the present invention, terminal device can be determined by any one in following two ways Target category belonging to target installation kit:
The title (or title of multiple installation kits) point of multiple application programs is previously stored in mode one, terminal device Not with the corresponding relationship of classification belonging to installation kit, terminal device can be according to the mesh in the corresponding relationship and the second response message The title (or title of the destination application in the target designation of target installation kit) for marking application program determines that target is installed Target category belonging to packet.
The title (or title of multiple installation kits) of multiple application programs is previously stored in mode two, server respectively With the corresponding relationship of classification belonging to installation kit, server can according to server obtain destination application title (or The title of destination application in the target designation of person's target installation kit), determine target category belonging to target installation kit, and The target category is sent to terminal device, so that terminal device can determine target category belonging to target installation kit.
The target installation kit is saved catalogue corresponding to the target category by S210, terminal device.
Optionally, multiple catalogues can be set in the embodiment of the present invention, in terminal device, and a catalogue is one corresponding Classification.
Illustratively, it is assumed that the multiple catalogues being arranged in terminal device are network game catalogue, single-play game catalogue, take out mesh Record, communication catalogue, online shopping catalogue and other catalogues.If terminal device determines that target category belonging to target installation kit is network game Classification, then terminal device can save the target installation kit to the corresponding catalogue of network game classification.
Installation packet inspection method provided in an embodiment of the present invention, by saving target installation kit to the target installation kit institute The corresponding catalogue of the target category of category can be convenient user from the catalogue and be quickly found out the installation kit, and in multiple catalogues Application program is managed, to improve the experience sense of user.
Optionally, in the embodiment of the present invention, after above-mentioned S210, installation kit detection side provided in an embodiment of the present invention Method can also include following S211 and S212.
S211, terminal device receive the second input of user.
Optionally, above-mentioned second input can be to click input, long-pressing input, double-click input or slidably input.
Illustratively, Fig. 7 is a kind of operation chart of the user provided in an embodiment of the present invention to terminal device interface.Such as Shown in Fig. 7, it may include more in this document folder that terminal device can show the icon of a file in the main interface of screen A installation kit.If user wants the installation kit checked in this document folder, user can double-click the icon of this document folder, from And terminal device can receive the double-click input (the i.e. second input) for the icon that user presss from both sides this document, and in response to this second Terminal device is shown as " installation kit-file " interface as shown in Figure 8 by main interface update by input.
S212, terminal device show M item name in response to second input.
Wherein, an item name corresponds at least one installation kit, and at least one the corresponding installation of an item name Packet belongs to a classification.Specifically, each item name is respectively used to one classification of instruction, an item name corresponding at least one A installation kit, and at least one corresponding installation kit of an item name belongs to the classification of item name instruction.M is positive whole Number.
Illustratively, as shown in figure 8, terminal device can respond after terminal device receives the second input of user In second input, multiple item names such as display " network game ", " single machine ", " take-away ", " communication ", " online shopping " and " other ".Into One step, each item name in multiple item name can respectively correspond a control, if user clicks " network game " Control, then terminal device can input the click of " network game " control in response to user, and display is corresponding with " network game " control is somebody's turn to do Multiple installation kits title, thus user multiple installation kit can be managed operation (such as delete installation kit, update Installation kit, the title for changing installation kit carry out installation or mobile installation kit to the corresponding application program of installation kit to other classes Not corresponding catalogue etc.).
Installation packet inspection method provided in an embodiment of the present invention can be convenient user to more by showing M item name Application program in a catalogue is managed, to improve the experience sense of user.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 1, as shown in figure 9, above-mentioned S202 can pass through following S202a- S202d is realized.
S202a, server obtain target installation kit, and parse the target installation kit according to downloading solicited message, to obtain The key message of the target installation kit.
Wherein, above-mentioned key message may include the title of target installation kit, the corresponding target application journey of target installation kit At least one of in the title of sequence and the size of destination application.
S202b, server detect whether the key message matches with presupposed information.
If S202c, key message and presupposed information mismatch, server determines the safety detection to target installation kit Success.
If S202d, key message are matched with presupposed information, server, which determines, loses the safety detection of target installation kit It loses.
Optionally, in the embodiment of the present invention, above-mentioned presupposed information can be the relevant information of rogue program, such as malice journey Title, the title of the installation kit of rogue program, size of rogue program of sequence etc..
Illustratively, server can obtain the relevant information of multiple rogue programs, and be stored according to big data algorithm In server (i.e. server can be using the relevant information of multiple rogue programs as presupposed information).So got in server After the key message of target installation kit, server can be matched the key message with the presupposed information, if crucial Information and presupposed information mismatch, then server determines the safety detection success to target installation kit, and if key message with Presupposed information matching, then server, which determines, fails to the safety detection of target installation kit.
Installation packet inspection method provided in an embodiment of the present invention, server pass through by the key message of target installation kit and in advance If information is matched, can determine to whether target installation kit is safe, and then can determine whether prompt terminal equipment The safety of target installation kit so as to avoid terminal device from being attacked by the rogue program in target installation kit, and then improves The safety of terminal device.
As shown in Figure 10, the embodiment of the present invention provides a kind of terminal device 1000.The terminal device may include sending mould Block 1001 and receiving module 1002.Wherein, sending module 1001, for sending downloading request message to server, which is asked Ask message for request downloading target installation kit;Receiving module 1002 should for receiving the first response message of server transmission First response message is server to sending after the security verification failure of the target installation kit, is wrapped in first response message Instruction information is included, it is abnormal which is used to indicate the target installation kit.
Optionally, in the embodiment of the present invention, receiving module 1002 can be also used for receiving the second response that server is sent Message, second response message are server to sending after the security verification success of target installation kit, which disappears The version number of title and destination application in breath including the corresponding destination application of target installation kit.
Optionally, in the embodiment of the present invention, in conjunction with Figure 10, as shown in figure 11, terminal device provided in an embodiment of the present invention It can also include download module 1003.Receiving module 1002 is also used to after receiving the second response message that server is sent, Receive the first input of user;Download module 1003 is used in response to received first input of receiving module 1002, from service Device downloads target installation kit, and the title that content distributing server is target installation kit setting is updated to target designation, should The version number of title and destination application in target designation including destination application.
Optionally, in the embodiment of the present invention, in conjunction with Figure 11, as shown in figure 12, terminal device provided in an embodiment of the present invention It can also include determining module 1004 and preserving module 1005.Determining module 1004, for dividing content in download module 1003 Hair server is that the title of target installation kit setting is updated to after target designation, according to the target application in the second response message The title of the title of program or the destination application in the target designation of target installation kit, determines belonging to target installation kit Target category;Preserving module 1005, for target installation kit to be saved the target category pair determined to determining module 1004 The catalogue answered.
Optionally, in the embodiment of the present invention, in conjunction with Figure 12, as shown in figure 13, terminal device provided in an embodiment of the present invention It can also include display module 1006.Receiving module 1002 is also used to receive the second input of user;Display module 1006 is used In in response to received second input of receiving module 1002, M item name is shown.Wherein, an item name is corresponding extremely A few installation kit, and at least one corresponding installation kit of an item name belongs to a classification, M is positive integer.
Terminal device provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is each Process, to avoid repeating, which is not described herein again.
The embodiment of the present invention provides a kind of terminal device, due to terminal device to server send downloading request message it Afterwards, server can verify the safety of target installation kit, and in the security verification failure to the target installation kit Afterwards, the response message (i.e. the first response message) of instruction target installation kit exception is sent to terminal device, therefore terminal device can With according to first response message, determination is abandoned downloading the target installation kit, so as to avoid terminal device from being installed by target Rogue program attack in packet, and then improve the safety of terminal device.
As shown in figure 14, the embodiment of the present invention provides a kind of server 1400.The server may include receiving module 1401, detection module 1402 and sending module 1403.Receiving module 1401, the downloading request sent for receiving terminal apparatus disappear Breath, the downloading request message is for requesting downloading target installation kit;Detection module 1402, for being received according to receiving module 1401 The downloading solicited message, obtain target installation kit, and detect the safety of the target installation kit;Sending module 1403, is used for If detection module 1402 fails to the security verification of target installation kit, the first response message is sent to terminal device, this It include instruction information in one response message, it is abnormal which is used to indicate target installation kit.
Optionally, in the embodiment of the present invention, sending module 1403 installs target if can be also used for detection module 1402 The security verification success of packet, then send the second response message to terminal device, includes that target is installed in second response message Wrap the title of corresponding destination application and the version number of destination application.
Optionally, in the embodiment of the present invention, detection module 1402 specifically can be used for parsing target installation kit, to obtain The key message of target installation kit, the key message include the title of target installation kit, the corresponding target application of target installation kit At least one of in the title of program and the size of destination application;And detect the key message whether with presupposed information Match;And if the key message is matched with presupposed information, it is determined that fail to the safety detection of target installation kit;If the key Information and presupposed information mismatch, it is determined that the safety detection success to target installation kit.
Server provided in an embodiment of the present invention can be realized each process that server is realized in above method embodiment, To avoid repeating, which is not described herein again.
The embodiment of the present invention provides a kind of server, due to terminal device to server send downloading request message it Afterwards, server can verify the safety of target installation kit, and in the security verification failure to the target installation kit Afterwards, the response message (i.e. the first response message) that instruction target installation kit exception is sent to terminal device, so that terminal is set It is standby to determine according to first response message and abandon downloading the target installation kit, so as to avoid terminal device by target Rogue program attack in installation kit, and then improve the safety of terminal device.
A kind of hardware structural diagram of Figure 15 terminal device of each embodiment to realize the present invention.As shown in figure 15, The terminal device 1500 includes but is not limited to: radio frequency unit 1501, network module 1502, audio output unit 1503, input are single Member 1504, sensor 1505, display unit 1506, user input unit 1507, interface unit 1508, memory 1509, processing The components such as device 1510 and power supply 1511.It will be understood by those skilled in the art that terminal device structure shown in Figure 15 is not The restriction to terminal device is constituted, terminal device may include components more more or fewer than diagram, or combine certain components, Or different component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, notebook Computer, palm PC, vehicle-mounted terminal equipment, wearable device and pedometer etc..
Wherein, radio frequency unit 1501, for sending downloading request message to server, the downloading request message is for requesting Download target installation kit;And the first response message that server is sent is received, which is server to the mesh It is sent after the security verification failure of mark installation kit, includes instruction information in first response message, which is used for Indicate that the target installation kit is abnormal.
The embodiment of the present invention provides a kind of terminal device, due to terminal device to server send downloading request message it Afterwards, server can verify the safety of target installation kit, and in the security verification failure to the target installation kit Afterwards, the response message (i.e. the first response message) of instruction target installation kit exception is sent to terminal device, therefore terminal device can With according to first response message, determination is abandoned downloading the target installation kit, so as to avoid terminal device from being installed by target Rogue program attack in packet, and then improve the safety of terminal device.
It should be understood that the embodiment of the present invention in, radio frequency unit 1501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1501 can also by wireless communication system and network and other Equipment communication.
Terminal device provides wireless broadband internet by network module 1502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 1503 can be received by radio frequency unit 1501 or network module 1502 or in memory The audio data stored in 1509 is converted into audio signal and exports to be sound.Moreover, audio output unit 1503 can be with Audio output relevant to the specific function that terminal device 1500 executes is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1503 includes loudspeaker, buzzer and receiver etc..
Input unit 1504 is for receiving audio or video signal.Input unit 1504 may include graphics processor (Graphics Processing Unit, GPU) 15041 and microphone 15042, graphics processor 15041 are captured in video In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1506.Through treated the picture frame of graphics processor 15041 It can store in memory 1509 (or other storage mediums) or carried out via radio frequency unit 1501 or network module 1502 It sends.Microphone 15042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1501 in the case where telephone calling model Formula output.
Terminal device 1500 further includes at least one sensor 1505, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 15061, proximity sensor can when terminal device 1500 is moved in one's ear, Close display panel 15061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1506 is for showing information input by user or being supplied to the information of user.Display unit 1506 can Including display panel 15061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 15061.
User input unit 1507 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 1507 include touch panel 15071 with And other input equipments 15072.Touch panel 15071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 15071 or in touch panel Operation near 15071).Touch panel 15071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1510, It receives the order that processor 1510 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 15071.In addition to touch panel 15071, user input unit 1507 can also include Other input equipments 15072.Specifically, other input equipments 15072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 15071 can be covered on display panel 15061, when touch panel 15071 detects After touch operation on or near it, processor 1510 is sent to determine the type of touch event, is followed by subsequent processing device 1510 Corresponding visual output is provided on display panel 15061 according to the type of touch event.Although in Figure 15, touch panel 15071 and display panel 15061 are the functions that outputs and inputs of realizing terminal device as two independent components, but In some embodiments, touch panel 15071 can be integrated with display panel 15061 and realize outputting and inputting for terminal device Function.
Interface unit 1508 is the interface that external device (ED) is connect with terminal device 1500.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 1508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in terminal device 1500 or it can be used in terminal device Data are transmitted between 1500 and external device (ED).
Memory 1509 can be used for storing software program and various data.Memory 1509 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1509 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1510 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 1509, and calls and is stored in storage Data in device 1509 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 1510 may include one or more processing units;Optionally, processor 1510 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1510.
Terminal device 1500 can also include the power supply 1511 (such as battery) powered to all parts, optionally, power supply 1511 can be logically contiguous by power-supply management system and processor 1510, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1500 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including processor 1510 as shown in figure 15, storage Device 1509, is stored in the computer program that can be run on memory 1509 and on processor 1510, which is located It manages when device 1510 executes and realizes each process of above method embodiment, and identical technical effect can be reached, it is no longer superfluous here It states.
Figure 16 is a kind of hardware structural diagram of server provided in an embodiment of the present invention.As shown in figure 16, the service Device 1600 may include: one or more processors 1601, memory 1602, communication interface 1603 and bus 1604.
Wherein, processor 1601 can be used for sending by bus 1604 and 1603 receiving terminal apparatus of communication interface Downloading request message, the downloading request message is for requesting downloading target installation kit;And according to the downloading solicited message, mesh is obtained Installation kit is marked, and detects the safety of the target installation kit;And if fail to the security verification of target installation kit, pass through Bus 1604 and communication interface 1603 send the first response message to terminal device, include instruction letter in first response message Breath, it is abnormal which is used to indicate target installation kit.
In embodiments of the present invention, one or more processors 1601, memory 1602, communication interface 1603 pass through bus 1604 are connected with each other.Wherein, bus 1604 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Bus 1604 can be divided into address bus, data/address bus, control bus etc..For convenient for It indicates, is only indicated with a thick line in Figure 16, it is not intended that an only bus or a type of bus.In addition, service Device 1600 can also include some unshowned functional modules, and details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of server, including processor 1601 shown in Figure 16, memory 1602, it is stored in the computer program that can be run on memory 1602 and on processor 1601, the computer program is processed Each process of above method embodiment is realized when device 1601 executes, and can reach identical technical effect, and which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program, the computer program are executed by processor 1510 as shown in figure 15 or processor 1601 as shown in figure 16 Each process of Shi Shixian above method embodiment, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating It states.Wherein, computer readable storage medium, as read-only memory (Read-Only Memory, abbreviation ROM), arbitrary access are deposited Reservoir (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute the method that each embodiment of the present invention describes.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (19)

1.一种安装包检测方法,其特征在于,应用于终端设备,所述方法包括:An installation package detecting method, which is characterized in that it is applied to a terminal device, and the method includes: 向服务器发送下载请求消息,所述下载请求消息用于请求下载目标安装包;Sending a download request message to the server, where the download request message is used to request to download the target installation package; 接收所述服务器发送的第一响应消息,所述第一响应消息为所述服务器对所述目标安装包的安全性验证失败后发送的,所述第一响应消息中包括指示信息,所述指示信息用于指示所述目标安装包异常。And receiving the first response message sent by the server, where the first response message is sent after the server fails to verify the security of the target installation package, where the first response message includes indication information, where the indication The information is used to indicate that the target installation package is abnormal. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises: 接收所述服务器发送的第二响应消息,所述第二响应消息为所述服务器对所述目标安装包的安全性验证成功后发送的,所述第二响应消息中包括所述目标安装包对应的目标应用程序的名称和所述目标应用程序的版本号。And receiving, by the server, a second response message, where the second response message is sent by the server after the security verification of the target installation package is successful, and the second response message includes the target installation package. The name of the target application and the version number of the target application. 3.根据权利要求2所述的方法,其特征在于,所述接收所述服务器发送的第二响应消息之后,所述方法还包括:The method according to claim 2, wherein after the receiving the second response message sent by the server, the method further comprises: 接收用户的第一输入;Receiving a first input of the user; 响应于所述第一输入,从所述服务器下载所述目标安装包,并将内容分发服务器为所述目标安装包设置的名称更新为目标名称,所述目标名称中包括所述目标应用程序的名称和所述目标应用程序的版本号。Retrieving the target installation package from the server in response to the first input, and updating a name set by the content distribution server for the target installation package to a target name, wherein the target name includes the target application The name and the version number of the target application. 4.根据权利要求3所述的方法,其特征在于,所述将内容分发服务器为所述目标安装包设置的名称更新为目标名称之后,所述方法还包括:The method according to claim 3, after the updating the name set by the content distribution server for the target installation package to the target name, the method further includes: 根据所述第二响应消息中的目标应用程序的名称,或者所述目标安装包的目标名称中的目标应用程序的名称,确定所述目标安装包所属的目标类别;Determining, according to a name of the target application in the second response message, or a name of a target application in a target name of the target installation package, a target category to which the target installation package belongs; 将所述目标安装包保存至所述目标类别对应的目录。The target installation package is saved to a directory corresponding to the target category. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises: 接收用户的第二输入;Receiving a second input of the user; 响应于所述第二输入,显示M个类别名称;Displaying M category names in response to the second input; 其中,一个类别名称对应至少一个安装包,且一个类别名称对应的至少一个安装包属于一个类别,M为正整数。Wherein, one category name corresponds to at least one installation package, and at least one installation package corresponding to one category name belongs to one category, and M is a positive integer. 6.一种安装包检测方法,其特征在于,应用于服务器,所述方法包括:A method for detecting an installation package, which is characterized by being applied to a server, the method comprising: 接收终端设备发送的下载请求消息,所述下载请求消息用于请求下载目标安装包;Receiving a download request message sent by the terminal device, where the download request message is used to request to download a target installation package; 根据所述下载请求信息,获取所述目标安装包,并检测所述目标安装包的安全性;Obtaining the target installation package according to the download request information, and detecting security of the target installation package; 若对所述目标安装包的安全性验证失败,则向所述终端设备发送第一响应消息,所述第一响应消息中包括指示信息,所述指示信息用于指示所述目标安装包异常。If the security verification of the target installation package fails, the first response message is sent to the terminal device, where the first response message includes indication information, where the indication information is used to indicate that the target installation package is abnormal. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises: 若对所述目标安装包的安全性验证成功,则向所述终端设备发送第二响应消息,所述第二响应消息中包括所述目标安装包对应的目标应用程序的名称和所述目标应用程序的版本号。And if the security verification of the target installation package is successful, sending a second response message to the terminal device, where the second response message includes a name of the target application corresponding to the target installation package and the target application. The version number of the program. 8.根据权利要求6或7所述的方法,其特征在于,所述检测所述目标安装包的安全性,包括:The method according to claim 6 or 7, wherein the detecting the security of the target installation package comprises: 解析所述目标安装包,以获取所述目标安装包的关键信息,所述关键信息包括所述目标安装包的名称、所述目标安装包对应的目标应用程序的名称和所述目标应用程序的大小中的至少一项;Parsing the target installation package to obtain key information of the target installation package, where the key information includes a name of the target installation package, a name of a target application corresponding to the target installation package, and a target application At least one of the sizes; 检测所述关键信息是否与预设信息匹配;Detecting whether the key information matches the preset information; 若所述关键信息与所述预设信息匹配,则确定对所述目标安装包的安全性检测失败;If the key information matches the preset information, determining that the security detection of the target installation package fails; 若所述关键信息与所述预设信息不匹配,则确定对所述目标安装包的安全性检测成功。If the key information does not match the preset information, it is determined that the security detection of the target installation package is successful. 9.一种终端设备,其特征在于,所述终端设备包括发送模块和接收模块;A terminal device, characterized in that the terminal device comprises a transmitting module and a receiving module; 所述发送模块,用于向服务器发送下载请求消息,所述下载请求消息用于请求下载目标安装包;The sending module is configured to send a download request message to the server, where the download request message is used to request to download a target installation package; 所述接收模块,用于接收所述服务器发送的第一响应消息,所述第一响应消息为所述服务器对所述目标安装包的安全性验证失败后发送的,所述第一响应消息中包括指示信息,所述指示信息用于指示所述目标安装包异常。The receiving module is configured to receive a first response message sent by the server, where the first response message is sent after the server fails to verify the security of the target installation package, where the first response message is sent. The indication information is used to indicate that the target installation package is abnormal. 10.根据权利要求9所述的终端设备,其特征在于,10. The terminal device according to claim 9, wherein 所述接收模块,还用于接收所述服务器发送的第二响应消息,所述第二响应消息为所述服务器对所述目标安装包的安全性验证成功后发送的,所述第二响应消息中包括所述目标安装包对应的目标应用程序的名称和所述目标应用程序的版本号。The receiving module is further configured to receive a second response message sent by the server, where the second response message is sent by the server after the security verification of the target installation package is successful, and the second response message is sent by the server. The name of the target application corresponding to the target installation package and the version number of the target application are included. 11.根据权利要求10所述的终端设备,其特征在于,所述终端设备还包括下载模块;The terminal device according to claim 10, wherein the terminal device further comprises a downloading module; 所述接收模块,还用于在接收所述服务器发送的所述第二响应消息之后,接收用户的第一输入;The receiving module is further configured to: after receiving the second response message sent by the server, receive a first input of the user; 所述下载模块,用于响应于所述接收模块接收的所述第一输入,从所述服务器下载所述目标安装包,并将内容分发服务器为所述目标安装包设置的名称更新为目标名称,所述目标名称中包括所述目标应用程序的名称和所述目标应用程序的版本号。The downloading module is configured to download the target installation package from the server in response to the first input received by the receiving module, and update a name set by the content distribution server for the target installation package to a target name And the target name includes a name of the target application and a version number of the target application. 12.根据权利要求11所述的终端设备,其特征在于,所述终端设备还包括确定模块和保存模块;The terminal device according to claim 11, wherein the terminal device further comprises a determining module and a saving module; 所述确定模块,用于在所述下载模块将所述内容分发服务器为所述目标安装包设置的名称更新为目标名称之后,根据所述第二响应消息中的目标应用程序的名称,或者所述目标安装包的目标名称中的目标应用程序的名称,确定所述目标安装包所属的目标类别;The determining module, configured to: after the downloading module updates the name set by the content distribution server for the target installation package to a target name, according to a name of the target application in the second response message, or Determining the name of the target application in the target name of the target installation package, and determining the target category to which the target installation package belongs; 所述保存模块,用于将所述目标安装包保存至所述确定模块确定的所述目标类别对应的目录。And the saving module is configured to save the target installation package to a directory corresponding to the target category determined by the determining module. 13.根据权利要求11所述的终端设备,其特征在于,所述终端设备还包括显示模块;The terminal device according to claim 11, wherein the terminal device further comprises a display module; 所述接收模块,还用于接收用户的第二输入;The receiving module is further configured to receive a second input of the user; 所述显示模块,用于响应于所述接收模块接收的所述第二输入,显示M个类别名称;The display module is configured to display M category names in response to the second input received by the receiving module; 其中,一个类别名称对应至少一个安装包,且一个类别名称对应的至少一个安装包属于一个类别,M为正整数。Wherein, one category name corresponds to at least one installation package, and at least one installation package corresponding to one category name belongs to one category, and M is a positive integer. 14.一种服务器,其特征在于,所述服务器包括接收模块、检测模块和发送模块;A server, comprising: a receiving module, a detecting module, and a sending module; 所述接收模块,用于接收终端设备发送的下载请求消息,所述下载请求消息用于请求下载目标安装包;The receiving module is configured to receive a download request message sent by the terminal device, where the download request message is used to request to download a target installation package; 所述检测模块,用于根据所述接收模块接收的所述下载请求信息,获取所述目标安装包,并检测所述目标安装包的安全性;The detecting module is configured to acquire the target installation package according to the download request information received by the receiving module, and detect security of the target installation package; 所述发送模块,用于若所述检测模块对所述目标安装包的安全性验证失败,则向所述终端设备发送第一响应消息,所述第一响应消息中包括指示信息,所述指示信息用于指示所述目标安装包异常。The sending module is configured to send a first response message to the terminal device if the security verification of the target installation package fails, and the first response message includes indication information, where the indication The information is used to indicate that the target installation package is abnormal. 15.根据权利要求14所述的服务器,其特征在于,15. The server of claim 14 wherein: 所述发送模块,还用于若所述检测模块对所述目标安装包的安全性验证成功,则向所述终端设备发送第二响应消息,所述第二响应消息中包括所述目标安装包对应的目标应用程序的名称和所述目标应用程序的版本号。The sending module is further configured to: if the security verification of the target installation package is successful, sending a second response message to the terminal device, where the second response message includes the target installation package The name of the corresponding target application and the version number of the target application. 16.根据权利要求14所述的服务器,其特征在于,16. The server of claim 14 wherein: 所述检测模块,具体用于解析所述目标安装包,以获取所述目标安装包的关键信息,所述关键信息包括所述目标安装包的名称、所述目标安装包对应的目标应用程序的名称和所述目标应用程序的大小中的至少一项;并检测所述关键信息是否与预设信息匹配;以及若所述关键信息与所述预设信息匹配,则确定对所述目标安装包的安全性检测失败;若所述关键信息与所述预设信息不匹配,则确定对所述目标安装包的安全性检测成功。The detecting module is specifically configured to parse the target installation package to obtain key information of the target installation package, where the key information includes a name of the target installation package, and a target application corresponding to the target installation package. And detecting at least one of a name and a size of the target application; and detecting whether the key information matches the preset information; and if the key information matches the preset information, determining to install the package for the target The security detection fails; if the key information does not match the preset information, it is determined that the security detection of the target installation package is successful. 17.一种终端设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的安装包检测方法的步骤。17. A terminal device, comprising: a processor, a memory, and a computer program stored on the memory and operable on the processor, the computer program being implemented by the processor The step of the mounting package detecting method according to any one of claims 1 to 5. 18.一种服务器,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求6至8中任一项所述的安装包检测方法的步骤。18. A server, comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the computer program being executed by the processor to implement the claims The step of the package inspection method described in any one of 6 to 8. 19.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5或者6至8中任一项所述的安装包检测方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement any one of claims 1 to 5 or 6 to 8 The steps of the installation package detection method.
CN201811246086.0A 2018-10-24 2018-10-24 A kind of installation packet inspection method, terminal device and server Pending CN109271779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811246086.0A CN109271779A (en) 2018-10-24 2018-10-24 A kind of installation packet inspection method, terminal device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811246086.0A CN109271779A (en) 2018-10-24 2018-10-24 A kind of installation packet inspection method, terminal device and server

Publications (1)

Publication Number Publication Date
CN109271779A true CN109271779A (en) 2019-01-25

Family

ID=65194394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811246086.0A Pending CN109271779A (en) 2018-10-24 2018-10-24 A kind of installation packet inspection method, terminal device and server

Country Status (1)

Country Link
CN (1) CN109271779A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377363A (en) * 2019-07-17 2019-10-25 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the storage medium of application are installed
CN111221544A (en) * 2020-01-09 2020-06-02 华为技术有限公司 Management method and terminal for pre-installed application software
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN114637986A (en) * 2022-03-22 2022-06-17 中国农业银行股份有限公司 Application identification method and device
CN114706621A (en) * 2019-09-26 2022-07-05 华为技术有限公司 Method for starting fast application and related device
CN119248299A (en) * 2024-09-30 2025-01-03 广东电网有限责任公司广州供电局 Functional design and implementation method for APP Store of intelligent measurement terminal
CN119248299B (en) * 2024-09-30 2025-10-14 广东电网有限责任公司广州供电局 Functional design and implementation method for APP Store of intelligent measurement terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391674A (en) * 2014-09-04 2016-03-09 腾讯科技(深圳)有限公司 Information processing method and system, server, and client
CN105447061A (en) * 2014-09-29 2016-03-30 优视科技有限公司 Method and system for automatically renaming file after downloading
CN106156034A (en) * 2015-03-26 2016-11-23 北京畅游天下网络技术有限公司 The methods of exhibiting of a kind of executable file and device
CN106162648A (en) * 2015-04-17 2016-11-23 上海墨贝网络科技有限公司 A kind of behavioral value method, server and system applying installation kit
US9576130B1 (en) * 2010-06-21 2017-02-21 Pulse Secure, Llc Detecting malware on mobile devices
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal
CN106709323A (en) * 2015-11-12 2017-05-24 中兴通讯股份有限公司 Method and apparatus for identifying cloaked downloading link

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9576130B1 (en) * 2010-06-21 2017-02-21 Pulse Secure, Llc Detecting malware on mobile devices
CN105391674A (en) * 2014-09-04 2016-03-09 腾讯科技(深圳)有限公司 Information processing method and system, server, and client
CN105447061A (en) * 2014-09-29 2016-03-30 优视科技有限公司 Method and system for automatically renaming file after downloading
CN106156034A (en) * 2015-03-26 2016-11-23 北京畅游天下网络技术有限公司 The methods of exhibiting of a kind of executable file and device
CN106162648A (en) * 2015-04-17 2016-11-23 上海墨贝网络科技有限公司 A kind of behavioral value method, server and system applying installation kit
CN106709323A (en) * 2015-11-12 2017-05-24 中兴通讯股份有限公司 Method and apparatus for identifying cloaked downloading link
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377363A (en) * 2019-07-17 2019-10-25 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the storage medium of application are installed
CN114706621A (en) * 2019-09-26 2022-07-05 华为技术有限公司 Method for starting fast application and related device
US12222994B2 (en) 2019-09-26 2025-02-11 Huawei Technologies Co., Ltd. Quick application startup method and related apparatus
CN111221544A (en) * 2020-01-09 2020-06-02 华为技术有限公司 Management method and terminal for pre-installed application software
CN111221544B (en) * 2020-01-09 2022-07-22 荣耀终端有限公司 Management method and terminal for pre-installed application software
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113259161B (en) * 2021-05-11 2024-03-19 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN114637986A (en) * 2022-03-22 2022-06-17 中国农业银行股份有限公司 Application identification method and device
CN119248299A (en) * 2024-09-30 2025-01-03 广东电网有限责任公司广州供电局 Functional design and implementation method for APP Store of intelligent measurement terminal
CN119248299B (en) * 2024-09-30 2025-10-14 广东电网有限责任公司广州供电局 Functional design and implementation method for APP Store of intelligent measurement terminal

Similar Documents

Publication Publication Date Title
US10768881B2 (en) Multi-screen interaction method and system in augmented reality scene
CN109271779A (en) A kind of installation packet inspection method, terminal device and server
CN109194818B (en) Information processing method and terminal
CN109445894A (en) A kind of screenshot method and electronic equipment
CN110224920B (en) Sharing method and terminal equipment
CN109889348A (en) An image sharing method and device
CN109471690B (en) Message display method and terminal equipment
CN110457935B (en) A rights configuration method and terminal device
CN109408150A (en) It is a kind of to apply loading method and mobile terminal fastly
CN109857297A (en) Information processing method and terminal device
CN107908765B (en) A game resource processing method, mobile terminal and server
CN109241775A (en) A kind of method for secret protection and terminal
CN111209031B (en) Data acquisition method, device, terminal equipment and storage medium
CN104573437B (en) Information authentication method and device and terminal
CN110752981A (en) Information control method and electronic equipment
CN107786569A (en) A kind of identifying code sending method, method of reseptance and relevant device
CN109358931A (en) Interface display method and terminal
CN109284144A (en) A fast application processing method and mobile terminal
CN111131607A (en) Information sharing method, electronic device and computer-readable storage medium
CN108320148A (en) A kind of resource transfers method and relevant device
CN106533917B (en) Relation chain processing method, apparatus and system
CN109495638B (en) Information display method and terminal
CN108920040A (en) A kind of application icon method for sorting and mobile terminal
CN108287745A (en) A kind of display methods and terminal device at the interfaces WebApp
CN111510557A (en) Content processing method and electronic equipment

Legal Events

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

Application publication date: 20190125