CN105320882A - Method and device for controlling permission of application programs - Google Patents

Method and device for controlling permission of application programs Download PDF

Info

Publication number
CN105320882A
CN105320882A CN201410363487.XA CN201410363487A CN105320882A CN 105320882 A CN105320882 A CN 105320882A CN 201410363487 A CN201410363487 A CN 201410363487A CN 105320882 A CN105320882 A CN 105320882A
Authority
CN
China
Prior art keywords
authority
application program
corresponding relation
program identification
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410363487.XA
Other languages
Chinese (zh)
Inventor
齐雪生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410363487.XA priority Critical patent/CN105320882A/en
Publication of CN105320882A publication Critical patent/CN105320882A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for controlling the permission of application programs. The method comprises steps as follows: any of the application programs is taken as a target application program, and an identification of the target application program is obtained; whether the permission corresponding to the identification of the target application program exists in the corresponding relation of identifications and permission of locally prestored application programs is inquired; if the permission corresponding to the identification of the target application program exists, the permission is set for the target application program. With the adoption of the method, a user does not need to select and set the permission of the application programs, the permission of the application programs can be set intelligently for the user, and abnormal phenomena caused by wrong permission setting are avoided.

Description

A kind of application program authority control method and device
Technical field
The present invention relates to information security field, be specifically related to a kind of application program authority control method and device.
Background technology
At present, the application program kind that terminal can be installed gets more and more, and can not ignore the threat of application program to privacy of user while the various application program of user installation.Such as, some application program does not need the private data reading user can complete the effect of itself, but in order to some interests or other factors, this application program also can read the contact person of user in the unwitting situation of user, note, message registration, picture, the privacy informations such as schedule, and these privacy informations are uploaded to the background server of this application program, cause the private data of user in unwitting situation, be employed program to collect, user information safety is threatened, brings unnecessary loss to user.
In order to solve the problem, all authorities that the application program be arranged in terminal may need all show by prior art usually, the authority allowing user select to arrange each application program to have.But general user does not know the authority that each application program should have usually, or user do not know to prohibit certain authority of certain application program yet after this application program can or can not be caused normally not run.
Summary of the invention
For the problems referred to above, the invention provides a kind of application program authority control method and device, on the basis of protection privacy of user, the authority of each application program of user's intelligent set can be helped.
The invention provides a kind of application program authority control method, described method comprises:
Determine that arbitrary application program is destination application, and obtain the mark of described destination application;
The authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
If there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority and described determine that arbitrary application program is destination application after, also comprise:
Judge whether the authority of described destination application is arranged by user;
If the authority of described destination application is not arranged by user, then continue the step performing the local application program identification prestored of the described inquiry authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprise:
Pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
Preferably, described in pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality, is specially:
Obtain the corresponding relation of application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in this locality.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprise:
The corresponding relation of application program identification and authority is obtained from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
The application program identification of acquisition and the corresponding relation of authority are stored in this locality.
The present invention also provides a kind of application program authority control method, and described method comprises:
Cloud server receives the priority assignation information of each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Described cloud server calculates the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
The corresponding relation of described application program identification and authority is sent to user terminal by described cloud server, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
Present invention also offers a kind of application program permission control device, described device comprises:
Determination module, for determining that arbitrary application program is destination application, and obtains the mark of described destination application;
Enquiry module, for inquiring about application program identification that this locality the prestores authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
First arranges module, for when described enquiry module inquires the authority of the mark correspondence that there is described destination application, for described destination application arranges described authority.
Preferably, described device also comprises:
Judge module, for judging whether the authority of described destination application is arranged by user;
Trigger module, for when the result of described judge module is no, triggers described enquiry module.
Preferably, described device also comprises:
Second arranges module, for pre-setting the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
Preferably, described second arranges module is specially the corresponding relation obtaining application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in local module.
Preferably, described device also comprises:
Acquisition module, for obtaining the corresponding relation of application program identification and authority from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Memory module, for being stored in this locality by the application program identification of acquisition and the corresponding relation of authority.
Present invention also offers a kind of application program permission control device, described device comprises:
Receiver module, for receiving the priority assignation information of each user terminal to send up, described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Computing module, for calculating the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
Delivery module, for the corresponding relation of described application program identification and authority is sent to user terminal, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
First the present invention determines that arbitrary application program is destination application, and obtain the mark of described destination application, secondly, judge the authority that the local application program identification prestored is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, if there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.Compared with prior art, the present invention does not need user oneself to select to arrange the authority of each application program, but helps the authority of each application program of user's intelligent set, avoids the abnormal occurrence that priority assignation mistake causes.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The application program authority control method process flow diagram that Fig. 1 provides for the embodiment of the present invention;
The application program authority control method process flow diagram that Fig. 2 provides for the embodiment of the present invention;
The application program authority control method process flow diagram that Fig. 3 provides for the embodiment of the present invention;
The mutual schematic diagram of application program authority control method that Fig. 4 provides for the embodiment of the present invention;
The application program permission control device structural drawing that Fig. 5 provides for the embodiment of the present invention;
The application program permission control device structural representation that Fig. 6 provides for the embodiment of the present invention;
The block diagram of the part-structure of the mobile phone that Fig. 7 is correlated with for the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Embodiment one
With reference to the application program authority control method process flow diagram that figure 1, Fig. 1 provides for the present embodiment, described method is applied to user terminal, and described terminal can be the smart machines such as mobile phone, computing machine, panel computer, specifically can comprise:
S101: determine that arbitrary application program is destination application, and obtain the mark of described destination application.
In the present embodiment, before the authority of application programs controls, first determine that an application program is destination application, and obtain the mark of this destination application, as the bag name etc. of this application program.
In practical application, when user terminal installs certain application program first, the setting of authority can be carried out this application program, in the present embodiment, the application program of installing first can be defined as destination application, and obtain the bag name of described application program.
S102: the authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority.
S103: if there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.
The present embodiment is after the mark obtaining destination application, the authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, if existed, be then the authority inquired by the priority assignation of described destination application.Such as destination application is ink marks weather, and user terminal stores ink marks sky gas bag name and the corresponding relation obtaining geographic position authority in this locality, so, the present embodiment can after acquisition ink marks sky gas bag name, whether inquiry is local stores the authority corresponding with ink marks sky gas bag name, after inquiring gas bag name correspondence acquisition geographic position, ink marks sky authority, geographic position authority can be obtained for ink marks weather be arranged.
The present embodiment is by the corresponding relation of the local application program identification that prestores of inquiry and authority, for destination application intelligent set authority, compared with prior art, the present embodiment does not need user manually to arrange the authority of application program, avoids because user does not know the priority assignation mistake that the authority needed for each application program causes.
With reference to the application program authority control method process flow diagram that figure 2, Fig. 2 provides for the present embodiment, described method is applied to user terminal, and described terminal can be the smart machines such as mobile phone, computing machine, panel computer, and described method comprises:
S201: the corresponding relation pre-setting application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
In the present embodiment, can white list be pre-set, be some application program and pre-determine corresponding authority, and the mark of described application program is stored in local terminal with for the corresponding relation of its authority arranged.Such as, the communication class application program that user terminal is installed as micro-letter phone directory, have your note, incoming call logical, because communication class application program has wanted the communication function of itself must have the function of the contents such as the contact person that can obtain on user terminal, note or message registration, so, generally can in advance for these communication class application programs arrange the authority allowing the contents such as access contact person, note or message registration.In addition, if the application program of weather class, news category, tool-class also applies for the authority of short message reading, contact person or message registration, generalized case is not easily accepted by a user, so, can in advance these application programs be set to close the authority reading privacy of user data.In addition, for some malicious application, can all authorities of this application program of hard closing.
In practical application, can the corresponding relation of the application program identification pre-set and authority be stored in cloud server, when user needs the rights management carrying out application program, download the corresponding relation of described application program identification and authority from cloud server.In addition, when the corresponding relation of described application program identification and authority changes, only can upgrade the corresponding relation of described application program identification on cloud server and authority, and each user terminal can by downloading the corresponding relation of application program identification and the authority that described cloud server has upgraded, complete application program identification on local terminal and the corresponding relation of authority and the synchronized update of cloud server.
S202: the corresponding relation obtaining application program identification and authority from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged.
S203: the application program identification of acquisition and the corresponding relation of authority are stored in this locality.
In the present embodiment, the authority that user oneself arranges for application program by user terminal and application program identification report to cloud server, cloud server calculates authority corresponding to each application program according to the priority assignation information of reporting of user, and preserves described corresponding relation.
Concrete, cloud server is according to the priority assignation information of reporting of user, and the situation that certain authority of adding up each application program opens and closes, such as, can add up the number of times of unlatching and the number of times etc. of closedown.Cloud server can be defined as application program according to the result of statistics and arrange which authority.Such as, when user's opening times of certain authority of certain application program in statistics is greater than the threshold values pre-set in cloud server, the corresponding relation of described application program identification and described authority is determined.
Before authority is set for application program, obtains the corresponding relation of application program identification that described cloud server calculates and authority from cloud server, and the corresponding relation of described application program identification and authority is stored in terminal local.S204: determine that arbitrary application program is destination application, and obtain the mark of described destination application.
S205: judge whether the authority of described destination application is arranged by user.
In the present embodiment, user according to the demand of oneself application programs authority, can carry out the setting of application program authority.After user terminal determines an application program, first judge whether the authority of this application program is initiatively arranged by user.
Concrete, if user initiatively carries out priority assignation to any one application program, then user terminal can know the operation that user triggers to arrange described application program authority, and will be identified by the application program that user initiatively arranges authority, so that according to mark, terminal determines that the authority of described application program is arranged by user.
In practical operation, if the authority of an application program was initiatively arranged by user, so can retain the setting of user, if this application program was not initiatively arranged by user, then can perform S206.
S206: if the authority of described destination application is not arranged by user, then the authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority.
In the present embodiment, because local terminal stores the corresponding relation pre-setting application program identification and authority, and from the application program identification of cloud server and the corresponding relation of authority, so, after determining that the authority of destination application is not arranged by user, in the local above-mentioned corresponding relation stored of inquiry, whether there is the authority of the mark correspondence of described destination application.
In the present embodiment, can to pre-setting the corresponding relation of application program identification and authority and obtaining the correspondence setting priority relationship of application program identification and authority from cloud server, concrete, the former priority can be set to higher than the latter.That is, when described destination application be identified at all exist in above-mentioned two kinds of corresponding relations time, according to the authority recorded in preferentially high corresponding relation, described destination application is arranged.
S207: if there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.
The present embodiment by inquire about the application program identification that pre-sets and authority corresponding relation and from the application program identification of cloud server and the corresponding relation of authority, be destination application intelligent set authority.So the present embodiment does not need user manually to arrange the authority of application program, avoid because user does not know the priority assignation mistake that the authority needed for each application program causes.
In addition, the present embodiment, by upgrading the application program identification of cloud server and the corresponding relation of authority, completes the renewal of the application program identification of terminal local storage and the corresponding relation of authority, the priority assignation of application program is standardized more and intellectuality.
Embodiment two
With reference to the application program authority control method process flow diagram that figure 3, Fig. 3 provides for the present embodiment, described method is applied to cloud server, specifically comprises:
S301: cloud server receives the priority assignation information of each user terminal to send up, described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
S302: described cloud server calculates the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
S303: the corresponding relation of described application program identification and authority is sent to user terminal by described cloud server, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
In the present embodiment, each user terminal is after user initiatively completes the priority assignation of an application program, and the correspondence care of the authority mark of described application program and user arranged reports to cloud server.Cloud server, after the above-mentioned priority assignation information receiving user terminal to send up, is added up the authority that each application program is set up with it, and the corresponding relation of be applied according to statistics program identification and authority.Cloud server is after the request receiving user terminal transmission, the application program identification of being asked and the corresponding relation of authority are sent to user terminal, and described user terminal can according to the authority of correspondence setting application program of the described application program identification received and authority.
In the application program authority control method that the present embodiment provides, cloud server can calculate the corresponding relation of application program identification and authority according to the priority assignation information of reporting of user, and this corresponding relation is sent to user terminal, so that user terminal according to the authority of this corresponding relation intelligent set application program, can avoid because user does not know the priority assignation mistake that the authority needed for each application program causes.
Embodiment three
With reference to a kind of application program permission control device structural representation that figure 4, Fig. 4 provides for the present embodiment, described device comprises:
Determination module 401, for determining that arbitrary application program is destination application, and obtains the mark of described destination application;
Enquiry module 402, for inquiring about application program identification that this locality the prestores authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
First arranges module 403, for when described enquiry module inquires the authority of the mark correspondence that there is described destination application, for described destination application arranges described authority.
In addition, with reference to the another kind of application program permission control device structural representation that figure 5, Fig. 5 provides for the present embodiment, described device not only comprises the module in Fig. 4, can also comprise:
Judge module 501, for judging whether the authority of described destination application is arranged by user;
Trigger module 502, for when the result of described judge module is no, triggers described enquiry module.
Described device can also comprise:
Second arranges module, for pre-setting the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
Wherein, described second arranges module is specially the corresponding relation obtaining application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in local module.
Concrete, described device can also comprise:
Acquisition module, for obtaining the corresponding relation of application program identification and authority from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Memory module, for being stored in this locality by the application program identification of acquisition and the corresponding relation of authority.
The present embodiment is by the corresponding relation of the local application program identification that prestores of inquiry and authority, for destination application intelligent set authority, compared with prior art, the present embodiment does not need user manually to arrange the authority of application program, avoids because user does not know the priority assignation mistake that the authority needed for each application program causes.
Embodiment four
With reference to a kind of application program permission control device structural representation that figure 6, Fig. 6 provides for the present embodiment, described device comprises:
Receiver module 601, for receiving the priority assignation information of each user terminal to send up, described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Computing module 602, for calculating the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
Delivery module 603, for the corresponding relation of described application program identification and authority is sent to user terminal, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
In the application program permission control device that the present embodiment provides, cloud server can calculate the corresponding relation of application program identification and authority according to the priority assignation information of reporting of user, and this corresponding relation is sent to user terminal, so that user terminal according to the authority of this corresponding relation intelligent set application program, can avoid because user does not know the priority assignation mistake that the authority needed for each application program causes.
The embodiment of the present invention additionally provides a kind of terminal, and as shown in Figure 7, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can comprise mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), POS (PointofSales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 7 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 7, mobile phone comprises: radio frequency (RadioFrequency, RF) parts such as circuit 710, storer 720, input block 730, display unit 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wirelessfidelity, WiFi) module 770, processor 780 and power supply 790.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 7 each component parts to mobile phone:
RF circuit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 780; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (LowNoiseAmplifier, LNA), diplexer etc.In addition, RF circuit 710 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication, GSM), general packet radio service (GeneralPacketRadioService, GPRS), CDMA (CodeDivisionMultipleAccess, CDMA), Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA), Long Term Evolution (LongTermEvolution, LTE)), Email, Short Message Service (ShortMessagingService, SMS) etc.
Storer 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of storer 720 by running, thus performs various function application and the data processing of mobile phone.Storer 720 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 730 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 700 and function controls the input of relevant key signals.Particularly, input block 730 can comprise contact panel 731 and other input equipments 732.Contact panel 731, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 731 or near contact panel 731 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 731 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 731.Except contact panel 731, input block 730 can also comprise other input equipments 732.Particularly, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.In the present embodiment, input block 730 can comprise mobile phone camera.
Display unit 740 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.In the present embodiment, display unit 740 can be used for the property value of the mark correspondence of display-object object.Display unit 740 can comprise display panel 741, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display panel 741.Further, contact panel 731 can cover display panel 741, when contact panel 731 detects thereon or after neighbouring touch operation, send processor 780 to determine the type of touch event, on display panel 741, provide corresponding vision to export with preprocessor 780 according to the type of touch event.Although in the figure 7, contact panel 731 and display panel 741 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 731 and display panel 741 and realize the input and output function of mobile phone.
Mobile phone 700 also can comprise at least one sensor 750, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 741, proximity transducer when mobile phone moves in one's ear, can cut out display panel 741 and/or backlight.As the one of motion sensor, accelerometer sensor can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and mobile phone.Voicefrequency circuit 760 can by receive voice data conversion after electric signal, be transferred to loudspeaker 761, by loudspeaker 761 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 762, voice data is converted to after being received by voicefrequency circuit 760, after again voice data output processor 780 being processed, through RF circuit 710 to send to such as another mobile phone, or export voice data to storer 720 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 770, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows WiFi module 770, be understandable that, it does not belong to must forming of mobile phone 700, can omit in the scope of essence not changing invention as required completely.
Processor 780 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 720 and/or module is stored in by running or performing, and call the data be stored in storer 720, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 780 can comprise one or more processing unit; Preferably, processor 780 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Mobile phone 700 also comprises the power supply 790 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 780 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 700 can also comprise camera, bluetooth module etc., does not repeat them here.
Specifically in the present embodiment, processor 780 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in storer 720, and the application program be stored in storer 720 is run by processor 780, thus realize various function:
Determine that arbitrary application program is destination application, and obtain the mark of described destination application;
The authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
If there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority and described determine that arbitrary application program is destination application after, also comprise:
Judge whether the authority of described destination application is arranged by user;
If the authority of described destination application is not arranged by user, then continue the step performing the local application program identification prestored of the described inquiry authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprise:
Pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
Preferably, described in pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality, is specially:
Obtain the corresponding relation of application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in this locality.
Preferably, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprise:
The corresponding relation of application program identification and authority is obtained from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
The application program identification of acquisition and the corresponding relation of authority are stored in this locality.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement. 
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
A kind of application program authority control method provided the embodiment of the present invention above and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. an application program authority control method, is characterized in that, described method comprises:
Determine that arbitrary application program is destination application, and obtain the mark of described destination application;
The authority that the local application program identification prestored of inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
If there is the authority of the mark correspondence of described destination application, then described authority is set for described destination application.
2. method according to claim 1, it is characterized in that, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority and described determine that arbitrary application program is destination application after, also comprise:
Judge whether the authority of described destination application is arranged by user;
If the authority of described destination application is not arranged by user, then continue the step performing the local application program identification prestored of the described inquiry authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority.
3. method according to claim 1, is characterized in that, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprises:
Pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
4. method according to claim 3, is characterized in that, described in pre-set the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality, is specially:
Obtain the corresponding relation of application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in this locality.
5. method according to claim 1, is characterized in that, before the authority that the local application program identification prestored of described inquiry is corresponding with the mark that whether there is described destination application in the corresponding relation of authority, also comprises:
The corresponding relation of application program identification and authority is obtained from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
The application program identification of acquisition and the corresponding relation of authority are stored in this locality.
6. an application program authority control method, is characterized in that, described method comprises:
Cloud server receives the priority assignation information of each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Described cloud server calculates the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
The corresponding relation of described application program identification and authority is sent to user terminal by described cloud server, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
7. an application program permission control device, is characterized in that, described device comprises:
Determination module, for determining that arbitrary application program is destination application, and obtains the mark of described destination application;
Enquiry module, for inquiring about application program identification that this locality the prestores authority corresponding with the mark that whether there is described destination application in the corresponding relation of authority;
First arranges module, for when described enquiry module inquires the authority of the mark correspondence that there is described destination application, for described destination application arranges described authority.
8. device according to claim 7, is characterized in that, described device also comprises:
Judge module, for judging whether the authority of described destination application is arranged by user;
Trigger module, for when the result of described judge module is no, triggers described enquiry module.
9. device according to claim 7, is characterized in that, described device also comprises:
Second arranges module, for pre-setting the corresponding relation of application program identification and authority, and the corresponding relation of described application program identification and authority is stored in this locality.
10. device according to claim 9, it is characterized in that, described second arranges module is specially the corresponding relation obtaining application program identification and the authority pre-set from cloud server, and the corresponding relation of described application program identification and authority is stored in local module.
11. devices according to claim 7, is characterized in that, described device also comprises:
Acquisition module, for obtaining the corresponding relation of application program identification and authority from cloud server, the corresponding relation of described application program identification and authority is calculated by the priority assignation information of described cloud server according to each user terminal to send up, and described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Memory module, for being stored in this locality by the application program identification of acquisition and the corresponding relation of authority.
12. 1 kinds of application program permission control devices, is characterized in that, described device comprises:
Receiver module, for receiving the priority assignation information of each user terminal to send up, described priority assignation information comprises the corresponding relation of the authority that application program identification and user are arranged;
Computing module, for calculating the corresponding relation of application program identification and authority according to the priority assignation information of each user terminal to send up;
Delivery module, for the corresponding relation of described application program identification and authority is sent to user terminal, so that described user terminal is according to the authority of the correspondence setting application program of described application program identification and authority.
CN201410363487.XA 2014-07-28 2014-07-28 Method and device for controlling permission of application programs Pending CN105320882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410363487.XA CN105320882A (en) 2014-07-28 2014-07-28 Method and device for controlling permission of application programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410363487.XA CN105320882A (en) 2014-07-28 2014-07-28 Method and device for controlling permission of application programs

