CN103927474B - The monitoring method and device of application program - Google Patents

The monitoring method and device of application program Download PDF

Info

Publication number
CN103927474B
CN103927474B CN201410129057.1A CN201410129057A CN103927474B CN 103927474 B CN103927474 B CN 103927474B CN 201410129057 A CN201410129057 A CN 201410129057A CN 103927474 B CN103927474 B CN 103927474B
Authority
CN
China
Prior art keywords
application program
information
access rights
user
monitoring
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.)
Expired - Fee Related
Application number
CN201410129057.1A
Other languages
Chinese (zh)
Other versions
CN103927474A (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.)
Conew Network Technology Beijing Co Ltd
Original Assignee
Conew Network Technology Beijing 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 Conew Network Technology Beijing Co Ltd filed Critical Conew Network Technology Beijing Co Ltd
Priority to CN201410129057.1A priority Critical patent/CN103927474B/en
Publication of CN103927474A publication Critical patent/CN103927474A/en
Application granted granted Critical
Publication of CN103927474B publication Critical patent/CN103927474B/en
Expired - Fee Related 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention proposes a kind of monitoring method and device of application program.Wherein, this method includes:Monitor and record the information that application program is accessed in preset time;According to information and predetermined condition, the application information that access rights need to be set is obtained;And display includes the prompt message for the application information that need to set access rights, so that user sets the access rights of corresponding application program according to prompt message.The monitoring method and device of the application program of the embodiment of the present invention, by monitoring and recording the information of accessed application program in preset time, and analysis obtains the application information that need to set access rights and shown.Thus, facilitate user and understand the access situation of application program in mobile terminal, and the access rights for facilitating user that application program is set, improve the experience of user.

Description

