CN106022101A - Application management method and terminal - Google Patents

Application management method and terminal Download PDF

Info

Publication number
CN106022101A
CN106022101A CN201610327920.3A CN201610327920A CN106022101A CN 106022101 A CN106022101 A CN 106022101A CN 201610327920 A CN201610327920 A CN 201610327920A CN 106022101 A CN106022101 A CN 106022101A
Authority
CN
China
Prior art keywords
intended application
application
terminal
bag name
notice
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.)
Granted
Application number
CN201610327920.3A
Other languages
Chinese (zh)
Other versions
CN106022101B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610327920.3A priority Critical patent/CN106022101B/en
Publication of CN106022101A publication Critical patent/CN106022101A/en
Application granted granted Critical
Publication of CN106022101B publication Critical patent/CN106022101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/552Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the invention provide an application management method and a terminal. The method comprises the steps that the terminal obtains a target application with a notification reading right of a system, wherein the system triggers the target application to be started when a new notification occurs; and the terminal obtains an application package name of the target application, judges whether the target application meets a preset condition or not according to the package name of the target application, and can disable the notification reading right of the target application when the target application meets the preset condition, so that the terminal system no longer trigger the target application to be started when the new notification occurs. Through the embodiments of the method and the terminal, application startup and a system monitoring behavior can be effectively limited, so that the system security is improved.

Description