Publications (1)

Publication Number Publication Date
CN105320882A true CN105320882A (en) 2016-02-10

Family

ID=55248247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410363487.XA Pending CN105320882A (en) 2014-07-28 2014-07-28 Method and device for controlling permission of application programs

Country Status (1)

Country Link
CN (1) CN105320882A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704288A (en) * 2016-03-25 2016-06-22 海信集团有限公司 Incoming call information acquisition method and equipment
CN106055973A (en) * 2016-05-30 2016-10-26 深圳市永兴元科技有限公司 Application permission management method and application apparatus
CN106101006A (en) * 2016-08-23 2016-11-09 大连网月科技股份有限公司 A kind of application type cloud recognizer for flow-control and device
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions
CN106598669A (en) * 2016-12-13 2017-04-26 珠海市魅族科技有限公司 Terminal and permission configuration restoration method of application program for terminal
CN106650348A (en) * 2016-09-30 2017-05-10 维沃移动通信有限公司 Method and device for setting authorities of application programs of mobile terminal
CN106778237A (en) * 2016-12-13 2017-05-31 珠海市魅族科技有限公司 A kind of method of repair function availability, terminal and external equipment
CN107145790A (en) * 2017-04-05 2017-09-08 深圳市金立通信设备有限公司 A kind of method and terminal for managing application permission
CN108664786A (en) * 2018-04-24 2018-10-16 Oppo广东移动通信有限公司 Authority configuring method, mobile terminal, server and the storage medium of application program
CN109076126A (en) * 2017-03-21 2018-12-21 华为技术有限公司 Permission update method and terminal device
CN112597476A (en) * 2020-12-25 2021-04-02 努比亚技术有限公司 Application authority management method, device, terminal and storage medium
WO2021253975A1 (en) * 2020-06-18 2021-12-23 华为技术有限公司 Permission management method and apparatus for application, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5917489A (en) * 1997-01-31 1999-06-29 Microsoft Corporation System and method for creating, editing, and distributing rules for processing electronic messages
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN103761472A (en) * 2014-02-21 2014-04-30 北京奇虎科技有限公司 Application program accessing method and device based on intelligent terminal
CN103927476A (en) * 2014-05-07 2014-07-16 上海联彤网络通讯技术有限公司 Intelligent system and method for achieving application program authority management
CN104125335A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Method, device and system for managing authority

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5917489A (en) * 1997-01-31 1999-06-29 Microsoft Corporation System and method for creating, editing, and distributing rules for processing electronic messages
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN103761472A (en) * 2014-02-21 2014-04-30 北京奇虎科技有限公司 Application program accessing method and device based on intelligent terminal
CN103927476A (en) * 2014-05-07 2014-07-16 上海联彤网络通讯技术有限公司 Intelligent system and method for achieving application program authority management
CN104125335A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Method, device and system for managing authority

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704288A (en) * 2016-03-25 2016-06-22 海信集团有限公司 Incoming call information acquisition method and equipment
CN105704288B (en) * 2016-03-25 2018-09-21 海信集团有限公司 A kind of incoming information acquisition methods and equipment
CN106055973A (en) * 2016-05-30 2016-10-26 深圳市永兴元科技有限公司 Application permission management method and application apparatus
CN106101006A (en) * 2016-08-23 2016-11-09 大连网月科技股份有限公司 A kind of application type cloud recognizer for flow-control and device
CN106650348A (en) * 2016-09-30 2017-05-10 维沃移动通信有限公司 Method and device for setting authorities of application programs of mobile terminal
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions
CN106778237A (en) * 2016-12-13 2017-05-31 珠海市魅族科技有限公司 A kind of method of repair function availability, terminal and external equipment
CN106598669A (en) * 2016-12-13 2017-04-26 珠海市魅族科技有限公司 Terminal and permission configuration restoration method of application program for terminal
CN109076126A (en) * 2017-03-21 2018-12-21 华为技术有限公司 Permission update method and terminal device
CN109076126B (en) * 2017-03-21 2020-09-18 华为技术有限公司 Permission updating method and terminal equipment
CN107145790A (en) * 2017-04-05 2017-09-08 深圳市金立通信设备有限公司 A kind of method and terminal for managing application permission
CN108664786A (en) * 2018-04-24 2018-10-16 Oppo广东移动通信有限公司 Authority configuring method, mobile terminal, server and the storage medium of application program
WO2021253975A1 (en) * 2020-06-18 2021-12-23 华为技术有限公司 Permission management method and apparatus for application, and electronic device
CN112597476A (en) * 2020-12-25 2021-04-02 努比亚技术有限公司 Application authority management method, device, terminal and storage medium
CN112597476B (en) * 2020-12-25 2024-06-04 努比亚技术有限公司 Application authority management method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105320882A (en) Method and device for controlling permission of application programs
CN109241765B (en) Mobile terminal and method and device for managing authority of application program
CN104965721A (en) Method and apparatus for updating an application
CN104598262A (en) Method and device for updating mobile application
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN104572819A (en) Clearing method and system for junk data
CN104951212A (en) Method, device and system for processing desktop data of mobile terminal
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN106341809B (en) A kind of data transmission method and equipment
CN103455343A (en) Method and device for updating application programs
CN107484154B (en) Data switching method and device, terminal and computer readable storage medium
CN104301315A (en) Method and device for limiting information access
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN105307242A (en) Wi-Fi network application method and terminal
CN104965722A (en) Method and apparatus for displaying information
CN106155717A (en) A kind of method and apparatus that SDK is integrated into third party APK
CN104135504B (en) A kind of service providing method, Apparatus and system based on application
CN103713943A (en) Native terminal operating system based application function realization method and device
CN104699501A (en) Method and device for running application program
CN106506815A (en) A kind of application enables method and relevant device
CN103312783B (en) Method, device and system for switching function modes
CN103561155B (en) Send the method for note, device and terminal
CN104869550A (en) Communication event processing method and device
CN104866288A (en) Method, device and terminal for accessing application program
CN104702643A (en) A webpage access method, device and system

Legal Events

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

Application publication date: 20160210

RJ01 Rejection of invention patent application after publication