CN108205622A - The authority control method and device of a kind of application program for mobile terminal - Google Patents

The authority control method and device of a kind of application program for mobile terminal Download PDF

Info

Publication number
CN108205622A
CN108205622A CN201710128954.4A CN201710128954A CN108205622A CN 108205622 A CN108205622 A CN 108205622A CN 201710128954 A CN201710128954 A CN 201710128954A CN 108205622 A CN108205622 A CN 108205622A
Authority
CN
China
Prior art keywords
hardware
application program
mobile terminal
hardware resource
resource
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.)
Withdrawn
Application number
CN201710128954.4A
Other languages
Chinese (zh)
Inventor
谭必文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710128954.4A priority Critical patent/CN108205622A/en
Publication of CN108205622A publication Critical patent/CN108205622A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of authority control method and device of the application program for mobile terminal, the system management and control dynamics of mobile terminal is strengthened in the accurate control being used to implement in system level.The embodiment of the present invention provides a kind of authority control method of application program for mobile terminal, including:Obtain application program needs hardware configuration information to be used in the terminal;Obtaining the application program according to the hardware configuration information needs hardware resource to be used;Judge whether the application program has the system permission using the hardware resource according to hardware control strategy preset in the mobile terminal;If the application program has the system permission, allow the application program using the hardware resource, if the application program does not have the system permission, refuse the application program and use the hardware resource.

Description

The authority control method and device of a kind of application program for mobile terminal
Technical field
The present invention relates to a kind of controls of the permission of field of computer technology more particularly to application program for mobile terminal Method and apparatus.
Background technology
For the ease of user's operation mobile terminal, mobile terminal becomes more and more open, this can cause system to applying journey The management of sequence is increasingly difficult to accomplish unified management and control.All it is the part resource to mobile phone at present in the mobile phone operating system of mainstream Carry out permission management, such as application program A can accessing address list be a kind of permission, for another example application program B access informations are A kind of permission etc., but the authority control method of the prior art is only capable of covering the authority distribution to part resource, this is still System can be caused inadequate to the management and control dynamics of application program, can not realize the accurate control to application program, however it remains application The operation of program leads to that running of mobile terminal is not smooth, battery durable ability is poor.
Invention content
An embodiment of the present invention provides a kind of authority control methods and device of the application program for mobile terminal, are used for It realizes the accurate control on hardware view, strengthens management and control dynamics of the mobile terminal to application program.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of authority control method of application program for mobile terminal, packet It includes:
Obtain application program needs hardware configuration information to be used in the terminal;
Obtaining the application program according to the hardware configuration information needs hardware resource to be used;
Judge the application program whether with described in use according to hardware control strategy preset in the mobile terminal The system permission of hardware resource;
If the application program has the system permission, allow the application program using the hardware resource, if institute Application program is stated without the system permission, refuses the application program and uses the hardware resource.
Second aspect, the embodiment of the present invention also provide a kind of permission control device of the application program for mobile terminal, Including:
Configuration information acquisition module needs hardware configuration information to be used in the terminal for obtaining application program;
Hardware resource acquisition module, need to be to be used hard for obtaining the application program according to the hardware configuration information Part resource;
System permission judgment module, for judging the application according to hardware control strategy preset in the mobile terminal Whether program has the system permission using the hardware resource;
Hardware distributes control module, if having the system permission for the application program, allows the application program Using the hardware resource, if the application program does not have the system permission, refuse the application program use it is described hard Part resource.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In embodiments of the present invention, obtain application program first needs hardware configuration information to be used in the terminal, Then obtaining application program according to software-hardware configuration information needs hardware resource to be used, next according to pre- in the mobile terminal If hardware control strategy judge application program whether have using hardware resource system permission, if application program have system Permission allows the application program, if the application program does not have the system permission, to refuse the application program using the hardware resource Use the hardware resource.The application program can be obtained in the embodiment of the present invention by hardware configuration information needs hardware to be used Resource, due to being preset with hardware control strategy in mobile terminal, so as to which the hardware control strategy is used to judge application program Whether there is the system permission using the hardware resource, since application program needs can be monitored from the level of system permission Hardware resource so as to guarantee that hardware precision management and control is carried out to application program, is conducive to hardware resource in mobile terminal Optimum management excessively will not use or consume system resource, be effectively guaranteed the smooth operation of mobile terminal, improve battery Cruising ability.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those skilled in the art, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of flow of the authority control method of application program for mobile terminal provided in an embodiment of the present invention Block diagram;
Fig. 2-a are a kind of group of the authority control method of application program for mobile terminal provided in an embodiment of the present invention Into structure diagram;
Fig. 2-b are a kind of composition structure diagram of system permission judgment module provided in an embodiment of the present invention;
Fig. 2-c are the composition structure diagram of another system permission judgment module provided in an embodiment of the present invention.
Specific embodiment
An embodiment of the present invention provides a kind of authority control methods and device of the application program for mobile terminal, are used for It realizes the accurate control on hardware view, strengthens management and control dynamics of the mobile terminal to application program.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that disclosed below Embodiment be only part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, this field Technical staff's all other embodiments obtained, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing Similar object describes specific sequence or precedence without being used for.It should be appreciated that the term used in this way is in appropriate feelings It can be interchanged under condition, this is only to describe in the embodiment of the present invention to the used differentiation in description of the object of same alike result Mode.In addition, term " comprising " and " having " and their any deformation, it is intended that cover it is non-exclusive include, so as to Process, method, system, product or equipment comprising a series of units are not necessarily limited to those units, but may include unclear Other units that ground is listed or for these processes, method, product or equipment inherently.
It is described in detail separately below.
The present invention can be applied to operation behaviour for one embodiment of the authority control method of the application program of mobile terminal Make in the mobile terminal of system, can be installed in the operating system of running of mobile terminal there are many different application programs, had Body can be configured by the operation user of mobile terminal or a variety of applications are configured according to the operating system of mobile terminal Program.These application programs need to occupy resource in the operation of terminal, and the total resources of mobile terminal is always limited, causes Some application assigneds are less than resource or excessive use system, so as to cause running of mobile terminal is smooth, battery continues The problems such as boat energy force difference.Refering to Figure 1, the present invention is used for one of the authority control method of the application program of mobile terminal Embodiment may include steps of:
101st, obtain application program needs hardware configuration information to be used in the terminal.
In embodiments of the present invention, various application programs can be installed, which can include in mobile terminal Mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales sells mobile terminal), the arbitrary mobile terminal device such as vehicle-mounted computer.Assuming that there is many applications in terminal, as browser, The application software such as ink marks weather, Baidu map, calendar, camera, Alipay, wechat, U.S. group, public comment, microblogging.Pass through movement The display screen of terminal can show the application program in mobile terminal.Wherein, different application programs is transported in the terminal It is needed during row using different hardware configuration informations, hardware configuration, which refers to that application program is just predefined in exploitation, to be needed to use Hardware concrete configuration, such as can be requirement or certain type of hardware requirement of the application program to certain model hardware. For example, application program of taking pictures is needed using hardware such as central processing unit, memory, cameras.For another example mapping program needs Use the hardware such as central processing unit, memory, gyroscope, global positioning system.
In some embodiments of the invention, hardware configuration information, including at least one of following information:Central processing The configuration of device (Central Processing Unit, CPU), global positioning system (Global Positioning System, GPS configuration), the configuration of WLAN (Wireless Fidelity, WiFi), being configured of inductor (sensor), more matchmakers The configuration of body player, the configuration of bluetooth.Wherein, application program run required hardware configuration in the terminal can be with It is determined according to the hardware configuration of specific Application Type and mobile terminal, not limited herein.
102nd, obtaining application program according to hardware configuration information needs hardware resource to be used.
In embodiments of the present invention, after getting application program need hardware configuration information to be used, following basis Hardware configuration acquisition needs hardware resource to be used when running the application program in the terminal, wherein, hardware resource is It is the available resources of mounted hardware module distribution in mobile terminal, hardware module is only in the central processing unit of mobile terminal It could be used in the case of being assigned hardware resource for it.Pass through the parsing to hardware configuration information, it may be determined that application program Need hardware resource to be used.
In embodiments of the present invention, it can be determined to need according to the hardware configuration of application program in mobile terminal to be used hard Part resource.Such as user needs to open microphone hardware realization sound-recording function, when user makes when using wechat application program When with wechat, want that, using voice-enabled chat function, mobile terminal is only assigned with the hardware resource of microphone hardware for it, it should Wechat program could use microphone hardware.
In some embodiments of the invention, step 102 needs to be used according to hardware configuration information acquisition application program Hardware resource, including:
A1, when application program is in the terminal when to be installed, run the installation kit of application program, carried from installation kit Take out hardware configuration information;
A2, it is searched from the configured all hardware resource of mobile terminal and the hardware of hardware configuration information successful match money Source, and need hardware resource to be used using the hardware resource of successful match as application program.
Wherein, user downloads the installation kit of new application in the terminal, new application installation kit by with When operation is clicked at family, hardware configuration information can be extracted by the installation kit.It is arranged by the configured hardware resource of mobile terminal The matching result of all hardware resource and the hardware configuration information determines that application program needs hardware resource to be used in table.
103rd, judge whether application program has according to hardware control strategy preset in mobile terminal and use hardware resource System permission.
In embodiments of the present invention, it after determining the hardware resource that application program uses, first gets in mobile terminal and presets Hardware control strategy, which is control strategy of the mobile terminal to hardware management, based on the hardware controls plan It slightly may determine that whether application program has the system permission using hardware resource, you can to read the hardware controls of mobile terminal Tactful allocation list uses the system permission of hardware resource with inquiry application.Wherein, hardware control strategy can be mobile whole What the development of user at end was configured, the operating system of mobile terminal can also be used to be configured being automatically generated or move Being set in the terminal in advance using user for dynamic terminal, is not limited specifically herein.System permission is by hardware control Strategy processed determines, hardware resource can be configured different system permissions, system permission for different hardware control strategy It is the bottom permission of mobile terminal, by the match query of system permission, permission management unified distribution can be carried out, using journey It needs to occupy when sequence is run on mobile terminals either to consume many hardware resources by the occupancy of all hardware resources or disappear Consumption all carries out system permission management, so that the application program without system permission can not use hardware resource at all, It is controlled so as to fulfill the hardware on round floor using precision, the hardware there is no mobile terminal is occupied, hard on backstage Part resource allocation finishes the interim card problem for leading to mobile terminal, hardware resource by system permission carry out uniform permission administration it Afterwards, the cruising ability of battery can be improved to avoid the self-starting of many application programs is fallen.
In some embodiments of the invention, step 103 judges to answer according to hardware control strategy preset in mobile terminal Whether there is the system permission using hardware resource with program, including:
B1, the OS Type for obtaining mobile terminal;
B2, when mobile terminal and Cloud Server connected network communication, obtain from Cloud Server and match with OS Type Hardware control strategy, and update preset hardware control strategy in mobile terminal;
B3, judge whether application program has the system power using hardware resource according to updated hardware control strategy Limit.
Wherein, different hardware control strategies can be configured for the different operating system type of mobile terminal, so as to need The specific operating system type of mobile terminal is adapted to, the hardware of several operation systems type matching is stored in Cloud Server Control strategy, so as to which mobile terminal can be by the connected network communication real-time update hardware control strategy of Cloud Server, to solve to move The problem of can not obtaining hardware control strategy during the operating system update of dynamic terminal.
In other embodiments of the present invention, step 103 judges according to hardware control strategy preset in mobile terminal Whether application program has the system permission using hardware resource, including:
C1, preset hardware control strategy in mobile terminal is shown to user;
C2, permission modification instruction of the user to hardware control strategy is received, and stores modified hardware control strategy;
C3, determine whether application program has the system permission using hardware resource according to modified hardware control strategy.
Wherein, hardware control strategy is preset in mobile terminal, in order to meet the requirement of the hardware configuration of user, such as have User consider that the permission or user for being not turned on GPS making a phone call for privacy, it is necessary to cancel certain application programs Permission to microphone hardware etc. needs to change the modified hardware controls of instruction storage according to the permission of user in mobile terminal Strategy, so as to which mobile terminal can update hardware control strategy by the operation of user, to better meet user to mobile whole The practical operation demand at end.
It is illustrated below, hardware resource can be distributed and carry out permission management unified distribution by the embodiment of the present invention, should With need to occupy when running on mobile phone either consume many hardware resource embodiment of the present invention by the occupancy of all resources or Consumption all carries out permission management, for example can application switching be remained operational to backstage as a kind of system permission;Using can be with Can full load also serve as a kind of permission using CPU;It applies to network on backstage and is also defined as permission, application program is on backstage Can GPS be used as a kind of permission, can application wake up other application as a kind of permission, and can application notification occur In notification bar as a kind of permission, the corresponding system permission of all hardware resources is all subjected to centralized and unified pipe as permission Reason, the service condition that user's control can be helped to apply well in this way, excessively will not use or consume system resource, so as to cause Mobile phone card, continuation of the journey difference even cause economic loss.
If the 104, application program has system permission, allow application program using hardware resource, if application program does not have System permission, refusal application program use hardware resource.
In embodiments of the present invention, by the judgement of step 103, preset hardware control strategy configuration in mobile terminal Difference can determine whether application program has the system permission using hardware resource, have the feelings of system permission in application program Under condition, application program is allowed not have system permission in application program, refusal application program is provided using hardware using hardware resource Source uses hardware resource, it is ensured that hardware resource will not be by no system permission in mobile terminal by refusing application program Application program called, would not also waste the hardware resource of mobile terminal, solved from root in the prior art apply journey Sequence self-starting, the problems such as continuing to run with from the background.
In some embodiments of the invention, application call hardware resource is allowed in step 104, including:
D1, when application program has system permission, obtaining the hardware resource of application call needs matched calling Condition;
D2, when the running environment of mobile terminal meets Call Condition, allow application call hardware resource.
Wherein, when judging that application program has system permission in step 103, hardware resource needs can also be set The Call Condition matched, the Call Condition are that user is set according to the current operating situation of mobile terminal, only when mobile whole When the running environment at end meets Call Condition, allow application call hardware resource, called by system permission and terminal The double control of condition strictly controls the hardware that application program can use, to prevent application program from arbitrarily occupying firmly Part resource.For example, Call Condition, refer to mobile terminal during the application call application program required hardware resource Running environment parameter request, such as mobile terminal CPU usage be more than 80%, refusal call hardware resource, if CPU occupy Rate is less than 80%, allows to call hardware resource.
It should be noted that the embodiment of the present invention be not limited to more than the hardware resource permission said, all system capabilities Including but not limited to CPU, memory, notification bar, backstage, networking, using automatic all software and hardware abilities and the resource such as start.
By it is aforementioned citing the description of the invention it is found that first obtain application program need in the terminal it is to be used Hardware configuration information, then obtaining application program according to software-hardware configuration information needs hardware resource to be used, following basis Preset hardware control strategy judges whether application program has the system permission using hardware resource in the mobile terminal, if should There is system permission with program, allow the application program using the hardware resource, if the application program does not have the system permission, Refuse the application program and use the hardware resource.The application program can be obtained in the embodiment of the present invention by hardware configuration information Hardware resource to be used is needed, due to being preset with hardware control strategy in mobile terminal, so as to use the hardware controls plan Slightly judge whether application program has the system permission using the hardware resource, due to can be monitored from the level of system permission The hardware resource that application program needs so as to guarantee that hardware precision management and control is carried out to application program, is conducive to mobile whole The optimum management of hardware resource in end excessively will not use or consume system resource, be effectively guaranteed the smoothness of mobile terminal Operation improves the cruising ability of battery.
It should be noted that for aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
For ease of preferably implementing the said program of the embodiment of the present invention, the phase for implementing said program is also provided below Close device.
It please refers to shown in Fig. 2-a, a kind of permission control of application program for mobile terminal provided in an embodiment of the present invention Device 200 processed, can include:Configuration information acquisition module 201, hardware resource acquisition module 202, system permission judgment module 203rd, hardware distribution control module 204, wherein,
Configuration information acquisition module 201 needs hardware configuration to be used to believe in the terminal for obtaining application program Breath;
Hardware resource acquisition module 202 needs to use for obtaining the application program according to the hardware configuration information Hardware resource;
System permission judgment module 203, described in being judged according to hardware control strategy preset in the mobile terminal Whether application program has the system permission using the hardware resource;
Hardware distributes control module 204, if having the system permission for the application program, allows described using journey Sequence uses the hardware resource, if the application program does not have the system permission, refuses described in the application program use Hardware resource.
In some embodiments of the invention, it please refers to shown in Fig. 2-b, the system permission judgment module 203, including:
System type acquisition module 2031, for obtaining the OS Type of the mobile terminal;
Policy update module 2032, for when the mobile terminal is with Cloud Server connected network communication, being obtained from Cloud Server The hardware control strategy to match with the OS Type is taken, and updates preset hardware controls plan in the mobile terminal Slightly;
First judgment module 2033, for judging whether the application program has according to updated hardware control strategy Use the system permission of the hardware resource.
It in other embodiments of the present invention, please refers to shown in Fig. 2-c, the system permission judgment module 203, wraps It includes:
Tactful display module 2034, for showing preset hardware control strategy in the mobile terminal to user;
Strategy modification module 2035 changes instruction for receiving the user to the permission of the hardware control strategy, and Store modified hardware control strategy;
Second judgment module 2036, for whether determining the application program according to the modified hardware control strategy There is the system permission using the hardware resource.
In some embodiments of the invention, hardware resource acquisition module 202, specifically for working as the application program in institute State mobile terminal it is medium to be installed when, run the installation kit of the application program, the hardware extracted from the installation kit Configuration information;It is searched in all hardware resource configured from the mobile terminal and the hardware configuration information successful match Hardware resource, and need hardware resource to be used using the hardware resource of successful match as the application program.
In some embodiments of the invention, the hardware configuration information, including at least one of following information:Center The configuration of processor CPU, the configuration of global position system GPS, the configuration of WLAN WiFi, inductor sensor match Put, the configuration of multimedia player, the configuration of bluetooth.
In other embodiments of the present invention, the hardware distributes control module 204, described using journey specifically for working as When sequence has the system permission, obtaining the hardware resource of the application call needs matched Call Condition;When described When the running environment of mobile terminal meets the Call Condition, allow hardware resource described in the application call.
By it is aforementioned citing the description of the invention it is found that first obtain application program need in the terminal it is to be used Hardware configuration information, then obtaining application program according to software-hardware configuration information needs hardware resource to be used, following basis Preset hardware control strategy judges whether application program has the system permission using hardware resource in the mobile terminal, if should There is system permission with program, allow the application program using the hardware resource, if the application program does not have the system permission, Refuse the application program and use the hardware resource.The application program can be obtained in the embodiment of the present invention by hardware configuration information Hardware resource to be used is needed, due to being preset with hardware control strategy in mobile terminal, so as to use the hardware controls plan Slightly judge whether application program has the system permission using the hardware resource, due to can be monitored from the level of system permission The hardware resource that application program needs so as to guarantee that hardware precision management and control is carried out to application program, is conducive to mobile whole The optimum management of hardware resource in end excessively will not use or consume system resource, be effectively guaranteed the smoothness of mobile terminal Operation improves the cruising ability of battery.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above device, due to The method of the present invention embodiment is based on same design, and the technique effect brought is identical with the method for the present invention embodiment, particular content The narration in the aforementioned shown embodiment of the method for the present invention is can be found in, details are not described herein again.
In addition it should be noted that, the apparatus embodiments described above are merely exemplary, wherein described as separation The unit of part description may or may not be it is physically separate, the component shown as unit can be or It can not be physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to reality Border needs to select some or all of module therein to realize the purpose of this embodiment scheme.It is in addition, provided by the invention In device embodiment attached drawing, the connection relation between module represents there is communication connection between them, specifically can be implemented as one Item or a plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can with Understand and implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize, naturally it is also possible to include application-specific integrated circuit, specially by specialized hardware It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can It is easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real It is now more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words makes the prior art The part of contribution can be embodied in the form of software product, which is stored in the storage medium that can be read In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) performs the method described in each embodiment of the present invention.
In conclusion the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to upper Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to upper The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (12)