A kind of application management method and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of application management method and terminal.
Background technology
Along with communication technology and the fast development of development of Mobile Internet technology, the terminal such as smart mobile phone, panel computer The most universal, user by installing types of applications in terminal and can carry out easily making friends, entertaining, The activities such as office.But, these application are likely to the most stealthily in running background, the operation of monitoring user Behavior, even reads the privacy information of user and flow etc. of escaping, such as, the notice of application acquisition system Reading authority, such system can directly trigger application and start when there being new notice, and this not only can be greatly increased end The electric quantity consumption of end, also reduces the safety of terminal system, has a strong impact on the Consumer's Experience of terminal.
Summary of the invention
Embodiments provide a kind of application management method and terminal, can effectively limit opening of application Dynamic and monitoring behavior to system, improves the safety of system.
Embodiment of the present invention first aspect provides a kind of application management method, including:
Terminal obtains the intended application of the notice reading authority with described terminal system;
According to the bag name of described intended application, described terminal judges whether described intended application meets pre-conditioned;
The most described terminal is closed the described notice of described intended application and is read authority, so that described end End system, when there is new notice, no longer triggers described intended application and starts.
Optionally, according to the bag name of described intended application, described terminal judges whether described intended application meets in advance If condition, including:
Whether the bag name of intended application described in described terminal judges is present in default blacklist, and described When the bag name of intended application is present in described default blacklist, determines that described intended application meets and preset bar Part.
Optionally, according to the bag name of described intended application, described terminal judges whether described intended application meets in advance If condition, including:
Whether the bag name of intended application described in described terminal judges is present in default white list, and described When the bag name of intended application is not present in described default white list, determines that described intended application meets and preset Condition.
Optionally, described terminal is closed the described notice of described intended application and is read authority, including:
Described terminal is entered by calling the positive closing in active manager service ActivityManagerService Journey forceStopPackage function is closed the described notice of described intended application and is read authority.
Optionally, described terminal is closed the described notice of described intended application and is read authority, including:
Described terminal reads the system settings data storehouse of described terminal, and described system settings data stock contains tool The notice having described terminal system reads the bag name of the application of authority;
Described terminal is by deleting in system settings data storehouse described in the Bao Mingcong of described intended application, to close The described notice stating intended application reads authority.
Optionally, the application bag name that described default blacklist includes is determined by described terminal, or by user Specify, or pushed by Cloud Server.
Optionally, the application bag name that described default white list includes is determined by described terminal, or by user Specify, or pushed by Cloud Server.
Embodiment of the present invention second aspect provides a kind of terminal, including:
First acquiring unit, reads the intended application of authority for obtaining the notice with described terminal system;
Judging unit, presets for judging whether described intended application meets according to the bag name of described intended application Condition;
Closing unit, for when the judged result of described judging unit is for being, closes described intended application Described notice reads authority, so that described terminal system is when there is new notice, no longer triggers described mesh Mark application starts.
Optionally, according to the bag name of described intended application, described judging unit judges that described intended application is the fullest Sufficient pre-conditioned concrete mode is:
Judge whether the bag name of described intended application is present in default blacklist, and in described intended application Bag name when being present in described default blacklist, determine that described intended application meets pre-conditioned.
Optionally, according to the bag name of described intended application, described judging unit judges that described intended application is the fullest Sufficient pre-conditioned concrete mode is:
Judge whether the bag name of described intended application is present in default white list, and in described intended application Bag name when being not present in described default white list, determine that described intended application meets pre-conditioned.
Optionally, described closing unit closes the described concrete mode notifying to read authority of described intended application For:
By calling the positive closing process in active manager service ActivityManagerService ForceStopPackage function is closed the described notice of described intended application and is read authority.
Optionally, described closing unit includes:
Second acquisition unit, for reading the system settings data storehouse of described terminal, described system settings data Stock contains the bag name of the application of the notice reading authority with described terminal system;
Delete unit, for will system settings data storehouse described in the Bao Mingcong of described intended application be deleted, with The described notice closing described intended application reads authority.
Optionally, also include:
Determine unit, for determining the application bag name that described default blacklist includes;
Or,
The application bag name that described default blacklist includes is specified by user;
Or,
The application bag name that described default blacklist includes is pushed by Cloud Server.
Optionally, also include:
Determine unit, for determining the application bag name that described default white list includes;
Or,
The application bag name that described default white list includes is specified by user;
Or,
The application bag name that described default white list includes is pushed by Cloud Server.
The embodiment of the present invention third aspect provides a kind of terminal, including:
Processor, memorizer and bus, described processor and described memorizer are connected and complete by described bus Become mutual communication;
Described memorizer storage has executable program code, and described processor is for calling in described memorizer Described executable program code, performs the method described in above-mentioned first aspect.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, It is pre-conditioned that bag name according to this intended application judges whether this intended application meets, if this intended application is full This is pre-conditioned for foot, then this terminal can be closed the notice of this intended application and be read authority, thus this terminal system Unite when new notice occurs, no longer trigger this intended application and start, can effectively limit the startup of application And the monitoring behavior to system, improve the safety of system.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of application management method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of application management method that the embodiment of the present invention provides;
Fig. 3 is the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
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 clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " etc. are For distinguishing different object rather than for describing particular order.Additionally, term " includes " and " having " And they any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or list Process, method, system, product or the equipment of unit is not limited to step or the unit listed, but can Selection of land also includes step or the unit do not listed, or the most also includes for these processes, method, product Product or intrinsic other steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the spy that describe in conjunction with the embodiments Property may be embodied at least one embodiment of the present invention.There is this phrase in each position in the description Identical embodiment might not be each meant, be not the independent or alternative reality with other embodiments mutual exclusion Execute example.Those skilled in the art explicitly and are implicitly understood by, and embodiment described herein can be with Other embodiments combines.
Terminal in the embodiment of the present invention can include smart mobile phone, panel computer, palm PC, notebook Computer, mobile internet device (Mobile Internet Devices, MID) or Wearable etc., above-mentioned Terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
In android system, the notice described by the embodiment of the present invention reads authority and refers to " android.permission.BIND_NOTIFICATION_LISTENER_SERVICE ", its effect is Application can be read authority by notice and be obtained and the authority of the various notice of monitoring system.Concrete, Application needs to be come the notification message of monitoring system by the service of a service, and by service registry to system Notice management service in, under default situations system can open each application notice read authority, be so The notice of system manages service can be when there is new notice, and readjustment is used for the service of the notification message of monitoring system, If the process now applied is not actuated, then the notice management service of system can trigger the process initiation of application, Application can carry out backstage self-starting by above-mentioned principle, keeps the resident of own process.
Referring to Fig. 1, the first embodiment flow process for a kind of application management method of embodiment of the present invention offer is shown It is intended to.Application management method described in the present embodiment, comprises the following steps:
101, terminal obtains the intended application of the notice reading authority with described terminal system.
Concrete, the bag name of the application with the notice reading authority of this terminal system can be stored in this terminal System settings data storehouse in, this terminal read this system settings data storehouse with obtain currently there is this terminal system The notice of system reads the bag name of the intended application of authority.
102, according to the bag name of described intended application, described terminal judges whether described intended application meets default bar Part, the most then perform step 103;If it is not, then terminate this flow process.
Wherein, this is pre-conditioned for judging whether an application should be closed notice and read authority, if One application meets that this is pre-conditioned, then the notice that should close this application reads authority, such as, can be with black The form of list, the application belonging to this blacklist should be closed its notice having reading authority, this terminal Can be provided with blacklist and add rule, this blacklist adds rule and can include using frequency to be less than preset value, Poor safety performance (is such as accompanied with the plug-in unit such as advertisement, fishing), originates indefinite, and this terminal is by resolving Mounted application, adds the bag name of met in this blacklist addition rule or multinomial application This blacklist.
Concrete, whether the bag name of this this intended application of terminal judges is present in this blacklist, if there is In this blacklist, it is determined that need the notice closing this intended application to read authority, perform step S103.
In the embodiment that some are feasible, this is pre-conditioned can also is that the form with white list, is not belonging to The application of this white list should be closed its notice having and read authority, and this terminal can be provided with white list and add Entering rule, this white list adds rule and can include using frequency higher than preset value, and security performance is high (such as Do not attach the plug-in unit such as advertisement, fishing), source is regular application market etc., and this terminal is installed by resolving Application, the bag name meeting this white list and adding in rule or multinomial application is added this white name Single.
Further, whether the bag name of this this intended application of terminal judges is present in this white list, if not It is present in this white list, it is determined that need the notice closing this intended application to read authority, perform step S103。
In the embodiment that some are feasible, can be by the bag name of the whole application in this terminal or nonsystematic The bag name of application adds this blacklist, or, this white list can be defaulted as sky or only include system application Bag name, i.e. in this terminal whole application or nonsystematic application all should be closed notice read authority.
It should be noted that this blacklist or this white list can also by user rule of thumb or this terminal Prompting is configured, it is also possible to is set by Cloud Server and is pushed to this terminal afterwards.Additionally, it is black for this List or this white list can also carry out applying interpolation or the deletion of bag name according to practical situation.
103, described terminal closes the described notice reading authority of described intended application, so that described terminal system Unite when new notice occurs, no longer trigger described intended application and start.
Wherein, in android system, active manager service ActivityManagerService has one ForceStopPackage function, forceStopPackage function is mainly used in positive closing process and as one The processing function entrance of key clearing function.
Concrete, forceStopPackage function can be rewritten, increase the notice for closing application and read power The process function of limit, this terminal, by calling revised forceStopPackage function, is used for closing The notice of application reads the function that processes of authority and the notice reading authority of this intended application is closed.Additionally, such as Really this intended application is currently at background operation state, and this terminal can be with Selection utilization forceStopPackage letter Number directly closes this intended application, thus this terminal system follow-up is when there is new notice, and no longer triggering should Intended application starts, and effectively limits the startup of this intended application and the monitoring behavior to system.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, It is pre-conditioned that bag name according to this intended application judges whether this intended application meets, if this intended application is full This is pre-conditioned enough, then this terminal can close this mesh by calling revised forceStopPackage function The notice of mark application reads authority, thus this terminal system is when there is new notice, no longer triggers this target Application starts, and can effectively limit the startup of application and the monitoring behavior to system, improves the peace of system Quan Xing, can also reduce to apply simultaneously and frequently run the flow caused and electric quantity consumption on backstage.
Referring to Fig. 2, the second embodiment flow process for a kind of application management method of embodiment of the present invention offer is shown It is intended to.Application management method described in the present embodiment, comprises the following steps:
201, terminal obtains the intended application of the notice reading authority with described terminal system.
Concrete, this terminal carries out closing the flow process of the notice reading authority of application can be by multiple trigger condition Trigger, including: can be triggered by user, such as this terminal can use user and be similar to a key cleaning merit Carry out closing the flow process of the notice reading authority of application during energy;Or, this terminal can periodically be closed The notice closing application reads the flow process of authority, within the most every 2 hours, carries out 1 time, etc.;Or, this is eventually End carries out closing the flow process of the notice reading authority of application continuously;Or, this terminal is the best in running status The electricity of (such as memory usage is too high and exceed preset value) or battery is not enough (e.g., less than or equal to 10%) carry out closing the flow process of the notice reading authority of application time.Specifically can use a kind of triggering bar therein Part, it is also possible to be that the in combination of two or more in above-mentioned several trigger condition uses, it is also possible to be according to reality The selection of situation adjustment trigger conditions, carries out closing application for this terminal and notifies the flow process of reading authority The trigger condition embodiment of the present invention does not limits.
202, whether the bag name of intended application described in described terminal judges is present in default blacklist, if so, Then perform step 203 and 204;If it is not, then terminate this flow process.
203, described terminal reads the system settings data storehouse of described terminal, described system settings data library storage There is the bag name of the application of the notice reading authority with described terminal system.
204, described terminal will be deleted in system settings data storehouse described in the Bao Mingcong of described intended application, to close The described notice closing described intended application reads authority, so that described terminal system is when there is new notice, No longer trigger described intended application to start.
Wherein, the bag name of the application that the notice with this terminal system reads authority can be stored in this terminal In system settings data storehouse, this terminal can be by deleting the bag name of a certain application from this system settings data storehouse The notice realizing closing this application reads authority.
Concrete, this terminal can obtain currently have this terminal system by reading this system settings data storehouse Notice reads the bag name of the intended application of authority, and this terminal may determine that whether the bag name of this intended application exists In the blacklist described by above-mentioned first embodiment, if present in this blacklist, it is determined that need to close The notice closing this intended application reads authority, will delete in this system settings data storehouse of the Bao Mingcong of this intended application Remove, it is achieved the notice closing this intended application reads authority;Or, this terminal can also judge that this target should Bag name whether be present in white list described by above-mentioned first embodiment, if not present in this white list In, it is determined that need the notice closing this intended application to read authority, by the Bao Mingcong of this intended application should be System arranges in data base and deletes, it is achieved the notice closing this intended application reads authority, thus this terminal follow-up System, when there is new notice, no longer triggers this intended application and starts, effectively limit this intended application Startup and the monitoring behavior to system.
In the embodiment that some are feasible, after the notice reading authority of this intended application is closed, this terminal Follow-up when opening this intended application, this intended application can send the request opening notice reading authority, can To be decided whether according to the actual requirements by user to allow this request, if it is allowed, then this intended application can weigh The new notice obtaining this terminal system reads authority, and this terminal can select to remove the bag name of this intended application This blacklist or add in this white list.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, Judge whether the bag name of this intended application is present in default blacklist, if it is, this terminal reads system System arranges data base, will delete in this system settings data storehouse of the Bao Mingcong of this intended application, it is achieved closing should The notice of intended application reads authority, thus this terminal system is when there is new notice, no longer triggers this mesh Mark application starts, and can effectively limit the startup of application and the monitoring behavior to system, improves system Safety, can also reduce to apply simultaneously and frequently run the flow caused and electric quantity consumption on backstage.
Refer to Fig. 3, for the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides.This Terminal described in embodiment, including:
First acquiring unit 301, the target reading authority for obtaining the notice with described terminal system should With.
Judging unit 302, pre-for judging whether described intended application meets according to the bag name of described intended application If condition.
Closing unit 303, for when the judged result of described judging unit is for being, closes described intended application Described notice read authority so that described terminal system is when there is new notice, no longer trigger described Intended application starts.
It should be noted that the function of each unit of the terminal of the embodiment of the present invention can be implemented according to said method Method in example implements, and it implements process and is referred to the associated description of said method embodiment, Here is omitted.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, It is pre-conditioned that bag name according to this intended application judges whether this intended application meets, if this intended application is full This is pre-conditioned enough, then this terminal can close this mesh by calling revised forceStopPackage function The notice of mark application reads authority, thus this terminal system is when there is new notice, no longer triggers this target Application starts, and can effectively limit the startup of application and the monitoring behavior to system, improves the peace of system Quan Xing, can also reduce to apply simultaneously and frequently run the flow caused and electric quantity consumption on backstage.
Refer to Fig. 4, for the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.This Terminal described in embodiment, including:
First acquiring unit 401, the target reading authority for obtaining the notice with described terminal system should With.
Judging unit 402, pre-for judging whether described intended application meets according to the bag name of described intended application If condition.
Closing unit 403, for when the judged result of described judging unit is for being, closes described intended application Described notice read authority so that described terminal system is when there is new notice, no longer trigger described Intended application starts.
Wherein, described closing unit 403 specifically may include that
Second acquisition unit 4030, for reading the system settings data storehouse of described terminal, described system is arranged Database purchase has the bag name of the application of the notice reading authority with described terminal system.
Delete unit 4031, for will system settings data storehouse described in the Bao Mingcong of described intended application be deleted, To close the described notice reading authority of described intended application.
In the embodiment that some are feasible, described terminal also includes:
Determine unit 404, for determining the application bag name that described default blacklist includes;Or, described pre- If the application bag name that includes of blacklist specified by user;Or, the application that described default blacklist includes Bag name is pushed by Cloud Server.
Or,
Described determine unit 404, for determining the application bag name that described default white list includes;Or, institute State the application bag name that default white list includes to be specified by user;Or, described default white list includes Application bag name is pushed by Cloud Server.
It should be noted that the function of each unit of the terminal of the embodiment of the present invention can be implemented according to said method Method in example implements, and it implements process and is referred to the associated description of said method embodiment, Here is omitted.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, Judge whether the bag name of this intended application is present in default blacklist, if it is, this terminal reads system System arranges data base, will delete in this system settings data storehouse of the Bao Mingcong of this intended application, it is achieved closing should The notice of intended application reads authority, thus this terminal system is when there is new notice, no longer triggers this mesh Mark application starts, and can effectively limit the startup of application and the monitoring behavior to system, improves system Safety, can also reduce to apply simultaneously and frequently run the flow caused and electric quantity consumption on backstage.
Refer to Fig. 5, for the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.This Terminal described in embodiment, including: at least one input equipment 501;At least one outut device 502; At least one processor 503, such as CPU;With memorizer 504, above-mentioned input equipment 501, outut device 502, processor 503 and memorizer 504 are connected by bus 505.
Wherein, above-mentioned input equipment 501 can be touch screen, for obtaining the touch operation of input.
Above-mentioned outut device 502 can be display screen, is used for showing corresponding data message.Wherein, display Screen also can be integrated on touch screen, i.e. touch screen can integrate touch-control and display function.
Above-mentioned memorizer 504 can be high-speed RAM memorizer, it is also possible to for non-labile memorizer (non-volatile memory), such as disk memory.Above-mentioned memorizer 504 is used for storing batch processing generation Code, above-mentioned input equipment 501, outut device 502 and processor 503 are used for calling in memorizer 504 storage Program code, perform following operation:
Above-mentioned processor 503, reads the intended application of authority, and root for obtaining the notice with terminal system Judge whether described intended application meets according to the bag name of described intended application pre-conditioned.
Above-mentioned processor 503, be additionally operable to described intended application meet described pre-conditioned time, close described mesh The described notice of mark application reads authority, so that described terminal system is when there is new notice, the most tactile Send out intended application described and start.
In the embodiment that some are feasible, above-mentioned processor 503 judges according to the bag name of described intended application Whether described intended application meets pre-conditioned concrete mode:
Judge whether the bag name of described intended application is present in default blacklist, and in described intended application Bag name when being present in described default blacklist, determine that described intended application meets pre-conditioned.
In the embodiment that some are feasible, above-mentioned processor 503 judges according to the bag name of described intended application Whether described intended application meets pre-conditioned concrete mode:
Judge whether the bag name of described intended application is present in default white list, and in described intended application Bag name when being not present in described default white list, determine that described intended application meets pre-conditioned.
In the embodiment that some are feasible, above-mentioned processor 503 cuts out the described notice of described intended application The concrete mode reading authority is:
By calling the positive closing process in active manager service ActivityManagerService ForceStopPackage function is closed the described notice of described intended application and is read authority.
In the embodiment that some are feasible, above-mentioned processor 503 cuts out the described notice of described intended application The concrete mode reading authority is:
Reading the system settings data storehouse of described terminal, described system settings data stock contains has described end The notice of end system reads the bag name of the application of authority.
Will in system settings data storehouse described in the Bao Mingcong of described intended application delete, with close described target should Described notice read authority.
In the embodiment that some are feasible, above-mentioned processor 503, it is additionally operable to determine described default blacklist Including application bag name, or the application bag name that described default blacklist includes specified by user or cloud service Device pushes.
In the embodiment that some are feasible, above-mentioned processor 503, it is additionally operable to determine described default white list Including application bag name, or the application bag name that described default white list includes specified by user or cloud service Device pushes.
Input equipment 501, outut device 502 and process in implementing, described in the embodiment of the present invention Device 503 can perform the first embodiment and second of a kind of application management method that the embodiment of the present invention provides to be implemented Implementation described in example, it is possible to perform the first embodiment of a kind of terminal that the embodiment of the present invention provides The implementation of terminal with described in the second embodiment, does not repeats them here.
In the embodiment of the present invention, terminal obtains the systematic notice of tool and reads the intended application of authority, this system This intended application can be triggered start when new notice occurs;This terminal obtains the application bag name of this intended application, It is pre-conditioned that bag name according to this intended application judges whether this intended application meets, if this intended application is full This is pre-conditioned enough, then this terminal can close this mesh by calling revised forceStopPackage function The notice of mark application reads authority, thus this terminal system is when there is new notice, no longer triggers this target Application starts, and can effectively limit the startup of application and the monitoring behavior to system, improves the peace of system Quan Xing, can also reduce to apply simultaneously and frequently run the flow caused and electric quantity consumption on backstage.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail The part stated, may refer to the associated description of other embodiments.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all stated For a series of combination of actions, but those skilled in the art should know, the present invention is not by described The restriction of sequence of movement, because according to the present invention, some step may can use other orders or simultaneously Carry out.Secondly, those skilled in the art also should know, embodiment described in this description belongs to excellent Select embodiment, necessary to involved action and the module not necessarily present invention.
In several embodiments provided herein, it should be understood that disclosed device, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, the most above-mentioned list The division of unit, is only a kind of logic function and divides, and actual can have other dividing mode, example when realizing As multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, Or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can To be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical or other Form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, also Can be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit. Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit Realize.
If above-mentioned integrated unit realizes using the form of SFU software functional unit and as independent production marketing or During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that the most in other words prior art contributed of technical scheme or this technical scheme whole or Part can embody with the form of software product, and this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server or The network equipments etc., can be specifically the processors in computer equipment) perform each embodiment of the present invention above-mentioned All or part of step of method.Wherein, and aforesaid storage medium comprise the steps that USB flash disk, portable hard drive, Magnetic disc, CD, read only memory (English: Read-Only Memory, ROM) or random abbreviation: Access memorizer (English: Random Access Memory, abbreviation: RAM) etc. various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to previous embodiment, and those of ordinary skill in the art should manage Solve: the technical scheme described in foregoing embodiments still can be modified by it, or to wherein part Technical characteristic carries out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution take off Spirit and scope from various embodiments of the present invention technical scheme.

