CN106778213A - A kind of mourning in silence installs the method and terminal of application program - Google Patents

A kind of mourning in silence installs the method and terminal of application program Download PDF

Info

Publication number
CN106778213A
CN106778213A CN201710015166.4A CN201710015166A CN106778213A CN 106778213 A CN106778213 A CN 106778213A CN 201710015166 A CN201710015166 A CN 201710015166A CN 106778213 A CN106778213 A CN 106778213A
Authority
CN
China
Prior art keywords
application
silence
default
mourn
party
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
CN201710015166.4A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710015166.4A priority Critical patent/CN106778213A/en
Publication of CN106778213A publication Critical patent/CN106778213A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method and terminal of application program are installed the embodiment of the invention discloses a kind of mourning in silence, wherein, methods described includes:If detecting the erection schedule of the application of third-party application triggering first, obtain to authorize to mourn in silence and the default application message of other application is installed;Judge whether the third-party application is to authorize to mourn in silence to install the intended application of other application according to the default application message;If the third-party application is to authorize to mourn in silence to install the intended application of other application, the signing messages of the third-party application is obtained;Mourned in silence using the signing messages and first application is installed.Embodiment of the present invention terminal can effectively prevent signing messages from leaking, so as to reduce because signing messages leaks the potential safety hazard of presence.

Description