1. a kind of authority control method of application program for mobile terminal, which is characterized in that including:
Obtain application program needs hardware configuration information to be used in the terminal;
Obtaining the application program according to the hardware configuration information needs hardware resource to be used;
Judge whether the application program has according to hardware control strategy preset in the mobile terminal and use the hardware The system permission of resource;
If the application program has the system permission, allow the application program using the hardware resource, if described should Do not have the system permission with program, refuse the application program and use the hardware resource.
It is 2. according to the method described in claim 1, it is characterized in that, described according to hardware controls preset in the mobile terminal Strategy judges whether the application program has the system permission using the hardware resource, including:
Obtain the OS Type of the mobile terminal;
When the mobile terminal and Cloud Server connected network communication, obtain from Cloud Server and match with the OS Type Hardware control strategy, and update preset hardware control strategy in the mobile terminal;
Judge whether the application program has according to updated hardware control strategy to weigh using the system of the hardware resource Limit.
It is 3. according to the method described in claim 1, it is characterized in that, described according to hardware controls preset in the mobile terminal Strategy judges whether the application program has the system permission using the hardware resource, including:
Preset hardware control strategy in the mobile terminal is shown to user;
It receives the user and instruction is changed, and store modified hardware control strategy to the permission of the hardware control strategy;
Determine whether the application program has the system using the hardware resource according to the modified hardware control strategy Permission.
4. according to the method described in claim 1, it is characterized in that, described obtain the application according to the hardware configuration information Program needs hardware resource to be used, including:
When the application program is when the mobile terminal is medium to be installed, the installation kit of the application program is run, from described The hardware configuration information is extracted in installation kit;
The hardware with the hardware configuration information successful match is searched in all hardware resource configured from the mobile terminal Resource, and need hardware resource to be used using the hardware resource of successful match as the application program.
5. method according to any one of claim 1 to 4, which is characterized in that the hardware configuration information, including as follows At least one of information:The configuration of central processor CPU, the configuration of global position system GPS, WLAN WiFi match Put, the configuration of inductor sensor, the configuration of multimedia player, the configuration of bluetooth.
6. method according to any one of claim 1 to 4, which is characterized in that described to allow the application call The hardware resource, including:
When the application program has the system permission, the hardware resource needs for obtaining the application call are matched Call Condition;
When the running environment of the mobile terminal meets the Call Condition, hardware described in the application call is allowed to provide Source.
7. a kind of permission control device of application program for mobile terminal, which is characterized in that including:
Configuration information acquisition module needs hardware configuration information to be used in the terminal for obtaining application program;
Hardware resource acquisition module needs hardware to be used to provide for obtaining the application program according to the hardware configuration information Source;
System permission judgment module, for judging the application program according to hardware control strategy preset in the mobile terminal Whether there is the system permission using the hardware resource;
Hardware distributes control module, if having the system permission for the application program, the application program is allowed to use The hardware resource if the application program does not have the system permission, is refused the application program and is provided using the hardware Source.
8. device according to claim 7, which is characterized in that the system permission judgment module, including:
System type acquisition module, for obtaining the OS Type of the mobile terminal;
Policy update module, for when the mobile terminal and during Cloud Server connected network communication, from Cloud Server obtain with it is described The hardware control strategy that OS Type matches, and update preset hardware control strategy in the mobile terminal;
First judgment module, for judging the application program whether with described in use according to updated hardware control strategy The system permission of hardware resource.
9. device according to claim 7, which is characterized in that the system permission judgment module, including:
Tactful display module, for showing preset hardware control strategy in the mobile terminal to user;
Strategy modification module changes instruction, and store modification for receiving the user to the permission of the hardware control strategy Hardware control strategy afterwards;
Second judgment module, for determining whether the application program has using institute according to the modified hardware control strategy State the system permission of hardware resource.
10. device according to claim 7, which is characterized in that hardware resource acquisition module, specifically for working as the application Program runs the installation kit of the application program, is extracted from the installation kit when the mobile terminal is medium to be installed The hardware configuration information;It is searched and the hardware configuration information in all hardware resource configured from the mobile terminal Hardware resource to be used is needed with successful hardware resource, and using the hardware resource of successful match as the application program.
11. the device according to any one of claim 7 to 10, which is characterized in that the hardware configuration information, including such as At least one of lower information:The configuration of central processor CPU, the configuration of global position system GPS, WLAN WiFi Configuration, the configuration of inductor sensor, the configuration of multimedia player, the configuration of bluetooth.
12. the device according to any one of claim 7 to 10, which is characterized in that the hardware distributes control module, tool Body is used for when the application program has the system permission, and obtaining the hardware resource of the application call needs to match Call Condition;When the running environment of the mobile terminal meets the Call Condition, allow the application call institute State hardware resource.
CN201710128954.4A 2017-03-06 2017-03-06 The authority control method and device of a kind of application program for mobile terminal Withdrawn CN108205622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710128954.4A CN108205622A (en) 2017-03-06 2017-03-06 The authority control method and device of a kind of application program for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710128954.4A CN108205622A (en) 2017-03-06 2017-03-06 The authority control method and device of a kind of application program for mobile terminal