The monitoring method and device of application program
Technical field
The present invention relates to the monitoring method and device of field of computer technology, more particularly to a kind of application program.
Background technology
As the application program species on the development mobile terminal of hardware is increasingly abundanter, user can download peace as needed Fill various application programs.At present, believe in the application program of general social class and financial class comprising privacy largely related to individual Breath, when mobile terminal is lent when others uses or when mobile terminal is lost, user is not intended to others and can run include The application program of oneself privacy information.
At present, user can be locked by using APP(Application, application program)For the whole in mobile terminal or Partial application program is set using authority.When setting the application program of user's access right to be accessed, it will ejection input When the access right of the prompting page of access right, only user input matches with access right set in advance, it can just transport Row application program.If whole application programs in mobile terminal are set using authority by user, user is needed often to run one Individual application program will input first use authority, and therefore, user operates and inconvenience.In most cases, Yong Huhui According to oneself need be set using authority for the certain applications program in mobile terminal.
However, existing APP locks can not all protect all application programs in mobile terminal.Especially when mobile whole New installation needs to be set using the application program of authority in end, and when user forgets to be set using authority, if user will move Terminal lends others, and others may check the privacy information of user by being not provided with the application program of access right.In addition, user It is not aware that in this period for lending others, the operation that others is carried out to mobile terminal.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.Therefore, the present invention One purpose is in a kind of monitoring method and device for monitoring application program in mobile terminal of proposition.
Embodiment proposes a kind of monitoring method of application program according to a first aspect of the present invention, including:Monitor and record The information of application program is accessed in preset time;According to described information and predetermined condition, answering for access rights need to be set by obtaining Use program information;And display includes the prompt message of the application information that need to set access rights, so that user's root The access rights of corresponding application program are set according to the prompt message.
The monitoring method of the application program of the embodiment of the present invention, journey is applied by monitoring and recording to be accessed in preset time The information of sequence, and analysis obtain the application information that need to set access rights and shown.Thus, user is facilitated The access situation of application program in mobile terminal in preset time is solved, and facilitates the access right that user sets application program Limit, improves the experience of user.
Second aspect of the present invention embodiment proposes a kind of supervising device of application program, including:Monitoring module, for supervising Control and record the information that application program is accessed in preset time;Acquisition module, for according to described information and predetermined condition, obtaining The application information of setting access rights must be needed;And display module, access rights need to be set comprising described for showing The prompt message of application information, so that user sets the access rights of corresponding application program according to the prompt message.
The supervising device of the application program of the embodiment of the present invention, monitored and recorded interviewed in preset time by monitoring module The information of application program is asked, and the application information that access rights need to be set is obtained by acquisition module, and passes through display Module shows the application information that need to set access rights.Thus, user is facilitated to understand in preset time in mobile terminal The access situation of application program, and the access rights that user sets application program are facilitated, improve the experience of user.
Third aspect present invention embodiment proposes a kind of mobile terminal, and the mobile terminal includes housing, processor, storage Device, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing surrounds, the processor and The memory is arranged on the circuit board;The power circuit, for each circuit or device for the mobile terminal Power supply;The memory is used to store executable program code;What the processor was stored by reading in the memory can Configuration processor code runs program corresponding with the executable program code, for performing following steps:Monitor and remember Record the information that application program is accessed in preset time;According to described information and predetermined condition, acquisition need to set access rights Application information;And display includes the prompt message of the application information that need to set access rights, so that user The access rights of corresponding application program are set according to the prompt message.
The mobile terminal of the embodiment of the present invention, by monitoring and recording the information of accessed application program in preset time, And analysis obtains the application information that need to set access rights and shown.Thus, when facilitating user and understanding default The access situation of application program in interior mobile terminal, and the access rights that user sets application program are facilitated, improve The experience of user.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein,
Fig. 1 is the flow chart of the monitoring method of the application program of one embodiment of the invention;
Fig. 2 is the flow chart of the monitoring method of the application program of a specific embodiment of the invention;
Fig. 3 is the structural representation of the supervising device of the application program of one embodiment of the invention;And
Fig. 4 is the structural representation of the supervising device of the application program of a specific embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
In the description of the invention, it is to be understood that term " first ", " second " etc. are only used for describing purpose, without It is understood that to indicate or implying relative importance.In the description of the invention, it is necessary to which explanation, is provided unless otherwise clear and definite And restriction, term " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, Or it is integrally connected;Can be mechanical connection or electrical connection;Can be joined directly together, intermediary can also be passed through It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in the present invention can be understood with concrete condition Body implication.In addition, in the description of the invention, unless otherwise indicated, " multiple " are meant that two or more.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
At present, user can be locked by using such as APP sets access rights for the application program in mobile terminal.General feelings Under condition, the application program installed on mobile terminal is very more, and user can need selection application program according to oneself, for example, with The application program of the conventional social class of family selection and financial class, and access rights are set for it.However, need to set in user's selection During the application program of access rights, easily application program is selected in wrong choosing or leakage to user.It is especially newly downloaded when user's later stage When installing some new application software, user is it is easy to forget that some newly to install need to set the application program of access rights to set Put access rights.When mobile terminal is lent others by user, when others gives back mobile terminal, user can not know others at this Operation to mobile terminal in the section time, it can not also know other people to being not provided with the application programs of access rights in mobile terminal Access situation.If treating that other people are given back after mobile terminal, user can check the accessed letter of the borrowing time section application program Breath, and the prompt message for the application information that access rights need to be set can be shown in mobile terminal, then user can be facilitated to look into The application information of access rights need to be set by seeing, can be according to prompting when user needs to set the access rights of application program Make a choice, thus, effectively protect the safety of application program in mobile terminal, it is therefore prevented that the leakage of useful information, improve The experience of user.Therefore, the present invention proposes a kind of monitoring method of application program.
Fig. 1 is the flow chart of the monitoring method of the application program of one embodiment of the invention.
As shown in figure 1, the monitoring method of application program comprises the following steps:
S101, monitor and record the information that application program is accessed in preset time.
In this example it is assumed that the software that can call monitoring programme is referred to as monitoring software.It should be appreciated that the prison at this It is only a kind of example to control software, can be with other name nominatings software.
Specifically, the information that application program is accessed in preset time is monitored and recorded by monitoring programme.
In an embodiment of the present invention, before being accessed the information of application program in record preset time, in addition to:Really Determine monitoring programme and be in opening.Specifically, user can be sent by gesture operation to mobile terminal in the terminal The trigger request of monitoring programme is opened, for example, in Android(Android)On the touch-screen of smart mobile phone, user can pass through click The icon of monitoring software can enter the operation page of monitoring software, and now user can click on the unlatching of monitoring programme according to prompting Monitoring programme can be opened.
Preset time in invention implementation is in the time of opening for monitoring programme, i.e., is monitored in preset time Program is being run always.
In an embodiment of the present invention, before it is determined that monitoring programme is in opening, can also include:S100, such as Shown in Fig. 2.
S100, receive and record the access rights that user is set to application program.
Mounted all application programs in monitoring software enquiry mobile terminal, and all applications are shown in the form of a list Title corresponding to program, and display is available for the choice box that user chooses before or after title.
Specifically, with Android(Android)Exemplified by the mobile terminal of operating system, monitoring software can pass through In queryIntentActivities method enquiry mobile terminals in PackageManager classes it is all it is mounted it is all should Show with program and in the form of a list.User can according to oneself need select in lists set access rights application journey Sequence, for example, user's selection sets access rights for application programs such as wechat, baidu browsers.Detect user selection it Afterwards, monitoring software will prompt the user whether that the application program for being defined as above-mentioned selection sets access rights according to the selection of user, When user determines to set access rights, the checking information that user inputs oneself setting is will be prompted to, and believe in user's input validation After breath, the application program of user's selection and the checking information set are preserved.Wherein, the checking information that user is inputted It can be determined by user oneself, user can input validation password or gesture.In addition, user can also be using biological information as testing Demonstrate,prove information.For example, user is using the fingerprint of oneself as the checking information for starting application program.
In an embodiment of the present invention, after receiving and recording the access rights that user is set to application program, may be used also With including:Receive and record releasing of the user to application routine access authority and set.Specifically, application program is set in user Access rights after, user can release the access rights of one or more application program as needed, for example, user is micro- After the application programs such as letter, short message, calendar, calculator set access rights, if user wants that releasing calendar and calculator etc. answers With the access rights of program, user can release the access rights of the application program such as calendar and calculator, monitoring software by selection By the operation of the access rights for the releasing application program such as calendar and calculator for receiving user and recorded and preserved.
In an embodiment of the present invention, the information for monitoring and recording accessed application program in preset time can include: When monitoring current accessed application program to set the application program of access rights, ejection is for user's validation information The page is verified, and records the temporal information and/or access times of current accessed application program.Wherein, current accessed application The temporal information of program includes the operation starting time of current accessed application program and terminates run time.Specifically, with Android(Android)Exemplified by the mobile terminal of operating system, monitoring programme in the terminal is in after opening, after Platform thread MonitorlogThread can carry out a poll by Thread.sleep (100) functions at interval of 100 seconds, and lead to The getRunningTasks crossed in ActivityManager classes method obtains currently accessed application program.
, will ejection in mobile terminal when monitoring current accessed application program to set the application program of access rights One checking page for user's validation information.Wherein, checking information includes checking password or gesture.When user's input is tested After demonstrate,proving information, if user's validation information matches with the default checking information set, setting access rights can be run Application program.If user's validation information mismatches with the default checking information set, user's input validation is ejected The checking page of information, and prompt user authentication information to mismatch in the page is verified, the prompt message of checking please be re-enter. Now, monitoring software by operation note of the user to application program in such as database, wherein, can be recorded in database The currently operation starting time of accessed application program, end run time, access times and checking information state etc..Example Such as, checking information state correspond to two kinds of field values and be successfully or break off relations in database, when user's input checking information with During default checking information matching, field value corresponding to checking information state is successfully, conversely, then corresponding to checking information state Field value is refusal.
When it is the application program for being not provided with access rights to monitor current accessed application program, record current accessed The temporal information and/or access times of application program.For example, days of access rights is not provided with when monitoring user and access Last, user can be only recorded in database and runs the unlatching run time of calendar and terminates run time, also can be in database The access times of middle record user access calendar back and forth.
S102, according to information and predetermined condition, obtain the application information that access rights need to be set.
Specifically, can be obtained by the access times and/or run time of the current accessed application program in above- mentioned information The application information of setting access rights must be needed, wherein, the run time of current accessed application program is accessed to be current The end run time of application program and the difference for opening run time.Specifically, when it is determined that being currently accessed application program When access times are more than preset times, using current accessed application program as the application program that need to set access rights.Wherein, Preset times can be given tacit consent in mobile terminal system, can also be that user is set in the terminal according to different demands 's.For example, preset times are 10 times, if it is 15 times, i.e. short message to record user in database to access the number of short message Access times are more than 10 times, can add short message in the set for the application program for needing to set access rights.
When it is determined that currently the run time of accessed application program is more than preset time threshold, application will be currently accessed Program is as the application program that need to set access rights.Wherein, preset time threshold can be given tacit consent in mobile terminal system, It can also be what user was set in the terminal according to different demands.For example, preset time threshold is 10 minutes, such as The run time of the short message of the current accessed recorded in fruit database is 20 points, i.e., the run time of short message exceedes default threshold Value, then short message is added in the set for the application program for needing to set access rights.
S103, display includes the prompt message for the application information that need to set access rights, so that user is according to prompting Information sets the access rights of corresponding application program.
Specifically, after acquisition need to set the application information of access rights, access right need to be set by being included in display Before the prompt message of the application information of limit, it is also necessary to determine that monitoring programme is closed.
Specifically, user can be sent to mobile terminal by gesture operation and close touching for monitoring programme in the terminal Hair request, for example, in Android(Android)On the touch-screen of smart mobile phone, user can be by clicking on the icon of monitoring software i.e. The operation page of monitoring software can be entered, now user can close monitoring programme according to the pass of prompting click monitoring programme. To eject one after monitoring programme is closed, in mobile terminal and shown with tabular form need to set the application programs of access rights The prompting page of information.User can decide whether to set the application program that need to set access rights according to the information in the prompting page Access rights are put, if the user determine that for the application program of access rights need to be set to set access rights, can be for example, by choosing Choice box before needing to set the application program of access rights in list.
Especially when mobile terminal is lent others by user, when others gives back mobile terminal, user should by the present invention's Other people the access situations to application program in mobile terminal are will be clearly understood that with the monitoring method of program, and conveniently checks and need to set The application information of access rights is put, and the access rights for the application program that need to set access rights are targetedly set. Thus, effectively protect the safety of application program in mobile terminal, it is therefore prevented that further reveal useful information.
The monitoring method of the application program of the embodiment of the present invention, journey is applied by monitoring and recording to be accessed in preset time The information of sequence, and analysis obtain the application information that need to set access rights and shown.Thus, user is facilitated The access situation of application program in mobile terminal in preset time is solved, and facilitates the access right that user sets application program Limit, improves the experience of user.
In order to realize above-described embodiment, the present invention also proposes a kind of supervising device of application program.
Fig. 3 is the structural representation of the supervising device of the application program of one embodiment of the invention.
As shown in figure 3, the supervising device of application program includes:Monitoring module 11, acquisition module 12 and display module 13.
Specifically, monitoring module 11 is used to monitor and record the information that application program is accessed in preset time, obtains mould Block 12 is used for according to information and predetermined condition, obtains the application information that need to set access rights, and display module 13 is used to show Show the prompt message for including the application information that access rights need to be set, so that user sets corresponding application according to prompt message The access rights of program.
The supervising device of the application program of the embodiment of the present invention, monitored and recorded interviewed in preset time by monitoring module The information of application program is asked, and the application information that access rights need to be set is obtained by acquisition module, and passes through display Module shows the application information that need to set access rights.Thus, user is facilitated to understand in preset time in mobile terminal The access situation of application program, and the access rights that user sets application program are facilitated, improve the experience of user.
Fig. 4 is the structural representation of the supervising device of the application program of a specific embodiment of the invention.
As shown in figure 4, the supervising device of application program includes:Monitoring module 11, acquisition module 12, display module 13, One determining module 14, the first receiving module 15, the second receiving module 16 and the second determining module 17.
Specifically, the first determining module 14 is used in monitoring module record preset time the information for being accessed application program Before, determine that monitoring programme is in opening.Specifically, user can be whole to movement by gesture operation in the terminal End sends the trigger request for opening monitoring programme, and the first determining module 14 will open monitoring programme according to the trigger request of user. After the first determining module 14 determines that monitoring programme is in opening, monitoring module 11 can be monitored and remembered by monitoring programme Record the information that application program is accessed in preset time.
The preset time of the supervising device is the time that monitoring programme is in opening, i.e., journey is monitored in preset time Sequence is being run always.
First receiving module 15 is used for before the first determining module 14 determines that monitoring programme is in opening, receives simultaneously The access rights that record user is set to application program.Specifically, it is mounted all in monitoring software enquiry mobile terminal Application program, and the title corresponding to all application programs is shown in the form of a list, and shown before or after title It is available for the choice box that user chooses.
Specifically, with Android(Android), can be by PackageManager classes exemplified by the mobile terminal of operating system QueryIntentActivities method enquiry mobile terminals in all mounted all application programs and with the shape of list Formula is shown.User can according to oneself need select in lists set access rights application program, for example, user selection be The application programs such as wechat, short message set access rights.After the selection of user is detected, it will prompt to use according to the selection of user The application program whether family is defined as above-mentioned selection sets access rights, when user determines to set access rights, will be prompted to use Family inputs the checking information of oneself setting, and after user's validation information, the first receiving module 15 receives and records use The application program of family selection and the checking information set.Wherein, the checking information that user is inputted can be determined by user oneself, be used Family can input validation password or gesture.In addition, user can also be using biological information as checking information.For example, user will The fingerprint of oneself is as the checking information for starting application program.
Second receiving module 16 is used to receive and record the access that user sets application program in the first receiving module 15 After authority, receive and record releasing setting of the user to application routine access authority.Specifically, set in user and apply journey After the access rights of sequence, user can release the access rights of one or more application program as needed, for example, user is After the application programs such as wechat, calendar, calculator set access rights, if user wants that releasing calendar and calculator etc. applies journey The access rights of sequence, user can release the access rights of the application program such as calendar and calculator, the second receiving module by selection 16 by receive user the releasing application program such as calendar and calculator access rights operation and recorded and preserved.
Above-mentioned monitoring module 12 includes:First monitoring unit 111 and the second monitoring unit 112.
Wherein, the first monitoring unit 111, which is used to work as, monitors current accessed application program to set answering for access rights During with program, ejection supplies the checking page of user's validation information, and records the temporal information of current accessed application program And/or access times.Wherein, currently the temporal information of accessed application program starts to transport including current accessed application program Row time and end run time.Specifically, with Android(Android)Exemplified by the mobile terminal of operating system, mobile whole Monitoring programme in end is in after opening, and background thread MonitorlogThread can pass through Thread.sleep (100) function carried out a poll at interval of 100 seconds, and passed through the getRunningTasks's in ActivityManager classes Method obtains currently accessed application program.It is that the application program of access rights is set when monitoring current accessed application program When, the first monitoring unit 111 will eject the checking page for user's validation information.Wherein, checking information includes testing Demonstrate,prove password or gesture.After user's validation information, if user's validation information and the default checking information set Matching, then it can run the application program that access rights are set.If user's validation information and the default checking information set Mismatch, then eject the checking page of user's validation information, and prompt user authentication information to mismatch in the page is verified, It please re-enter the prompt message of checking.Now, the first monitoring unit 111 by operation note of the user to application program in example In database, wherein, when the operation starting time of currently accessed application program can be recorded in database, terminating operation Between, access times and checking information state etc..For example, it is successfully that checking information state, which correspond to two kinds of field values, in database Or break off relations, when the checking information of user's input matches with default checking information, field value corresponding to checking information state is Success, conversely, then field value corresponding to checking information state is refusal.
It is to be not provided with the application journey of access rights that second monitoring unit 112, which is used for when monitoring currently accessed application program, During sequence, the temporal information and/or access times of current accessed application program are recorded.For example, when monitor user access When being not provided with the calendar of access rights, the second monitoring unit 112 can only record the unlatching that user runs calendar in database Run time and terminate run time, the access times of user's access calendar back and forth can be also recorded in database.
Above-mentioned acquisition module 12 includes:First acquisition unit 121 and second acquisition unit 122.
Wherein, first acquisition unit 121 is used for when the access times for determining current accessed application program are more than default time During number, using current accessed application program as the application program that need to set access rights.Wherein, preset times can be mobile Give tacit consent in terminal system, can also be what user was set in the terminal according to different demands.For example, preset times are 10 times, if the number that user's access short message is recorded in database is 15 times, i.e., the access times of short message are more than 10 times, then First acquisition unit 121 can determine that short message is the application program for needing to set access rights.
Second acquisition unit 122 is used for when the run time for determining current accessed application program is more than preset time threshold When, using current accessed application program as the application program that need to set access rights.Wherein, preset time threshold can be moved Give tacit consent in dynamic terminal system, can also be what user was set in the terminal according to different demands.Current be accessed should It is the end run time of current accessed application program and the difference of unlatching run time with the run time of program.Citing and Speech, preset time threshold is 10 minutes, if the run time of the short message of the current accessed recorded in database is 20 points, i.e., The run time of short message exceedes predetermined threshold value, then second acquisition unit 122 can determine that short message to need to set access rights Application program.
Second determining module 17 is used for after acquisition module 12 obtains and need to set the application information of access rights, The display of display module 13 determines that monitoring programme is in comprising before need to setting the prompt message of application information of access rights Closed mode.Specifically, user can be sent to mobile terminal by gesture operation and close monitoring programme in the terminal Trigger request, the second determining module 15 will close monitoring programme according to the trigger request of user.
Display module 13 is specifically used for showing the application information that need to set access rights with tabular form.Further and Speech, after the second determining module 15 determines to close monitoring programme, display module 13 will be shown with tabular form need to set access The application information of authority.User can decide whether that the application of access rights will need to be set according to the information in display module 13 Program sets access rights, if the user determine that for the application program of access rights need to be set to set access rights, can pass through example Such as choose the choice box before needing to set the application program of access rights in list.
Especially when mobile terminal is lent others by user, when others gives back mobile terminal, user should by the present invention's Other people the access situations to application program in mobile terminal are will be clearly understood that with the supervising device of program, and conveniently checks and need to set The application information of access rights is put, and the access rights for the application program that need to set access rights are targetedly set. Thus, effectively protect the safety of application program in mobile terminal, it is therefore prevented that further reveal useful information.
The supervising device of the application program of the embodiment of the present invention, monitored and recorded interviewed in preset time by monitoring module The information of application program is asked, and the application information that access rights need to be set is obtained by acquisition module, and passes through display Module shows the application information that need to set access rights.Thus, user is facilitated to understand in preset time in mobile terminal The access situation of application program, and the access rights that user sets application program are facilitated, improve the experience of user.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, and the mobile terminal includes housing, processing Device, memory, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, above-mentioned place Reason device and above-mentioned memory are arranged on foregoing circuit plate;Above-mentioned power circuit, for each circuit for above-mentioned mobile terminal Or device power supply;Above-mentioned memory is used to store executable program code;Above-mentioned processor is deposited by reading in above-mentioned memory The executable program code of storage runs program corresponding with above-mentioned executable program code, for performing following steps:
S101 ', monitor and record the information that application program is accessed in preset time.
In this example it is assumed that the software that can call monitoring programme is referred to as monitoring software.It should be appreciated that the prison at this It is only a kind of example to control software, can be with other name nominatings software.
Specifically, the information that application program is accessed in preset time is monitored and recorded by monitoring programme.
In an embodiment of the present invention, before being accessed the information of application program in record preset time, in addition to:Really Determine monitoring programme and be in opening.Specifically, user can be sent by gesture operation to mobile terminal in the terminal The trigger request of monitoring programme is opened, for example, in Android(Android)On the touch-screen of smart mobile phone, user can pass through click The icon of monitoring software can enter the operation page of monitoring software, and now user can click on the unlatching of monitoring programme according to prompting Monitoring programme can be opened.
Preset time in invention implementation is in the time of opening for monitoring programme, i.e., is monitored in preset time Program is being run always.
In an embodiment of the present invention, before it is determined that monitoring programme is in opening, in addition to can also include: S100 ', as shown in Figure 2.
S100 ', receive and record the access rights that user is set to application program.
Mounted all application programs in monitoring software enquiry mobile terminal, and all applications are shown in the form of a list Title corresponding to program, and display is available for the choice box that user chooses before or after title.
Specifically, with Android(Android)Exemplified by the mobile terminal of operating system, monitoring software can pass through In queryIntentActivities method enquiry mobile terminals in PackageManager classes it is all it is mounted it is all should Show with program and in the form of a list.User can according to oneself need select in lists set access rights application journey Sequence, for example, user's selection sets access rights for application programs such as wechat, baidu browsers.Detect user selection it Afterwards, monitoring software will prompt the user whether that the application program for being defined as above-mentioned selection sets access rights according to the selection of user, When user determines to set access rights, the checking information that user inputs oneself setting is will be prompted to, and believe in user's input validation After breath, the application program of user's selection and the checking information set are preserved.Wherein, the checking information that user is inputted It can be determined by user oneself, user can input validation password or gesture.In addition, user can also be using biological information as testing Demonstrate,prove information.For example, user is using the fingerprint of oneself as the checking information for starting application program.
In an embodiment of the present invention, after receiving and recording the access rights that user is set to application program, may be used also With including:Receive and record releasing of the user to application routine access authority and set.Specifically, application program is set in user Access rights after, user can release the access rights of one or more application program as needed, for example, user is micro- After the application programs such as letter, calendar, calculator set access rights, if user wants to release the application program such as calendar and calculator Access rights, user can by select release the application program such as calendar and calculator access rights, monitoring software will receive The operation of the access rights of the releasing application program such as calendar and calculator of user is simultaneously recorded and preserved.
In an embodiment of the present invention, the information for monitoring and recording accessed application program in preset time can include:
When monitoring current accessed application program to set the application program of access rights, ejection is tested for user's input The checking page of information is demonstrate,proved, and records the temporal information and/or access times of current accessed application program.Wherein, current quilt The temporal information of access application includes the operation starting time of current accessed application program and terminates run time.Specifically For, with Android(Android)Exemplified by the mobile terminal of operating system, monitoring programme in the terminal is in opening Afterwards, background thread MonitorlogThread can carry out a next round by Thread.sleep (100) functions at interval of 100 seconds Ask, and currently accessed application program is obtained by the method for the getRunningTasks in ActivityManager classes.
, will ejection in mobile terminal when monitoring current accessed application program to set the application program of access rights One checking page for user's validation information.Wherein, checking information includes checking password or gesture.When user's input is tested After demonstrate,proving information, if user's validation information matches with the default checking information set, setting access rights can be run Application program.If user's validation information mismatches with the default checking information set, user's input validation is ejected The checking page of information, and prompt user authentication information to mismatch in the page is verified, the prompt message of checking please be re-enter. Now, monitoring software by operation note of the user to application program in such as database, wherein, can be recorded in database The currently operation starting time of accessed application program, end run time, access times and checking information state etc..Example Such as, checking information state correspond to two kinds of field values and be successfully or break off relations in database, when user's input checking information with During default checking information matching, field value corresponding to checking information state is successfully, conversely, then corresponding to checking information state Field value is refusal.
When it is the application program for being not provided with access rights to monitor current accessed application program, record current accessed The temporal information and/or access times of application program.For example, days of access rights is not provided with when monitoring user and access Last, user can be only recorded in database and runs the unlatching run time of calendar and terminates run time, also can be in database The access times of middle record user access calendar back and forth.
S102 ', according to information and predetermined condition, obtain the application information that access rights need to be set.
Specifically, can be obtained by the access times and/or run time of the current accessed application program in above- mentioned information The application information of setting access rights must be needed, wherein, the run time of current accessed application program is accessed to be current The end run time of application program and the difference for opening run time.Specifically, when it is determined that being currently accessed application program When access times are more than preset times, using current accessed application program as the application program that need to set access rights.Wherein, Preset times can be given tacit consent in mobile terminal system, can also be that user is set in the terminal according to different demands 's.For example, preset times are 10 times, if it is 15 times, i.e. short message to record user in database to access the number of short message Access times are more than 10 times, can add short message in the set for the application program for needing to set access rights.
When it is determined that currently the run time of accessed application program is more than preset time threshold, application will be currently accessed Program is as the application program that need to set access rights.Wherein, preset time threshold can be given tacit consent in mobile terminal system, It can also be what user was set in the terminal according to different demands.For example, preset time threshold is 10 minutes, such as The run time of the short message of the current accessed recorded in fruit database is 20 points, i.e., the run time of short message exceedes default threshold Value, then short message is added in the set for the application program for needing to set access rights.
S103 ', display includes the prompt message for the application information that need to set access rights, so that user is according to prompting Information sets the access rights of corresponding application program.
Specifically, after acquisition need to set the application information of access rights, access right need to be set by being included in display Before the prompt message of the application information of limit, it is also necessary to determine that monitoring programme is closed.
Specifically, user can be sent to mobile terminal by gesture operation and close touching for monitoring programme in the terminal Hair request, for example, in Android(Android)On the touch-screen of smart mobile phone, user can be by clicking on the icon of monitoring software i.e. The operation page of monitoring software can be entered, now user can close monitoring programme according to the pass of prompting click monitoring programme. To eject one after monitoring programme is closed, in mobile terminal and shown with tabular form need to set the application programs of access rights The prompting page of information.User can decide whether to set the application program that need to set access rights according to the information in the prompting page Access rights are put, if the user determine that for the application program of access rights need to be set to set access rights, can be for example, by choosing Choice box before needing to set the application program of access rights in list.
Especially when mobile terminal is lent others by user, when others gives back mobile terminal, user passes through shifting of the invention Dynamic terminal will be clearly understood that other people the access situations to application program in mobile terminal, and conveniently checks and need to set access rights Application information, and targetedly set need to set access rights application program access rights.Thus, effectively protect The safety of application program in mobile terminal has been protected, it is therefore prevented that further reveal useful information.
The mobile terminal of the embodiment of the present invention, by monitoring and recording the information of accessed application program in preset time, And analysis obtains the application information that need to set access rights and shown.Thus, when facilitating user and understanding default The access situation of application program in interior mobile terminal, and the access rights that user sets application program are facilitated, improve The experience of user.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array(PGA), scene Programmable gate array(FPGA)Deng.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changed, replacing and modification.