A kind of mourning in silence installs the method and terminal of application program
Technical field
The method and terminal of application program are installed the present invention relates to electronic technology field, more particularly to a kind of mourning in silence.
Background technology
The fast development of mobile terminal such as smart mobile phone allows operator or third party to be certain about by carrier of smart mobile phone The market that row application program is promoted.Generally, operator or third party by wireless downloading (Over The Air, OTA) without In the case that user permits, the installation application program that need to promote reaches on user mobile phone by force by the way of installation of mourning in silence The purpose of application program marketing.
Installation of mourning in silence at present is main a two ways, one kind be using system signature by installation kit (AndroidPackage, APK) file is installed on mobile device, and another kind is mobile terminal after root authority is obtained, not by the erector of system Directly application program is installed.
Most of third party application (Application, APP) of current mobile terminal can utilize system signature reality Now mourn in silence installation, and in customer upgrade system application, third-party application can be carried out by the system signature of system application Mourn in silence upgrading.
Mourn in silence installation or upgrading are carried out because third-party application can voluntarily get system signature, it is not necessary to system signature Also installation of mourning in silence can be realized, there is the risk that system signature leaks, and there may be illegal application to come using system signature Maleficent situation.
The content of the invention
The embodiment of the present invention provides a kind of mourning in silence and installs the method and terminal of application program, can effectively prevent signing messages Leak, so as to reduce because signing messages leaks the potential safety hazard of presence.
In a first aspect, the embodiment of the invention provides a kind of method mourned in silence and install application program, the method includes:
If detecting the erection schedule of the application of third-party application triggering first, obtain to authorize to mourn in silence and other application is installed Default application message;
Judge whether the third-party application is to authorize to mourn in silence to install the mesh of other application according to the default application message Mark application;
If the third-party application is to authorize to mourn in silence to install the intended application of other application, the third-party application is obtained Signing messages;
Mourned in silence using the signing messages and first application is installed.
On the other hand, a kind of terminal is the embodiment of the invention provides, the terminal includes:
Default application message acquiring unit, if the erection schedule for detecting the application of third-party application triggering first, Obtain to authorize to mourn in silence and the default application message of other application is installed;
Judging unit, for judging whether the third-party application is that mandate is mourned in silence installation according to the default application message The intended application of other application;
Signing messages acquiring unit, if being that the target for authorizing installation other application of mourning in silence is answered for the third-party application With then obtaining the signing messages of the third-party application;
Mourn in silence installation unit, for being mourned in silence installation first application using the signing messages.
If the embodiment of the present invention passes through to detect the erection schedule that third-party application triggers the first application, obtain and authorize quiet The silent default application message for installing other application;Judge whether third-party application is that mandate is mourned in silence installation according to default application message The intended application of other application;If third-party application is to authorize to mourn in silence to install the intended application of other application, third party is obtained The signing messages of application;Mourned in silence using signing messages and the first application is installed.Due to pre-set mandate mourn in silence installation other should Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, can so have Effect is prevented in the case where unauthorized third-party application mourns in silence installation other application, and other application obtains the label of the third-party application Name information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, embodiment will be described below needed for be used Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for installing application program of mourning in silence provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of method for installing application program of mourning in silence that another embodiment of the present invention is provided;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal schematic block diagram that another embodiment of the present invention is provided;
Fig. 5 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " and "comprising" instruction The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole The presence or addition of body, step, operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more in the associated item listed and be possible to combination, and including these combinations.
As in this specification and in the appended claims as use, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc are just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, describe to include the terminal of display and touch sensitive surface.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as it is following in one or more:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can be public using at least one of such as touch sensitive surface Physical user-interface device.Can be adjusted among applications and/or in corresponding application programs and/or changed and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) can support that there are the various application programs of user interface directly perceived and transparent for a user.
Fig. 1 is referred to, Fig. 1 is a kind of exemplary flow of method for installing application program of mourning in silence provided in an embodiment of the present invention Figure.The executive agent of the method for installing application program of being mourned in silence in the present embodiment is terminal.Terminal can be mobile phone, panel computer etc. Mobile terminal, but this is not limited to, can also be that other can install the terminal of third party application, it is not limited herein. Terminal can be Android android operating systems, or windows operating systems, or IOS.As shown in Figure 1 Mourn in silence install application program method may include following steps:
S101:If detecting the erection schedule of the application of third-party application triggering first, acquisition mandate is mourned in silence and installs other The default application message of application.
Terminal in normal work, monitor the behavior that application program is installed in ccf layer by application layer, and When listening to the erection schedule of the application of third-party application triggering first, the mandate that acquisition pre-sets is mourned in silence and installs other application Default application message.
Wherein, the 3rd application can be the application, or the conjunction with terminal operators in co-operation of terminal operator exploitation The application of work side's exploitation, is not limited herein.
The default application message includes the signing messages for installing package informatin and default application of default application, signing messages Application is installed for authorizing.The number of default application can be one, or at least two, not be limited herein.First Using any application for the installation that needs by third-party application mourn in silence.
The default application letter of other application is installed it is understood that having prestored default mandate in terminal and having mourned in silence Breath, or the default application message for authorizing installation other application of mourning in silence for prestoring can be obtained from server.
In server store mandates mourn in silence installation other application default application message can be opening for third-party application Hair business is supplied to the developer/operator of terminal, is arranged in respective server by the developer/operator of terminal Arrive.Default application message can carry out real-time or regular/irregular renewal.
The default application message of other application is installed when terminal needs the mandate that acquisition is prestored from server to mourn in silence When, terminal can change ccf layer, be communicated to connect with realizing being set up with server machine under starting up of terminal or predetermined condition, will take The default mandate stored in business device is mourned in silence and installs the default application message of other application, is synchronized to terminal.
S102:Judge whether the third-party application is that mandate is mourned in silence installation other application according to the default application message Intended application.
Terminal searches the information matched with third-party application from the default application message for getting, to judge that third party should With whether be authorize mourn in silence install other application intended application.Being searched from the default application message for getting should with third party Information with matching can be searched and third-party application in the installation package informatin of the default application included from default application message The installation package informatin for matching.
Wherein, when terminal finds the information matched with third-party application in the default application message for getting, identification For third-party application is to authorize to mourn in silence to install the intended application of other application.
When terminal does not find the information matched with third-party application in the default application message for getting, is identified as Tripartite's application is not to authorize to mourn in silence to install the intended application of other application.
Terminal is when authorizing to mourn in silence the intended application for installing other application, to perform step S103 third-party application is confirmed; Terminal is not no thoroughfare third-party application when authorizing to mourn in silence the intended application for installing other application third-party application is confirmed Mourn in silence installation any other application.
S103:If the third-party application is to authorize to mourn in silence to install the intended application of other application, the described 3rd is obtained The signing messages of Fang Yingyong.
Terminal is when authorizing to mourn in silence the intended application for installing other application, to authorize quiet from default third-party application is confirmed The signing messages of the third-party application is obtained in the silent default application message for installing other application.
S104:Mourned in silence using the signing messages and first application is installed.
Terminal starts erection schedule of mourning in silence, and calls to mourn in silence and installs the communication interface of application, and uses the A.L.S. for getting Breath is mourned in silence and installs the first application.
Such scheme, if terminal detects the erection schedule of the application of third-party application triggering first, obtains mandate and mourns in silence The default application message of other application is installed;According to default application message judge third-party application whether be mandate mourn in silence installation its The intended application that he applies;If third-party application is to authorize to mourn in silence to install the intended application of other application, obtaining third party should Signing messages;Mourned in silence using signing messages and the first application is installed.Mourned in silence installation other application due to pre-setting mandate Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, so can be effective Prevent in the case where unauthorized third-party application mourns in silence installation other application, other application obtains the signature of the third-party application Information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Refer to Fig. 2, Fig. 2 is that another kind provided in an embodiment of the present invention is mourned in silence the signal stream of the method for installing application program Cheng Tu.The executive agent of the method for installing application program of being mourned in silence in the present embodiment is terminal.Terminal can be mobile phone, panel computer Deng mobile terminal, but this is not limited to, can also be that other can install the terminal of third party application, do not limited herein System.Terminal can be Android android operating systems, or windows operating systems, or IOS.Such as Fig. 1 The method of shown installation application program of mourning in silence may include following steps:
S201:Obtain default white list in server.
White list is stored in server, wherein, white list includes that what is pre-set authorizes installation other application of mourning in silence Default application message, presetting application message includes each self-corresponding installation kit mark of default application and signing messages.It is default Using can be one, or at least two, be not limited herein.
3rd application can be the application of terminal operator exploitation, or be opened with the partner of terminal operators in co-operation The application of hair, is not limited herein.
When the 3rd application is the application developed with the partner of terminal operators in co-operation, the mandate stored in server is quiet The silent default application message for installing other application can be that the developer of third-party application is supplied to the developer/operation of terminal Business, is configured by the developer/operator of terminal in respective server.Default application message can be carried out in real time Or periodically/irregularly update.
For example, developer/the operator of terminal is during with the cooperation of the developer of third-party application, can be corresponding Third-party application information adds white list, when cooperation is released, can be by corresponding third-party application information removing, after removal The third-party application cannot mourn in silence and install application, realize that dynamic control mandate is mourned in silence and install the third-party application of other application.
Terminal can change ccf layer, in terminal operating boot program or default with server communication triggering is detected During operation, set up with server machine and communicated to connect, the white list that will store in server is synchronized in terminal, so that by white list In mandate mourn in silence install other application default application message be synchronized to terminal.
It is understood that the white list can terminal active obtaining, or server actively send, this Place is not limited.
Alternatively, after step S201, the method for installation application program of mourning in silence may also include:Modification configuration file, if Put for identifying whether to allow the default application in the white list mourn in silence the system variable of installation.
For example, terminal modifications android rom systems, the configuration file under positioned at root Authority android.permission.INSTALL_PACKAGES is added in AndroidManifest.xml, and is provided for mark Whether knowledge allows the default application in white list mourn in silence the system variable of installation.
S202:If detecting the erection schedule of the application of third-party application triggering first, institute is obtained from the white list State to authorize to mourn in silence and the default application message of other application is installed.
Terminal in normal work, monitor the behavior that application program is installed in ccf layer by application layer, and Listen to third-party application triggering first application erection schedule when, obtained from white list it is default mandate mourn in silence installation other The default application message of application.
Wherein, the default application message includes the signing messages for installing package informatin and default application of default application, signs Name information is used to authorize installs application.The number of default application can be one, or at least two, not limit herein System.First application is any application of the installation that needs by third-party application mourn in silence.
It is understood that the erection schedule of the first application can be erection schedule, or Upgrade process first.
Further, after default white list in obtaining server, terminal modifications configuration file is provided for mark Whether allow the default application in the white list mourn in silence installation system variable when, step S202 can include:If inspection The erection schedule of the application of third-party application triggering first is measured, then reads the system variable;If the system variable mark permits Perhaps the default application in described white list carries out installation of mourning in silence, then obtained from the white list it is described mandate mourn in silence installation other The default application message of application.
For example, terminal is in normal work, get in server after default white list, application layer is to ccf layer The middle behavior for installing application program is monitored, and when the erection schedule of the application of third-party application triggering first is listened to, is read The system variable is taken, to judge that whether the corresponding default application allowed in white list of the system variable carries out installation of mourning in silence.
If the default application in system variable mark permission white list carries out installation of mourning in silence, institute is obtained from white list State to authorize to mourn in silence and the default application message of other application is installed.
If system variable mark does not allow the default application in white list to carry out installation of mourning in silence, installation interface has been called Communication interface, prompt the user whether to be installed.
S203:Judge whether the third-party application is that mandate is mourned in silence installation other application according to the default application message Intended application.
Terminal searches the information matched with third-party application from the default application message for getting, to judge that third party should With whether be authorize mourn in silence install other application intended application.Being searched from the default application message for getting should with third party Information with matching can be searched and third-party application in the installation package informatin of the default application included from default application message The installation package informatin for matching.
Wherein, when terminal finds the information matched with third-party application in the default application message for getting, identification For third-party application is to authorize to mourn in silence to install the intended application of other application.
When terminal does not find the information matched with third-party application in the default application message for getting, is identified as Tripartite's application is not to authorize to mourn in silence to install the intended application of other application.
Terminal is when authorizing to mourn in silence the intended application for installing other application, to perform step S204 third-party application is confirmed; Terminal is not no thoroughfare third-party application when authorizing to mourn in silence the intended application for installing other application third-party application is confirmed Mourn in silence installation any other application.
S204:If the third-party application is to authorize to mourn in silence to install the intended application of other application, the described 3rd is obtained The signing messages of Fang Yingyong.
Terminal is when authorizing to mourn in silence the intended application for installing other application, to authorize quiet from default third-party application is confirmed The signing messages of the third-party application is obtained in the silent default application message for installing other application.
S205:Mourned in silence using the signing messages and first application is installed.
Terminal starts erection schedule of mourning in silence, and calls to mourn in silence and installs the communication interface of application, and uses the A.L.S. for getting Breath is initiated to mourn in silence and installs the process of the first application.
S206:The information of successful second application is newly installed in acquisition.
Terminal after the process for installing the first application of being mourned in silence using the signing messages for getting initiation, note by third-party application One Android system broadcast android.intent.action.PACKAGE_ADDED of volume, the system broadcasts are used to monitor new The installation kit mark of successfully application is installed, and the wait set-up time is set.Terminal is confirming current time arrival or will arrive During finish time corresponding up to the wait set-up time, what acquisition system sent is for what mark had newly installed successfully the second application System is notified.
Wherein, it can be 15 seconds to wait the set-up time, but is not limited to this, and the wait set-up time is needed according to installation kit Size be configured.Second application refers to the application of new installation.
Terminal obtains the letter for newly installing successful second application when the notifications are got from the notifications Breath, and judge whether the information for newly installing successful second application matches with the first application.
Terminal performs step S207 when confirming that the information for newly installing successful second application matches with the first application. Terminal confirms that the first application mourns in silence to install and loses in the information and the first application mismatch for confirming newly to install successful second application Lose.
S207:If the information of second application matches with the described first application, it is identified as successfully installing described the One application.
Terminal is identified as successfully installing when confirming that the information for newly installing successful second application matches with the first application First application.
Further, step S207 can include:If it is described second application installation kit title and version number with it is described The installation kit title of the first application and version number are consistent, then be identified as successfully installing first application.
For example, terminal enters one when the installation kit title for confirming the second application is consistent with the installation kit title of the first application Step judge second application version number with first application version number it is whether consistent, when confirmation second apply installation kit title and The installation kit title of the first application is consistent, and the second application the version number that is applied with first of version number it is also consistent when, be identified as First has successfully been installed to apply.
Such scheme, if terminal detects the erection schedule of the application of third-party application triggering first, obtains mandate and mourns in silence The default application message of other application is installed;According to default application message judge third-party application whether be mandate mourn in silence installation its The intended application that he applies;If third-party application is to authorize to mourn in silence to install the intended application of other application, obtaining third party should Signing messages;Mourned in silence using signing messages and the first application is installed.Mourned in silence installation other application due to pre-setting mandate Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, so can be effective Prevent in the case where unauthorized third-party application mourns in silence installation other application, other application obtains the signature of the third-party application Information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Terminal can be mourned in silence installation other application by third-party application, update interface, resource of other application etc..
By setting white list, can be by the installation kit APK integrated softwares development kits (Software of third-party application Development Kit, SDK) with the more new system APK that mourns in silence.Wherein, SDK is that some are used to be specific by software engineer Software kit, software frame, hardware platform, operating system etc. set up the set of the developing instrument of application software.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal can be mobile phone, put down The mobile terminals such as plate computer, but this is not limited to, can also be other-end, it is not limited herein.The terminal 300 of the present embodiment Including each unit be used to perform each step in the corresponding embodiments of Fig. 1, specifically refer to the corresponding implementations of Fig. 1 and Fig. 1 Associated description in example, does not repeat herein.The terminal of the present embodiment includes:Default application message acquiring unit 310, judging unit 320th, signing messages acquiring unit 330 and installation unit 340 of mourning in silence.
If default application message acquiring unit 310 is used to detect the erection schedule of the application of third-party application triggering first, Then obtain to authorize to mourn in silence and the default application message of other application is installed.
Such as, if default application message acquiring unit 310 detects the erection schedule of the application of third-party application triggering first, Then obtain to authorize to mourn in silence and the default application message of other application is installed.
Default application message acquiring unit 310 will authorize the default application message for installing other application of mourning in silence to judging unit 320 send.
Judging unit 320 is used to receiving the mandate that default application message acquiring unit 310 sends and mourns in silence installation other application Default application message, according to the default application message judge the third-party application whether be mandate mourn in silence installation other should Intended application.
Such as, judging unit 320 receives the mandate that default application message acquiring unit 310 sends and mourns in silence installation other application Default application message, according to the default application message judge the third-party application whether be mandate mourn in silence installation other should Intended application.
Judging unit 320 will determine that result sends to signing messages acquiring unit 330.
Signing messages acquiring unit 330 is used to receive the judged result of the transmission of judging unit 320, if judged result is described Third-party application is to authorize to mourn in silence to install the intended application of other application, then obtain the signing messages of the third-party application.
Such as, signing messages acquiring unit 330 receives the judged result that judging unit 320 sends, if judged result is institute It is to authorize to mourn in silence to install the intended application of other application to state third-party application, then obtain the signing messages of the third-party application.
Signing messages acquiring unit 330 sends signing messages to installation unit 340 of mourning in silence.
Installation unit 340 of mourning in silence is used to receive the signing messages of the transmission of signing messages acquiring unit 330, uses the signature Information is mourned in silence and installs first application.
Such as, installation unit 340 of mourning in silence receives the signing messages that signing messages acquiring unit 330 sends, and uses the label Name information is mourned in silence and installs first application.
Such scheme, if terminal detects the erection schedule of the application of third-party application triggering first, obtains mandate and mourns in silence The default application message of other application is installed;According to default application message judge third-party application whether be mandate mourn in silence installation its The intended application that he applies;If third-party application is to authorize to mourn in silence to install the intended application of other application, obtaining third party should Signing messages;Mourned in silence using signing messages and the first application is installed.Mourned in silence installation other application due to pre-setting mandate Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, so can be effective Prevent in the case where unauthorized third-party application mourns in silence installation other application, other application obtains the signature of the third-party application Information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram of terminal that another embodiment of the present invention is provided.Terminal can be hand The mobile terminals such as machine, panel computer, but this is not limited to, can also be other-end, it is not limited herein.The end of the present embodiment The each unit that end 400 includes is used for each step performed in the corresponding embodiments of Fig. 2, specifically refers to Fig. 2 and Fig. 2 is corresponding Associated description in embodiment, does not repeat herein.The terminal 400 of the present embodiment includes:White list acquiring unit 410, setting are single Unit 420, default application message acquiring unit 430, judging unit 440, signing messages acquiring unit 450, installation unit of mourning in silence 460th, mount message acquiring unit 470 and authentication unit 480.
White list acquiring unit 410 is used to obtain default white list in server;Wherein, the white list includes described Mandate is mourned in silence and installs the default application message of other application, and the default application message includes that the default application is each self-corresponding Installation kit is identified and signing messages.
Such as, white list acquiring unit 410 obtains default white list in server;Wherein, the white list includes institute State to authorize to mourn in silence and the default application message of other application is installed, the default application message includes the default application each correspondence Installation kit mark and signing messages.
White list acquiring unit 410 sends white list information to default application message acquiring unit 310, and is obtaining To during white list announcement information is sent to setting unit 420.
Setting unit 420 is used to receive the announcement information of the transmission of white list acquiring unit 410, changes configuration file, sets For identifying whether to allow the default application in the white list mourn in silence the system variable of installation.
Such as, setting unit 420 receives the announcement information that white list acquiring unit 410 sends, and changes configuration file, sets For identifying whether to allow the default application in the white list mourn in silence the system variable of installation.Setting unit 420 will be System variable information sends to default application message acquiring unit 430.
Default application message acquiring unit 430 is used to receive the white list information of the transmission of white list acquiring unit 410, if inspection Measure third-party application triggering first application erection schedule, then obtained from the white list it is described mandate mourn in silence installation other The default application message of application.
Such as, if default application message acquiring unit 430 receives the white list information inspection that white list acquiring unit 410 sends The erection schedule of the application of third-party application triggering first is measured, is then obtained to authorize to mourn in silence and the default application letter of other application is installed Breath.
Further, presetting application message acquiring unit 430 is used to receive the white list of the transmission of white list acquiring unit 410 Information, and the system variable information that setting unit 420 sends is received, if detecting the peace of the application of third-party application triggering first Journey is put into, then reads the system variable;If it is quiet that the system variable mark allows the default application in the white list to carry out It is silent to install, then the mandate is obtained from the white list mourn in silence and the default application message of other application is installed.
Default application message acquiring unit 430 will authorize the default application message for installing other application of mourning in silence to judging unit 440 send.
Judging unit 440 is used to receiving the mandate that default application message acquiring unit 430 sends and mourns in silence installation other application Default application message, according to the default application message judge the third-party application whether be mandate mourn in silence installation other should Intended application.
Such as, judging unit 440 receives the mandate that default application message acquiring unit 430 sends and mourns in silence installation other application Default application message, according to the default application message judge the third-party application whether be mandate mourn in silence installation other should Intended application.
Judging unit 440 will determine that result sends to signing messages acquiring unit 450.
Signing messages acquiring unit 450 is used to receive the judged result of the transmission of judging unit 440, if judged result is described Third-party application is to authorize to mourn in silence to install the intended application of other application, then obtain the signing messages of the third-party application.
Such as, signing messages acquiring unit 450 receives the judged result that judging unit 440 sends, if judged result is institute It is to authorize to mourn in silence to install the intended application of other application to state third-party application, then obtain the signing messages of the third-party application.
Signing messages acquiring unit 450 sends signing messages to installation unit 460 of mourning in silence.
Installation unit 460 of mourning in silence is used to receive the signing messages of the transmission of signing messages acquiring unit 450, uses the signature Information is mourned in silence and installs first application.Such as, installation unit 460 of mourning in silence receives the label that signing messages acquiring unit 450 sends Name information, is mourned in silence using the signing messages and installs first application.Installation unit 460 mourn in silence to mount message acquiring unit 470 send announcement information.
Mount message acquiring unit 470 is used to receive the announcement information of the transmission of installation unit 460 of mourning in silence, and acquisition is newly mounted to The information of the second application of work(.Mount message acquiring unit 470 sends the information of the second application to authentication unit 480.
Authentication unit 480 is used to receive the information of the second application of the transmission of mount message acquiring unit 470, if described second The information of application matches with the described first application, then be identified as successfully installing first application.
Further, if authentication unit 480 is used for installation kit title and the version number and described the of the described second application The installation kit title of one application and version number are consistent, then be identified as successfully installing first application.
Such scheme, if terminal detects the erection schedule of the application of third-party application triggering first, obtains mandate and mourns in silence The default application message of other application is installed;According to default application message judge third-party application whether be mandate mourn in silence installation its The intended application that he applies;If third-party application is to authorize to mourn in silence to install the intended application of other application, obtaining third party should Signing messages;Mourned in silence using signing messages and the first application is installed.Mourned in silence installation other application due to pre-setting mandate Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, so can be effective Prevent in the case where unauthorized third-party application mourns in silence installation other application, other application obtains the signature of the third-party application Information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Terminal can be mourned in silence installation other application by third-party application, update interface, resource of other application etc..
By setting white list, can be by the installation kit APK integrated softwares development kits (Software of third-party application Development Kit, SDK) with the more new system APK that mourns in silence.Wherein, SDK is that some are used to be specific by software engineer Software kit, software frame, hardware platform, operating system etc. set up the set of the developing instrument of application software.
Referring to Fig. 5, Fig. 5 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.This implementation as depicted Terminal 500 in example can include:One or more processors 510;One or more input equipments 520, one or more are defeated Go out equipment 530 and memory 540.Above-mentioned processor 510, input equipment 520, output equipment 530 and memory 540 pass through bus 550 connections.
Memory 540 is instructed for storage program.
The programmed instruction that processor 510 is used to be stored according to memory 540 performs following operation:
If processor 510 is used to detect the erection schedule of the application of third-party application triggering first, obtains mandate and mourn in silence The default application message of other application is installed.
Processor 510 is additionally operable to judge whether the third-party application is that mandate is mourned in silence peace according to the default application message Fill the intended application of other application.
If it is to authorize to mourn in silence to install the intended application of other application that processor 510 is additionally operable to the third-party application, obtain Take the signing messages of the third-party application.
Processor 510 be also used for the signing messages mourn in silence installation it is described first application.
Further, processor 510 is additionally operable to obtain default white list in server;Wherein, the white list includes The mandate is mourned in silence and installs the default application message of other application, and the default application message includes that the default application is each right The installation kit mark and signing messages answered;And if for detect third-party application triggering first application erection schedule, Then obtained from the white list it is described mandate mourn in silence install other application default application message.
Further, processor 510 is additionally operable to change configuration file, in being provided for identifying whether allowing the white list Default application mourn in silence the system variable of installation;If detecting the erection schedule of the application of third-party application triggering first, Read the system variable;If the default application in the system variable mark permission white list carries out installation of mourning in silence, Obtained from the white list it is described mandate mourn in silence install other application default application message.
Further, processor 510 is additionally operable to obtain the information for newly installing successful second application;If second application Information match with the described first application, then be identified as successfully installing first application.
Further, if processor 510 specifically for described second application installation kit title and version number with it is described The installation kit title of the first application and version number are consistent, then be identified as successfully installing first application.
Such scheme, if terminal detects the erection schedule of the application of third-party application triggering first, obtains mandate and mourns in silence The default application message of other application is installed;According to default application message judge third-party application whether be mandate mourn in silence installation its The intended application that he applies;If third-party application is to authorize to mourn in silence to install the intended application of other application, obtaining third party should Signing messages;Mourned in silence using signing messages and the first application is installed.Mourned in silence installation other application due to pre-setting mandate Default application message so that the third-party application for only authorizing just is allowed to startup and mourns in silence erection schedule, so can be effective Prevent in the case where unauthorized third-party application mourns in silence installation other application, other application obtains the signature of the third-party application Information carries out installation of mourning in silence, and effectively reduces the incipient fault for data security caused because the signing messages of third-party application is compromised.
Terminal can be mourned in silence installation other application by third-party application, update interface, resource of other application etc..
By setting white list, can be by the installation kit APK integrated softwares development kits (Software of third-party application Development Kit, SDK) with the more new system APK that mourns in silence.Wherein, SDK is that some are used to be specific by software engineer Software kit, software frame, hardware platform, operating system etc. set up the set of the developing instrument of application software.
It should be appreciated that in embodiments of the present invention, alleged processor 510 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be any conventional processor etc..
Input equipment 520 can include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for gathering user Directional information), microphone etc., output equipment 530 can be including display (LCD etc.), loudspeaker etc..
The memory 540 can include read-only storage and random access memory, and to processor 510 provide instruction and Data.The a part of of memory 540 can also include nonvolatile RAM.For example, memory 540 can also be deposited Store up the information of device type.
In implementing, processor 510, input equipment 520 described in the embodiment of the present invention, output equipment 530 can Perform described in the first embodiment and second embodiment of the method mourned in silence and install application program provided in an embodiment of the present invention Implementation, also can perform the embodiment of the present invention described by terminal implementation, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized, with electronic hardware, computer software or the combination of the two in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection, or electricity, machinery or other forms connections.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Unit in embodiment of the present invention terminal can according to actual needs be merged, divides and deleted.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. it is a kind of mourn in silence install application program method, it is characterised in that methods described includes:
If detecting the erection schedule of the application of third-party application triggering first, obtain to authorize to mourn in silence and the default of other application is installed Application message;
Judge whether the third-party application is that the target for authorizing installation other application of mourning in silence is answered according to the default application message With;
If the third-party application is to authorize to mourn in silence to install the intended application of other application, the label of the third-party application are obtained Name information;
Mourned in silence using the signing messages and first application is installed.
2. method according to claim 1, it is characterised in that if described detect third-party application triggering first application Erection schedule, then obtain before authorizing the default application message for installing other application of mourning in silence, and methods described also includes:
Obtain default white list in server;Wherein, the white list is mourned in silence including the mandate and installs the pre- of other application If application message, the default application message includes each self-corresponding installation kit mark of the default application and signing messages;
If the erection schedule for detecting the application of third-party application triggering first, obtain to authorize to mourn in silence and other application is installed Default application message includes:
Obtained from the white list it is described mandate mourn in silence install other application default application message.
3. method according to claim 2, it is characterised in that in the acquisition server after default white list, institute Stating method also includes:
Modification configuration file, is provided for identifying whether to allow the default application in the white list mourn in silence the system of installation Variable;
It is described obtained from the white list it is described mandate mourn in silence install other application default application message include:
If detecting the erection schedule of the application of third-party application triggering first, the system variable is read;
If the default application in the system variable mark permission white list carries out installation of mourning in silence, from the white list The acquisition mandate is mourned in silence and installs the default application message of other application.
4. the method according to any one of claims 1 to 3, it is characterised in that described to be mourned in silence peace using the signing messages Fill after first application, methods described also includes:
The information of successful second application is newly installed in acquisition;
If the information of second application matches with the described first application, it is identified as that first application is successfully installed.
5. method according to claim 4, it is characterised in that if the information of second application should with described first With matching, then it is identified as successfully installing described first and applying including:
If the installation kit title of installation kit title and version number with the described first application of second application and version number It is consistent, then it is identified as that first application is successfully installed.
6. a kind of terminal, it is characterised in that the terminal includes:
Default application message acquiring unit, if the erection schedule for detecting the application of third-party application triggering first, obtains Mandate is mourned in silence and installs the default application message of other application;
Judging unit, for according to the default application message judge the third-party application whether be mandate mourn in silence installation other The intended application of application;
Signing messages acquiring unit, if being to authorize to mourn in silence to install the intended application of other application for the third-party application, Obtain the signing messages of the third-party application;
Mourn in silence installation unit, for being mourned in silence installation first application using the signing messages.
7. terminal according to claim 6, it is characterised in that the terminal also includes:
White list acquiring unit, for obtaining default white list in server;Wherein, the white list includes that the mandate is quiet The silent default application message for installing other application, the default application message includes default each self-corresponding installation kit of application Mark and signing messages;
If the default application message acquiring unit is specifically for detecting the erection schedule that third-party application triggering first is applied, Then obtained from the white list it is described mandate mourn in silence install other application default application message.
8. terminal according to claim 7, it is characterised in that the terminal also includes:
Setting unit, for changing configuration file, is provided for identifying whether allowing the default application in the white list to carry out Mourn in silence the system variable of installation;
If the default application message acquiring unit is specifically for detecting the erection schedule that third-party application triggering first is applied, Then read the system variable;If the default application in the system variable mark permission white list carries out installation of mourning in silence, Then obtained from the white list it is described mandate mourn in silence install other application default application message.
9. the terminal according to any one of claim 6 to 8, it is characterised in that the terminal also includes:
Mount message acquiring unit, the information of successful second application is newly installed for obtaining;
Authentication unit, if matching for the information and the described first application of the described second application, is identified as successfully installing institute State the first application.
10. terminal according to claim 9, it is characterised in that if the authentication unit is specifically for the described second application Installation kit title and version number with described first application installation kit title and version number it is consistent, then be identified as successfully First application is installed.
CN201710015166.4A 2017-01-06 2017-01-06 A kind of mourning in silence installs the method and terminal of application program Pending CN106778213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710015166.4A CN106778213A (en) 2017-01-06 2017-01-06 A kind of mourning in silence installs the method and terminal of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710015166.4A CN106778213A (en) 2017-01-06 2017-01-06 A kind of mourning in silence installs the method and terminal of application program

Publications (1)

Publication Number Publication Date
CN106778213A true CN106778213A (en) 2017-05-31

Family

ID=58948554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710015166.4A Pending CN106778213A (en) 2017-01-06 2017-01-06 A kind of mourning in silence installs the method and terminal of application program

Country Status (1)

Country Link
CN (1) CN106778213A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324887A (en) * 2020-02-25 2020-06-23 广东天波信息技术股份有限公司 Installation control method and device for application program
CN113312591A (en) * 2021-05-28 2021-08-27 杭州迈冲科技有限公司 Control method and device based on Android system application white list
CN114398048A (en) * 2022-03-25 2022-04-26 深圳市星卡科技有限公司 Method and device for automatically upgrading APP and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049692A (en) * 2012-11-19 2013-04-17 北京小米科技有限责任公司 Application installation method, device and facility
CN105740021A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Installation method and device of application program
CN105843647A (en) * 2016-03-28 2016-08-10 上海斐讯数据通信技术有限公司 Application installation method and device
CN105893082A (en) * 2016-03-28 2016-08-24 上海斐讯数据通信技术有限公司 Application installation system and method
CN106095481A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 One is mourned in silence set up applications processing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049692A (en) * 2012-11-19 2013-04-17 北京小米科技有限责任公司 Application installation method, device and facility
CN105740021A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Installation method and device of application program
CN105843647A (en) * 2016-03-28 2016-08-10 上海斐讯数据通信技术有限公司 Application installation method and device
CN105893082A (en) * 2016-03-28 2016-08-24 上海斐讯数据通信技术有限公司 Application installation system and method
CN106095481A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 One is mourned in silence set up applications processing method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324887A (en) * 2020-02-25 2020-06-23 广东天波信息技术股份有限公司 Installation control method and device for application program
CN113312591A (en) * 2021-05-28 2021-08-27 杭州迈冲科技有限公司 Control method and device based on Android system application white list
CN114398048A (en) * 2022-03-25 2022-04-26 深圳市星卡科技有限公司 Method and device for automatically upgrading APP and computer equipment