Publications (1)

Publication Number Publication Date
CN108205622A true CN108205622A (en) 2018-06-26

Family

ID=62603681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710128954.4A Withdrawn CN108205622A (en) 2017-03-06 2017-03-06 The authority control method and device of a kind of application program for mobile terminal

Country Status (1)

Country Link
CN (1) CN108205622A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325363A (en) * 2018-09-26 2019-02-12 平安普惠企业管理有限公司 Management method, device, computer equipment and the storage medium of authority information
CN109446822A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Right management method and system
CN111124674A (en) * 2019-12-11 2020-05-08 深圳创维-Rgb电子有限公司 Hardware resource management method, storage medium and terminal
WO2022078108A1 (en) * 2020-10-15 2022-04-21 Oppo广东移动通信有限公司 Method and apparatus for monitoring permission use, device, and storage medium
WO2022160081A1 (en) * 2021-01-26 2022-08-04 苏州思萃人工智能研究所有限公司 Mobile phone application program authorization control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134348A1 (en) * 2006-12-05 2008-06-05 Microsoft Corporation Conditional policies in software licenses
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134348A1 (en) * 2006-12-05 2008-06-05 Microsoft Corporation Conditional policies in software licenses
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325363A (en) * 2018-09-26 2019-02-12 平安普惠企业管理有限公司 Management method, device, computer equipment and the storage medium of authority information
CN109446822A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Right management method and system
CN109446822B (en) * 2018-09-30 2022-07-26 联想(北京)有限公司 Authority management method and system
CN111124674A (en) * 2019-12-11 2020-05-08 深圳创维-Rgb电子有限公司 Hardware resource management method, storage medium and terminal
CN111124674B (en) * 2019-12-11 2024-04-02 深圳创维-Rgb电子有限公司 Management method of hardware resources, storage medium and terminal
WO2022078108A1 (en) * 2020-10-15 2022-04-21 Oppo广东移动通信有限公司 Method and apparatus for monitoring permission use, device, and storage medium
WO2022160081A1 (en) * 2021-01-26 2022-08-04 苏州思萃人工智能研究所有限公司 Mobile phone application program authorization control method