Claims (16)

  1. A kind of 1. monitoring method of application program, it is characterised in that including:
    The information that application program is accessed in preset time is monitored and records, wherein, described information includes access times and/or fortune The row time;
    According to described information and predetermined condition, the application information that access rights need to be set is obtained;And
    The application information that access rights need to be set is shown with tabular form;
    It is described that according to described information and predetermined condition, acquisition need to set the application information of access rights, including:
    When it is determined that currently the access times of accessed application program are more than preset times, by the currently accessed application program As the application program that need to set access rights;And/or
    When it is determined that currently the run time of accessed application program is more than preset time threshold, by the current accessed application Program is as the application program that need to set access rights.
  2. 2. according to the method for claim 1, it is characterised in that be accessed application program in the record preset time Before information, in addition to:
    Determine that monitoring programme is in opening.
  3. 3. according to the method for claim 1, it is characterised in that the application program that need to set access rights in the acquisition is believed After breath, before the prompt message of the display comprising the application information that need to set access rights, in addition to:
    Determine that the monitoring programme is closed.
  4. 4. according to the method for claim 2, it is characterised in that before the determination monitoring programme is in opening, Also include:
    Receive and record the access rights that user is set to application program.
  5. 5. according to the method for claim 4, it is characterised in that receive described and record the user application program is set After the access rights put, in addition to:
    Receive and record releasing of the user to the application program access rights and set.
  6. 6. the method according to claim 4 or 5, it is characterised in that described to monitor and record accessed in preset time answer Included with the information of program:
    When monitoring current accessed application program to set the application program of access rights, ejection supplies user's validation information The checking page, and record the temporal information and/or access times of current accessed application program;
    When monitoring that currently accessed application program is the application program for being not provided with access rights, record and current accessed applies journey The temporal information and/or access times of sequence.
  7. 7. according to the method for claim 6, it is characterised in that the temporal information of the current accessed application program includes The operation starting time and end run time of the current accessed application program.
  8. 8. according to the method for claim 6, it is characterised in that the checking information includes checking password or gesture.
  9. A kind of 9. supervising device of application program, it is characterised in that including:
    Monitoring module, for monitoring and recording the information of accessed application program in preset time, wherein, described information includes visiting Ask number and/or run time;
    Acquisition module, for according to described information and predetermined condition, obtaining the application information that need to set access rights;And
    Display module, for showing the application information that need to set access rights with tabular form;
    The acquisition module includes:
    First acquisition unit, described in when it is determined that currently the access times of accessed application program are more than preset times, inciting somebody to action Currently accessed application program is as the application program that need to set access rights;
    Second acquisition unit, for when it is determined that currently the run time of accessed application program is more than preset time threshold, inciting somebody to action The currently accessed application program is as the application program that need to set access rights.
  10. 10. device according to claim 9, it is characterised in that described device also includes:
    First determining module, before the information of accessed application program in monitoring module record preset time, really Determine monitoring programme and be in opening.
  11. 11. device according to claim 9, it is characterised in that described device also includes:
    Second determining module, after obtaining in the acquisition module and need to set the application information of access rights, in institute State before display module shows the prompt message comprising the application information that need to set access rights, determine the monitoring Program is closed.
  12. 12. device according to claim 10, it is characterised in that described device also includes:
    First receiving module, for before first determining module determines that monitoring programme is in opening, receiving and remembering Employ the access rights that family is set to application program.
  13. 13. device according to claim 12, it is characterised in that described device also includes:
    Second receiving module, for receiving and recording the access that the user sets to application program in first receiving module After authority, receive and record releasing setting of the user to the application program access rights.
  14. 14. the device according to claim 12 or 13, it is characterised in that the monitoring module includes:
    First monitoring unit, it is ejection when the application program of access rights is set for monitoring current accessed application program For the checking page of user's validation information, and record the temporal information and/or access times of current accessed application program;
    Second monitoring unit, for when monitoring that currently accessed application program is the application program for being not provided with access rights, note The temporal information and/or access times of the current accessed application program of record.
  15. 15. device according to claim 14, it is characterised in that the temporal information bag of the current accessed application program Include the operation starting time of the current accessed application program and terminate run time.
  16. 16. device according to claim 14, it is characterised in that the checking information includes checking password or gesture.
CN201410129057.1A 2014-04-01 2014-04-01 The monitoring method and device of application program Expired - Fee Related CN103927474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129057.1A CN103927474B (en) 2014-04-01 2014-04-01 The monitoring method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129057.1A CN103927474B (en) 2014-04-01 2014-04-01 The monitoring method and device of application program

Publications (2)

Publication Number Publication Date
CN103927474A CN103927474A (en) 2014-07-16
CN103927474B true CN103927474B (en) 2017-12-29

Family

ID=51145692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129057.1A Expired - Fee Related CN103927474B (en) 2014-04-01 2014-04-01 The monitoring method and device of application program

Country Status (1)

Country Link
CN (1) CN103927474B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408366B (en) * 2014-11-26 2017-11-21 清华大学 Android application program authority usage behavior tracking based on Program instrumentation
CN104796292B (en) * 2015-04-27 2018-05-04 上海青橙实业有限公司 Terminal management method and terminal system
CN105320880B (en) * 2015-11-12 2019-04-16 Oppo广东移动通信有限公司 The control method and device of terminal
CN106453057B (en) * 2016-11-08 2019-09-17 北京安云世纪科技有限公司 A kind of method and terminal for preventing short message to be stolen
CN106681853A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Application crashing processing method and mobile terminal
CN106897608A (en) * 2017-01-19 2017-06-27 北京奇虎科技有限公司 A kind of authority processing method of application program, device and mobile terminal
CN108810268B (en) * 2018-06-04 2020-11-03 珠海格力电器股份有限公司 Processing method and device for operation record
CN109670293A (en) * 2018-12-21 2019-04-23 联想(北京)有限公司 Information processing method and electronic equipment
CN110287694B (en) * 2019-06-26 2021-08-20 维沃移动通信有限公司 Application program management method, mobile terminal and storage medium
CN110851863B (en) * 2019-11-07 2022-06-03 北京无限光场科技有限公司 Application program authority control method and device and electronic equipment
CN112131588A (en) * 2020-09-25 2020-12-25 北京锐安科技有限公司 Application access method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880820A (en) * 2012-08-14 2013-01-16 东莞宇龙通信科技有限公司 Method for accessing application program of mobile terminal and mobile terminal
CN103593238A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Method and device for controlling invocation of application programming interfaces
CN103648024A (en) * 2013-12-27 2014-03-19 深圳Tcl新技术有限公司 Method for monitoring running of application program of intelligent terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409482B2 (en) * 2004-10-26 2008-08-05 Lenovo (Singapore) Pte, Ltd. Computer and method for on-demand network access control
CN101340449B (en) * 2008-08-15 2011-09-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN102819715A (en) * 2012-08-15 2012-12-12 腾讯科技(深圳)有限公司 API (application programming interface) monitoring method and device
CN102970681B (en) * 2012-11-12 2015-12-16 广东欧珀移动通信有限公司 A kind of secure access implementation method of mobile terminal and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880820A (en) * 2012-08-14 2013-01-16 东莞宇龙通信科技有限公司 Method for accessing application program of mobile terminal and mobile terminal
CN103593238A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Method and device for controlling invocation of application programming interfaces
CN103648024A (en) * 2013-12-27 2014-03-19 深圳Tcl新技术有限公司 Method for monitoring running of application program of intelligent terminal

Also Published As

Publication number Publication date
CN103927474A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103927474B (en) The monitoring method and device of application program
US11283670B2 (en) Detecting driving and modifying access to a user device
US7890429B2 (en) Method for managing a time-limited license on a computer application that can be run on a network component
JP2011512580A (en) System and method for accessing tamper-resistant storage in a wireless communication device using biometric data
CN102446256A (en) Terminal and application program management method
US20240004974A1 (en) Method and apparatus for accessing authentication credentials within a credential vault
Mahfouz et al. Android users in the wild: Their authentication and usage behavior
US9455985B2 (en) Method for secure key injection with biometric sensors
Benenson et al. Maybe poor johnny really cannot encrypt: The case for a complexity theory for usable security
Sion et al. Security threat modeling: are data flow diagrams enough?
US20150047019A1 (en) Information processing method and electronic device
CN103324874A (en) Verification method and electronic device
CN106203174A (en) Application information processing method and device and electronic equipment
CN105556534B (en) For suggesting the electronic equipment and method of response guide when refusing
CN105141750B (en) A kind of screen locking method and terminal
CN106815502A (en) The method and apparatus for checking message
CN113672294A (en) Intelligent switching method and device of working modes and computer equipment
US9979814B2 (en) Detecting driving and modifying access to a user device
CN106991307A (en) Using time slot scrambling and device
CN104346165A (en) Information processing apparatus, information processing method, program, storage medium, and information processing system
TW201246000A (en) Unlocking method, computer readable storage medium for storing thereof and handheld electrical device applying thereof
EP3460657A1 (en) Method for validating a medical application, end user device and medical system
US20200311234A1 (en) Electronic device security
CN106408304A (en) Account security management method and device
CN107341012A (en) The display methods and display system of a kind of applying unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171229

CF01 Termination of patent right due to non-payment of annual fee