Similar Documents

Publication Publication Date Title
CN108460273B (en) Application management method of terminal, application server and terminal
CN108241500B (en) Method, device and system for repairing hardware component and storage medium
US8484728B2 (en) Managing securely installed applications
EP1438657B1 (en) Safe application distribution and execution in a wireless environment
KR20080098431A (en) System and method for downloading user interface components to wireless devices
CN107846511A (en) A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN106355081A (en) Android program start verification method and device
KR20040028597A (en) Test enabled application execution
CN104375857B (en) A kind of application program runs the method for Multi-instance, device and terminating unit
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN106066803B (en) application program operation control method and device
CN107870793B (en) Method and device for loading SO file in application program
Sellwood et al. Sleeping android: The danger of dormant permissions
CN106778213A (en) A kind of mourning in silence installs the method and terminal of application program
WO2014117652A1 (en) Method and device for preventing application in an operating system from being uninstalled
CN107656750A (en) Update of plug-in method and device
CN114968776A (en) Application program detection method and device
CN105786636A (en) System repairing method and device
CN108304697B (en) Method and device for detecting APP secondary packaging and mobile terminal
CN107992379A (en) A kind of method, mobile terminal and computer-readable medium for reading data message
CN107479923A (en) Application program updating method, apparatus and display terminal
CN107315947A (en) Pay class application management method, device and mobile terminal
CN101770553B (en) Mobile terminal and calling method for root certificate in mobile terminal
CN112882733B (en) Application updating method and device, electronic equipment and storage medium
CN105451233A (en) Anti-monitoring method and system and mobile terminal

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200825

AD01 Patent right deemed abandoned