Claims (15)

1. an application management method, it is characterised in that including:
Terminal obtains the intended application of the notice reading authority with described terminal system;
According to the bag name of described intended application, described terminal judges whether described intended application meets pre-conditioned;
The most described terminal is closed the described notice of described intended application and is read authority, so that described end End system, when there is new notice, no longer triggers described intended application and starts.
Method the most according to claim 1, it is characterised in that described terminal is according to described intended application Bag name to judge whether described intended application meets pre-conditioned, including:
Whether the bag name of intended application described in described terminal judges is present in default blacklist, and described When the bag name of intended application is present in described default blacklist, determines that described intended application meets and preset bar Part.
Method the most according to claim 1, it is characterised in that described terminal is according to described intended application Bag name to judge whether described intended application meets pre-conditioned, including:
Whether the bag name of intended application described in described terminal judges is present in default white list, and described When the bag name of intended application is not present in described default white list, determines that described intended application meets and preset Condition.
4. according to the method according to any one of claims 1 to 3, it is characterised in that described terminal closes institute The described notice stating intended application reads authority, including:
Described terminal is entered by calling the positive closing in active manager service ActivityManagerService Journey forceStopPackage function is closed the described notice of described intended application and is read authority.
5. according to the method according to any one of claims 1 to 3, it is characterised in that described terminal closes institute The described notice stating intended application reads authority, including:
Described terminal reads the system settings data storehouse of described terminal, and described system settings data stock contains tool The notice having described terminal system reads the bag name of the application of authority;
Described terminal is by deleting in system settings data storehouse described in the Bao Mingcong of described intended application, to close The described notice stating intended application reads authority.
Method the most according to claim 2, it is characterised in that
The application bag name that described default blacklist includes is determined by described terminal, or is specified by user, or Person is pushed by Cloud Server.
Method the most according to claim 3, it is characterised in that
The application bag name that described default white list includes is determined by described terminal, or is specified by user, or Person is pushed by Cloud Server.
8. a terminal, it is characterised in that including:
First acquiring unit, reads the intended application of authority for obtaining the notice with described terminal system;
Judging unit, presets for judging whether described intended application meets according to the bag name of described intended application Condition;
Closing unit, for when the judged result of described judging unit is for being, closes described intended application Described notice reads authority, so that described terminal system is when there is new notice, no longer triggers described mesh Mark application starts.
Terminal the most according to claim 8, it is characterised in that described judging unit is according to described target The bag name of application judges whether described intended application meets pre-conditioned concrete mode and be:
Judge whether the bag name of described intended application is present in default blacklist, and in described intended application Bag name when being present in described default blacklist, determine that described intended application meets pre-conditioned.
Terminal the most according to claim 8, it is characterised in that described judging unit is according to described mesh The bag name of mark application judges whether described intended application meets pre-conditioned concrete mode and be:
Judge whether the bag name of described intended application is present in default white list, and in described intended application Bag name when being not present in described default white list, determine that described intended application meets pre-conditioned.
11. terminals according to Claim 8~according to any one of 10, it is characterised in that described closing unit The concrete mode that the described notice closing described intended application reads authority is:
By calling the positive closing process in active manager service ActivityManagerService ForceStopPackage function is closed the described notice of described intended application and is read authority.
12. terminals according to Claim 8~according to any one of 10, it is characterised in that described closing unit Including:
Second acquisition unit, for reading the system settings data storehouse of described terminal, described system settings data Stock contains the bag name of the application of the notice reading authority with described terminal system;
Delete unit, for will system settings data storehouse described in the Bao Mingcong of described intended application be deleted, with The described notice closing described intended application reads authority.
13. terminals according to claim 9, it is characterised in that also include:
Determine unit, for determining the application bag name that described default blacklist includes;
Or,
The application bag name that described default blacklist includes is specified by user;
Or,
The application bag name that described default blacklist includes is pushed by Cloud Server.
14. terminals according to claim 10, it is characterised in that also include:
Determine unit, for determining the application bag name that described default white list includes;
Or,
The application bag name that described default white list includes is specified by user;
Or,
The application bag name that described default white list includes is pushed by Cloud Server.
15. 1 kinds of terminals, it is characterised in that including:
Processor, memorizer and bus, described processor and described memorizer are connected and complete by described bus Become mutual communication;
Described memorizer storage has executable program code, and described processor is for calling in described memorizer Described executable program code, performs the method as according to any one of claim 1~7.
CN201610327920.3A 2016-05-17 2016-05-17 application management method and terminal Active CN106022101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610327920.3A CN106022101B (en) 2016-05-17 2016-05-17 application management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610327920.3A CN106022101B (en) 2016-05-17 2016-05-17 application management method and terminal