Similar Documents

Publication Publication Date Title
CN108205622A (en) The authority control method and device of a kind of application program for mobile terminal
CN102893582B (en) To the optimization presenting information refreshing of wireless device
CN104081339B (en) The data transmission by network connection is managed based on priority and data application plan
JP7130142B2 (en) Communication method, apparatus, entity and computer readable storage medium
CN108510389A (en) Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN108734951A (en) A kind of fence setting method and computing device
RU2005136461A (en) METHOD AND SYSTEM FOR CONTROL OF ACCESS TO INFORMATION ABOUT PRESENCE AT A BASIS
CN102938790A (en) Resource allocation method of cloud computing system
CN102970379A (en) Method for realizing load balance among multiple servers
CN105075228B (en) The dynamic power management of context-aware service
CN106022108A (en) Synchronous management method and terminal device
CN106897115A (en) SaaS software deployments method and device under a kind of cloud environment
CN106533961A (en) Flow control method and device
CN102067644B (en) Global operator permits prioritization and distribution
CN108933844A (en) The method and apparatus of DHCP service is provided
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
CN105956422A (en) Method and system for controlling usage of software programs on mobile computing devices
CN105657009B (en) Object gateway SiteServer LBS, method and trans-regional object gateway storage system
CN106203075A (en) A kind of method and device preventing application program from waking up up mutually
CN105684408B (en) For selecting the strategy in the source of resource character string
CN113506100A (en) Alliance link data processing method and device, computer equipment and storage medium
CN110149352A (en) A kind of service request processing method, device, computer equipment and storage medium
JP2000236583A (en) Mobile agent system and its control method
US20200077277A1 (en) Operator Formed Network Consortiums
CN101127774B (en) Priority processing method for initial filtering rule

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180626