Publications (2)

Publication Number Publication Date
CN106022101A true CN106022101A (en) 2016-10-12
CN106022101B CN106022101B (en) 2019-12-06

Family

ID=57097467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610327920.3A Active CN106022101B (en) 2016-05-17 2016-05-17 application management method and terminal

Country Status (1)

Country Link
CN (1) CN106022101B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874713A (en) * 2017-01-09 2017-06-20 广东小天才科技有限公司 A kind of application program runs right management method and device, user equipment
CN106980661A (en) * 2017-03-20 2017-07-25 北京金山安全软件有限公司 Method and device for cleaning data files in mobile terminal and electronic equipment
CN107704295A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 The method, apparatus and storage medium of self-starting authority are set
CN107908953A (en) * 2017-11-21 2018-04-13 广东欧珀移动通信有限公司 Notifications service control method, device, terminal device and storage medium
CN109697359A (en) * 2018-12-19 2019-04-30 惠州Tcl移动通信有限公司 A kind of message prompt method, device, storage medium and electronic equipment
CN110555304A (en) * 2018-05-31 2019-12-10 武汉安天信息技术有限责任公司 malicious packet name detection method, malicious application detection method and corresponding devices
CN111542060A (en) * 2017-04-25 2020-08-14 吴红平 Working method of information synchronization security authentication device
CN115174186A (en) * 2022-06-30 2022-10-11 京东城市(北京)数字科技有限公司 Processing method, device, equipment and medium for address book visibility

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823669A (en) * 2013-11-26 2014-05-28 上海华力微电子有限公司 Automatic probe station recipe management method
CN104462980A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Authority management method, device and system of application programs and mobile terminal
CN104503807A (en) * 2014-12-31 2015-04-08 北京奇虎科技有限公司 Management method and device of starting items
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Method and device for application program starting authentication
CN105389263A (en) * 2015-12-24 2016-03-09 北京奇虎科技有限公司 Method, system and equipment for monitoring application software permissions
CN105430033A (en) * 2014-09-17 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Method and device for protecting position of terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823669A (en) * 2013-11-26 2014-05-28 上海华力微电子有限公司 Automatic probe station recipe management method
CN105430033A (en) * 2014-09-17 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Method and device for protecting position of terminal
CN104462980A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Authority management method, device and system of application programs and mobile terminal
CN104503807A (en) * 2014-12-31 2015-04-08 北京奇虎科技有限公司 Management method and device of starting items
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Method and device for application program starting authentication
CN105389263A (en) * 2015-12-24 2016-03-09 北京奇虎科技有限公司 Method, system and equipment for monitoring application software permissions

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874713A (en) * 2017-01-09 2017-06-20 广东小天才科技有限公司 A kind of application program runs right management method and device, user equipment
CN106980661A (en) * 2017-03-20 2017-07-25 北京金山安全软件有限公司 Method and device for cleaning data files in mobile terminal and electronic equipment
CN111542060A (en) * 2017-04-25 2020-08-14 吴红平 Working method of information synchronization security authentication device
CN111542060B (en) * 2017-04-25 2023-12-19 上海圣庸工程科技有限公司 Working method of information synchronous safety authentication device
CN111542061A (en) * 2017-04-25 2020-08-14 吴红平 Information synchronization security authentication method
CN107704295A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 The method, apparatus and storage medium of self-starting authority are set
US10878078B2 (en) 2017-11-21 2020-12-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System notification service control method, apparatus, terminal device, and storage medium
WO2019101107A1 (en) * 2017-11-21 2019-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System notification service control method, apparatus, terminal device, and storage medium
EP3486823B1 (en) * 2017-11-21 2023-07-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System notification service control method, apparatus, terminal device, and storage medium
CN107908953A (en) * 2017-11-21 2018-04-13 广东欧珀移动通信有限公司 Notifications service control method, device, terminal device and storage medium
CN110555304A (en) * 2018-05-31 2019-12-10 武汉安天信息技术有限责任公司 malicious packet name detection method, malicious application detection method and corresponding devices
CN109697359A (en) * 2018-12-19 2019-04-30 惠州Tcl移动通信有限公司 A kind of message prompt method, device, storage medium and electronic equipment
CN115174186A (en) * 2022-06-30 2022-10-11 京东城市(北京)数字科技有限公司 Processing method, device, equipment and medium for address book visibility
CN115174186B (en) * 2022-06-30 2024-05-17 京东城市(北京)数字科技有限公司 Address book visibility processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN106022101B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN106022101A (en) Application management method and terminal
US9246941B1 (en) Systems and methods for predicting the impact of security-policy changes on users
Ham et al. Analysis of android malware detection performance using machine learning classifiers
CN104699423B (en) The method and apparatus that drive is bound in linux system
CN110661658A (en) Node management method and device of block chain network and computer storage medium
CA2915068C (en) Systems and methods for directing application updates
CN104317840A (en) File cleaning method and device and terminal
CN104601683A (en) File download management method, mobile terminal and communication system
CN105204973A (en) Abnormal behavior monitoring and analysis system and method based on virtual machine technology under cloud platform
CN107391308A (en) Data processing method and device, terminal and computer-readable recording medium
US9332025B1 (en) Systems and methods for detecting suspicious files
CN106776908B (en) Data cleaning method and device and terminal
CN104361294A (en) Document protection method, device and system
CN104035842A (en) Method for deleting and recovering built-in application program
CN106815342A (en) A kind of distributed file system user quota system and method
CN105893471B (en) Data processing method and electronic equipment
CN104965731A (en) Data processing method and electronic terminal
EP3121715B1 (en) Event processing method and apparatus
CN109145589B (en) Application program acquisition method and device
CN106682504B (en) A kind of method, apparatus for preventing file from maliciously being edited and electronic equipment
CN104732165A (en) Management method of applications and terminal
CN107203417A (en) A kind of data clearing method, relevant apparatus and electronic equipment
CN111885184A (en) Method and device for processing hot spot access keywords in high concurrency scene
CN106201464A (en) A kind of application icon processing method freezing application and mobile terminal
CN106855824B (en) Task stopping method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant