CN108629178A - The resource access rights configuration method and device of application program - Google Patents

The resource access rights configuration method and device of application program Download PDF

Info

Publication number
CN108629178A
CN108629178A CN201810393775.8A CN201810393775A CN108629178A CN 108629178 A CN108629178 A CN 108629178A CN 201810393775 A CN201810393775 A CN 201810393775A CN 108629178 A CN108629178 A CN 108629178A
Authority
CN
China
Prior art keywords
access rights
resource access
application program
configuration information
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810393775.8A
Other languages
Chinese (zh)
Other versions
CN108629178B (en
Inventor
刘任
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810393775.8A priority Critical patent/CN108629178B/en
Publication of CN108629178A publication Critical patent/CN108629178A/en
Application granted granted Critical
Publication of CN108629178B publication Critical patent/CN108629178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

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

Abstract

The disclosure is directed to the resource access rights configuration methods and device of application program.This method includes:When present terminal equipment includes the application program of resource access rights to be configured, the corresponding resource access rights configuration information of resource access rights config option is obtained;The corresponding resource access rights of application program are configured according to resource access rights configuration information.Due to can actively go to obtain the corresponding resource access rights configuration information of resource access rights config option, to effectively improve user experience.

Description

The resource access rights configuration method and device of application program
Technical field
This disclosure relates to the resource access rights configuration method and device of field of communication technology more particularly to application program.
Background technology
When for mobile phone install application program (Application, referred to as:APP), when or using the APP in mobile phone, APP usually may require that user setting resource access rights, such as:This APP whether is allowed to use global positioning system (Global Positioning System, referred to as:GPS), if allow this APP using data traffic etc., when APP shows that resource is visited When asking authority configuration option, user can select the resource access rights of APP based on the idea of oneself.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides the resource access rights configuration of application program Method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of resource access rights configuration method of application program is provided, is wrapped It includes:
When present terminal equipment includes the application program of resource access rights to be configured, obtains resource access rights and match Set the corresponding resource access rights configuration information of option;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
The technical scheme provided by this disclosed embodiment can include the following benefits:When present terminal equipment includes When the application program of resource access rights to be configured, the corresponding resource access rights configuration of resource access rights config option is obtained Information;The corresponding resource access rights of application program are configured according to resource access rights configuration information.Due to can actively go to obtain The corresponding resource access rights configuration information of resource access rights config option is taken, to effectively improve user experience.
In one embodiment, the corresponding resource access rights of the acquisition resource access rights config option match confidence Breath, including:
Obtain the corresponding reference terminal equipment of the present terminal equipment;Wherein, configured in the reference terminal equipment The corresponding resource access rights configuration information of resource access rights config option of the application program;
The corresponding resource of resource access rights config option of the application program is obtained from the reference terminal equipment Access rights configuration information.
In one embodiment, the corresponding reference terminal equipment of the acquisition present terminal equipment, including:
The resource access rights for obtaining at least one of at least one other terminal device history application match confidence Breath;
Detect the quantity of the other-end equipment and the similar historical application program in the present terminal equipment;Its In, similar historical application program includes:The corresponding same asset access rights configuration item information of same type history application Quantity be more than predetermined threshold value history application;
When the quantity of the identical history application is more than preset quantity threshold value, determine that the other-end equipment is The reference terminal equipment.
In one embodiment, when present terminal equipment includes the application journey of resource access rights configuration information to be configured When sequence, the corresponding resource access rights configuration information of the resource access rights config option is obtained, including:
When presently described terminal device includes the application program of resource access rights configuration information to be configured, institute is exported State the corresponding resource access rights config option of application program;
When detection does not receive the corresponding money of the resource access rights config option input by user in preset time When the access rights configuration information of source, the corresponding resource access rights configuration information of the resource access rights config option is obtained.
According to the second aspect of the embodiment of the present disclosure, a kind of resource access rights configuration device of application program is provided, is wrapped It includes:
Acquisition module, for when present terminal equipment includes the application program of resource access rights to be configured, obtaining The corresponding resource access rights configuration information of resource access rights config option;
Configuration module, for being obtained according to the acquisition module the resource access rights configuration information configuration described in answer With the corresponding resource access rights of program.
In one embodiment, the acquisition module includes:First acquisition submodule and the second acquisition submodule;
First acquisition submodule, for obtaining the corresponding reference terminal equipment of the present terminal equipment;Wherein, institute The corresponding resource access rights of resource access rights config option for stating the configured application program in reference terminal equipment are matched Confidence ceases;
Second acquisition submodule, for being obtained from the reference terminal equipment that first acquisition submodule obtains Take the corresponding resource access rights configuration information of resource access rights config option of the application program.
In one embodiment, first acquisition submodule includes:Third acquisition submodule, detection sub-module and determination Submodule;
The third acquisition submodule, for obtaining at least one of at least one other terminal device historical usage journey The resource access rights configuration information of sequence;
The detection sub-module, for detecting the other-end equipment and the similar historical in the present terminal equipment The quantity of application program;Wherein, similar historical application program includes:The corresponding same asset of same type history application is visited Ask that the quantity of authority configuration item information is more than the history application of predetermined threshold value;
The determination sub-module, for detecting that the quantity of the identical history application is big when the detection sub-module When preset quantity threshold value, determine that the other-end equipment is the reference terminal equipment.
In one embodiment, the acquisition module includes:Output sub-module and the 4th acquisition submodule;
The output sub-module, for including resource access rights configuration information to be configured when presently described terminal device Application program when, export the corresponding resource access rights config option of the application program;
4th acquisition submodule, for being visited when detection does not receive the resource input by user in preset time When asking the corresponding resource access rights configuration information of authority configuration option, it is corresponding to obtain the resource access rights config option Resource access rights configuration information.
According to the third aspect of the embodiment of the present disclosure, a kind of resource access rights configuration device of application program is provided, is wrapped It includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When present terminal equipment includes the application program of resource access rights to be configured, obtains resource access rights and match Set the corresponding resource access rights configuration information of option;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine instructs, when which is executed by processor the step of any one of realization first aspect the method.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart according to the resource access rights configuration method of the application program shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the resource access rights configuration method of the application program shown in an exemplary embodiment.
Fig. 3 is a kind of frame of the resource access rights configuration device of application program shown according to an exemplary embodiment Figure.
Fig. 4 be a kind of application program shown according to an exemplary embodiment resource access rights configuration device in obtain The block diagram of module.
Fig. 5 be a kind of application program shown according to an exemplary embodiment resource access rights configuration device in first The block diagram of acquisition submodule.
Fig. 6 be a kind of application program shown according to an exemplary embodiment resource access rights configuration device in obtain The block diagram of module.
Fig. 7 is a kind of resource access rights configuration device 80 for application program shown according to an exemplary embodiment Block diagram.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 be according to the flow chart of the resource access rights configuration method of the application program shown in an exemplary embodiment, As shown in Figure 1, this method is in terminal device, including the following steps S101-S102:
In step S101, when present terminal equipment includes the application program of resource access rights to be configured, obtain The corresponding resource access rights configuration information of resource access rights config option.
In step s 102, the corresponding resource access rights of application program are configured according to resource access rights configuration information.
When detecting the application program in need for configuring resource access rights in present terminal equipment, just active obtaining should The corresponding resource access rights configuration information of resource access rights config option, and then according to the resource access rights configuration information The corresponding resource access rights of application program are configured, due to can actively go to obtain the corresponding money of resource access rights config option Source access rights configuration information goes the resource access rights of one one configuration application program without user manually, to The complexity that application program uses is reduced, user experience is effectively improved.
The technical scheme provided by this disclosed embodiment can include the following benefits:When present terminal equipment includes When the application program of resource access rights to be configured, the corresponding resource access rights configuration of resource access rights config option is obtained Information;The corresponding resource access rights of application program are configured according to resource access rights configuration information.Due to can actively go to obtain The corresponding resource access rights configuration information of resource access rights config option is taken, to effectively improve user experience.
In one embodiment, the corresponding resource access rights configuration information packet of resource access rights config option is obtained It includes:The corresponding resource access rights configuration information of resource access rights config option can be obtained from presetting database.Wherein, Presetting database includes that the resource access rights config option of application program is closed with the mapping of resource access rights configuration information System.
Wherein, presetting database can be systemic presupposition, exemplary, and answering for various titles can be preserved in preset data With the mapping relations of program resource access rights config option and resource access rights configuration information, but due to the life of application program Name is had nothing in common with each other, it is possible that the application program of different names belongs to same type of application program, in order in saving system Memory space for storing pre-stored data library, the list item in pre-stored data library can be the type of application program, that is, prestoring The resource access rights config option of different type application program and reflecting for resource access rights configuration information are preserved in database The storage mode for penetrating relationship effectively saves system memory resources.
Match with resource access rights relative to the resource access rights config option for preserving application program in pre-stored data library The storage mode of the mapping relations of confidence breath preserves the resource access rights configuration of different type application program in pre-stored data library Option and the storage mode of the mapping relations of resource access rights configuration information effectively save system memory resources.
When the resource access rights config option and resource access right for preserving different type application program in pre-stored data library When limiting the mapping relations of configuration information, the type of the application program of resource access rights to be configured can be first obtained, and then be based on The type of application program is retrieved from presetting database, obtains the resource access rights configuration of the application program of this type The corresponding resource access rights configuration information of option.
Since the mode for the resource access rights configuration information for obtaining application program by way of pre-stored data library is inadequate Hommization considers from application program itself merely, without the level in view of user demand, in order to promote user experience, In one embodiment, the corresponding resource access rights configuration information of above-mentioned acquisition resource access rights config option, including it is following Sub-step A1-A2:
In A1, the corresponding reference terminal equipment of present terminal equipment is obtained;Wherein, configured in reference terminal equipment to answer With the corresponding resource access rights configuration information of resource access rights config option of program.
In A2, the corresponding resource of resource access rights config option that application program is obtained from reference terminal equipment is visited Ask privileges configuration information.
It, can be from the corresponding resource of resource access rights config option of configured application program in order to promote user experience It is obtained in the reference terminal equipment of access rights configuration information, since the resource of the application program in the reference terminal equipment is visited Ask that the corresponding resource access rights configuration information of authority configuration option is that the user oneself of reference terminal equipment is configured, Namely the resource access rights configuration information has allowed for user level, rather than application program itself is considered merely, from And make according to the application configured from the resource access rights configuration information obtained in reference terminal equipment in present terminal equipment The mode of the corresponding resource access rights of program, can effectively improve user experience.
Since the hobby of different user is different, if the resource of the application program based on any one user configuration is visited Permission is asked to configure the resource access rights of the identical application program in present terminal equipment, can make the resource finally configured Access rights and do not meet present terminal equipment user use habit.In order to promote user experience, in one embodiment In, the corresponding reference terminal equipment of above-mentioned acquisition present terminal equipment, including following sub-step B1-B3:
In B1, the resource access rights of at least one of at least one other terminal device history application are obtained Configuration information.
In B2, the quantity of detection other-end equipment and similar historical application program in present terminal equipment;Wherein, phase Include like history application:The quantity of the corresponding same asset access rights configuration item information of same type history application More than the history application of predetermined threshold value.
In B3, when the quantity of identical history application is more than preset quantity threshold value, determine that other-end equipment is Reference terminal equipment.
Reference terminal equipment can be determined based on big data, at this point it is possible to collect at least one other terminal device The resource access rights configuration information of history application, and then the history application in the other-end equipment to being collected into Resource access rights configuration information and the history application in present terminal equipment resource access rights configuration information into Row is integrated, namely determines the quantity of other-end equipment and similar historical application program in terminal device;When similar historical application When the quantity of program is more than preset quantity threshold value, determine that other-end equipment is reference terminal equipment.Wherein, when similar historical is answered When being more than preset quantity threshold value with the quantity of program, show the use habit and terminal device of the user of the other-end equipment User use habit it is similar.
About the user for finding similar custom, so that it may according to before them, to be accustomed to for the setting of same APP, phase As degree find.For example, there is the terminal device B of the setting state and party B-subscriber of 10 APP in the terminal device A of party A-subscriber It is the same, then, we are considered as terminal device A and terminal device B is reference terminal equipment, the use of terminal device A The user of person and terminal device B are the similar users of custom.
It is exemplary:As shown in table 1, other-end equipment includes terminal device 1 and terminal device 2, going through in terminal device 1 History application program is application program 1, application program 2, application program 3, application program 4 and application program 8;In terminal device 2 History application is application program 1, application program 2, application program 3 and application program 5;Resource access rights config option packet It includes:Whether allow using GPS, whether allow using address list, whether allow using health data, whether allow using short message, And whether allow to use mobile network.
Application program 1 in terminal device 1 allows to use GPS, address list, short message and mobile network, does not allow using strong Health data;Application program 2 in terminal device 1 allows to use GPS, short message and mobile network, does not allow to use health data, no It includes whether to allow the priority assignation option using address list;Application program 3 in terminal device 1 allows using GPS, address list And short message, do not allow to use health data, does not include whether to allow the priority assignation option using mobile network;Terminal device 1 In application program 4 allow to use GPS, address list and short message, do not allow to use health data, not include whether to allow using moving The priority assignation option of dynamic network;Application program 8 in terminal device 1 allows to use GPS, address list and short message, does not allow to make With health data, do not include whether to allow the priority assignation option using mobile network.
Application program 1 in terminal device 2 allows to use address list, health data, short message and mobile network, does not allow to make Use GPS;Application program 2 in terminal device 2 allows to use GPS, short message and mobile network, does not allow to use health data, no It includes whether to allow the priority assignation option using address list;Application program 3 in terminal device 2 allows using GPS, communication Record, short message and mobile network do not allow to use health data;Application program 5 in terminal device 2 allows using GPS, address list And short message, do not allow to use health data, does not include whether to allow the priority assignation option using mobile network.
Mounted history application is application program 1, application program 2, application program 3 and answers in present terminal equipment With program 4;Application program 1 in present terminal equipment allows to use GPS, address list, short message and mobile network, does not allow to use Health data;Application program 2 in present terminal equipment allows to use GPS, health data, mobile network, short message and address list; Application program 3 in present terminal equipment allows to use GPS, address list and short message, does not allow to use health data, does not include being The no priority assignation option allowed using mobile network;Application program 4 in present terminal equipment allows using GPS, address list And short message, do not allow to use health data, does not include whether to allow the priority assignation option using mobile network.
Assuming that predetermined threshold value is 3, default value threshold value is 2;After testing, the application program 1 and present terminal of terminal device 1 Allow to use GPS, address list, short message and mobile network in the application program 1 of equipment, does not allow to use health data, that is, The quantity of the application program 1 of terminal device 1 and the 1 same asset access rights configuration item information of application program of present terminal equipment It is 4, is more than predetermined threshold value 3, is similar application program;Similarly, the application program 2 Yu present terminal equipment of terminal device 1 The quantity of 2 same asset access rights configuration item information of application program be 3, be equal to predetermined threshold value 3, be not it is similar apply journey Sequence;The application program 3 of terminal device 1 and the 3 same asset access rights configuration item information of application program of present terminal equipment Quantity is 4, and it is similar application program to be more than predetermined threshold value 3,;The application program 4 of terminal device 1 and answering for present terminal equipment It is 4 with the quantity of 4 same asset access rights configuration item information of program, is more than predetermined threshold value 3, is similar application program;Then The quantity of terminal device 1 and similar historical application program in present terminal equipment is 3, is more than default value threshold value 2, then terminal is set Standby 1 is the reference terminal equipment of present terminal equipment.
Similarly, the 1 same asset access rights of application program of the application program 1 with present terminal equipment of terminal device 2 are matched The quantity for setting information is 5, is more than predetermined threshold value 3, is similar application program;The application program 2 of terminal device 2 and current end The quantity of the 2 same asset access rights configuration item information of application program of end equipment is 3, is equal to predetermined threshold value 3, is not similar Application program;The application program 3 of terminal device 2 and the 3 same asset access rights configuration item of application program of present terminal equipment The quantity of information is 5, and it is similar application program to be more than predetermined threshold value 3;Then terminal device 3 is similar to present terminal equipment goes through The quantity of history application program is 2, is equal to default value threshold value 2, then terminal device 2 is not that the reference terminal of present terminal equipment is set It is standby.
After it is the reference terminal equipment of present terminal equipment that terminal device 1, which is determined, it is assumed that wrapped in present terminal equipment When the application program of the resource access rights to be configured included is application program 8, then application program 8 is obtained from terminal device 1 Resource access rights configuration information does not allow to use health data, Jin Ergen that is, allowing to use GPS, address list and short message The 8 corresponding resource access rights of application program in present terminal equipment are configured according to the resource access rights configuration information.
Such as:When determining terminal device A after the reference terminal equipment of terminal device B, the also user of terminal device A When custom is similar with the custom of the user of terminal device B, if party A-subscriber uses some APP in terminal device A, Allow this APP to use GPS, but does not allow to use flow, then, when party B-subscriber uses this for the first time in terminal device B When APP, it can be configured according to setting of the party A-subscriber in terminal device A.
It is worth noting that, in actually using scene, multiple reference terminal equipment may be got, then, it is obtaining It, can when taking the corresponding resource access rights configuration information of the application program of the resource access rights to be configured in present terminal equipment It is retrieved from multiple reference terminal equipment with elder generation, when retrieving the reference terminal equipment including above application program, just from this The corresponding resource access rights configuration information of resource access rights config option of application program is obtained in reference terminal equipment.
Table 1
, can be based on the thought of currently a popular big data by above-mentioned method, finding makes with present terminal equipment The other-end equipment of the similar user of use habit of user is as above-mentioned reference terminal equipment, so that getting The resource access rights configuration information of application program is more in line with user and is expected the selection that can be made, to effectively promote user's body It tests.
In one embodiment, above-mentioned steps S101 includes following sub-step C1-C2:
It is defeated when present terminal equipment includes the application program of resource access rights configuration information to be configured in C1 Go out the corresponding resource access rights config option of application program.
In C2, when not receive in preset time resource access rights config option input by user corresponding for detection When resource access rights configuration information, the corresponding resource access rights configuration information of resource access rights config option is obtained.
When it includes the application program of resource access rights configuration information to be configured to detect present terminal equipment, in order to So that user can increase the participation of user with the resource access rights configuration information of manual configuration application program, can first to User exports the corresponding resource access rights config option of application program, when detection does not receive user's input in preset time Resource access rights config option corresponding resource access rights configuration information when, obtain resource access rights config option pair The resource access rights configuration information answered
It is exemplary, by way of pop-up the corresponding resource access rights configuration choosing of application program can be exported to user , and the pop-up of user's countdown is shown within display screen, it is defeated again without user is received after countdown The corresponding resource access rights configuration information of resource access rights config option entered, then just active obtaining resource access rights The corresponding resource access rights configuration information of config option.
Realization process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow of the resource access rights configuration method of application program shown according to an exemplary embodiment Figure, as shown in Fig. 2, including the following steps:
In step s 201, the resource for obtaining at least one of at least one other terminal device history application is visited Ask privileges configuration information.
In step S202, the number of detection other-end equipment and the similar historical application program in present terminal equipment Amount;Wherein, similar historical application program includes:The corresponding same asset access rights configuration item of same type history application The quantity of information is more than the history application of predetermined threshold value.
In step S203, when the quantity of identical history application is more than preset quantity threshold value, other-end is determined Equipment is reference terminal equipment.
In step S204, when present terminal equipment includes the application program of resource access rights configuration information to be configured When, the corresponding resource access rights config option of output application program.
In step S205, when detection does not receive resource access rights config option input by user in preset time When corresponding resource access rights configuration information, the resource access rights configuration choosing of application program is obtained from reference terminal equipment The corresponding resource access rights configuration information of item.
In step S206, the corresponding resource access rights of application program are configured according to resource access rights configuration information.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 3 is a kind of frame of the resource access rights configuration device of application program shown according to an exemplary embodiment Figure.As shown in figure 3, the resource access rights configuration device of the application program includes:
Acquisition module 11, for when present terminal equipment includes the application program of resource access rights to be configured, obtaining Take the corresponding resource access rights configuration information of resource access rights config option;
Configuration module 12, the resource access rights configuration information for being obtained according to the acquisition module 11 configure institute State the corresponding resource access rights of application program.
In one embodiment, as shown in figure 4, the acquisition module 11 includes:First acquisition submodule 111 and second obtains Take submodule 112;
First acquisition submodule 111, for obtaining the corresponding reference terminal equipment of the present terminal equipment;Its In, the corresponding resource access right of resource access rights config option of the configured application program in the reference terminal equipment Limit configuration information;
Second acquisition submodule 112, the reference terminal for being obtained from first acquisition submodule 111 are set The standby middle corresponding resource access rights configuration information of resource access rights config option for obtaining the application program.
In one embodiment, as shown in figure 5, first acquisition submodule 111 includes:Third acquisition submodule 1111, detection sub-module 1112 and determination sub-module 1113;
The third acquisition submodule 1111 is answered for obtaining at least one of at least one other terminal device history With the resource access rights configuration information of program;
The detection sub-module 1112, it is similar in the present terminal equipment for detecting the other-end equipment The quantity of history application;Wherein, similar historical application program includes:The corresponding identical money of same type history application The quantity of source access rights configuration item information is more than the history application of predetermined threshold value;
The determination sub-module 1113 detects the identical history application for working as the detection sub-module 1112 Quantity be more than preset quantity threshold value when, determine the other-end equipment be the reference terminal equipment.
In one embodiment, as shown in fig. 6, the acquisition module 11 includes:Output sub-module 113 and the 4th obtains son Module 114;
The output sub-module 113, for including resource access rights configuration to be configured when presently described terminal device When the application program of information, the corresponding resource access rights config option of the application program is exported;
4th acquisition submodule 114, for not receiving the money input by user in preset time when detection When the corresponding resource access rights configuration information of source access rights config option, the resource access rights config option pair is obtained The resource access rights configuration information answered.
According to the third aspect of the embodiment of the present disclosure, a kind of resource access rights configuration device of application program is provided, is wrapped It includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
When present terminal equipment includes the application program of resource access rights to be configured, obtains resource access rights and match Set the corresponding resource access rights configuration information of option;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
Above-mentioned processor is also configured to:
The corresponding resource access rights configuration information of the acquisition resource access rights config option, including:
Obtain the corresponding reference terminal equipment of the present terminal equipment;Wherein, configured in the reference terminal equipment The corresponding resource access rights configuration information of resource access rights config option of the application program;
The corresponding resource of resource access rights config option of the application program is obtained from the reference terminal equipment Access rights configuration information.
It is described to obtain the corresponding reference terminal equipment of the present terminal equipment, including:
The resource access rights for obtaining at least one of at least one other terminal device history application match confidence Breath;
Detect the quantity of the other-end equipment and the similar historical application program in the present terminal equipment;Its In, similar historical application program includes:The corresponding same asset access rights configuration item information of same type history application Quantity be more than predetermined threshold value history application;
When the quantity of the identical history application is more than preset quantity threshold value, determine that the other-end equipment is The reference terminal equipment.
When present terminal equipment includes the application program of resource access rights configuration information to be configured, the money is obtained The corresponding resource access rights configuration information of source access rights config option, including:
When presently described terminal device includes the application program of resource access rights configuration information to be configured, institute is exported State the corresponding resource access rights config option of application program;
When detection does not receive the corresponding money of the resource access rights config option input by user in preset time When the access rights configuration information of source, the corresponding resource access rights configuration information of the resource access rights config option is obtained.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of resource access rights configuration device 80 for application program shown according to an exemplary embodiment Block diagram.
Device 80 may include following one or more components:Processing component 802, memory 804, power supply module 806 are more Media component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814 and communication component 816。
The integrated operation of 802 usual control device 80 of processing component, such as with display, call, data communication, camera Operation and record operate associated operation.Processing component 802 may include one or more processors 820 to execute instruction, To perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, it is convenient for Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, to facilitate more matchmakers Interaction between body component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 80.These data are shown Example includes instruction for any application program or method that are operated on device 80, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 80.Power supply module 806 may include power management system System, one or more power supplys and other generated with for device 80, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 80 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 80 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 80 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The received audio signal can be further stored in memory 804 or via communication component 816 send.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, the status assessment for providing various aspects for device 80. For example, sensor module 814 can detect the state that opens/closes of device 80, the relative positioning of component, such as the component For the display and keypad of device 80, sensor module 814 can be with the position of 80 1 components of detection device 80 or device Change, the existence or non-existence that user contacts with device 80, the temperature change of 80 orientation of device or acceleration/deceleration and device 80. Sensor module 814 may include proximity sensor, be configured to detect object nearby without any physical contact Presence.Sensor module 814 can also include that optical sensor is used for such as CMOS or ccd image sensor in imaging applications It uses.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 80 and other equipment.Device 80 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 80 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 80 to complete the above method.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of device 80 When execution so that device 80 is able to carry out the resource access rights configuration method of above-mentioned application program, the method includes:
When present terminal equipment includes the application program of resource access rights to be configured, obtains resource access rights and match Set the corresponding resource access rights configuration information of option;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
The corresponding resource access rights configuration information of the acquisition resource access rights config option, including:
Obtain the corresponding reference terminal equipment of the present terminal equipment;Wherein, configured in the reference terminal equipment The corresponding resource access rights configuration information of resource access rights config option of the application program;
The corresponding resource of resource access rights config option of the application program is obtained from the reference terminal equipment Access rights configuration information.
It is described to obtain the corresponding reference terminal equipment of the present terminal equipment, including:
The resource access rights for obtaining at least one of at least one other terminal device history application match confidence Breath;
Detect the quantity of the other-end equipment and the similar historical application program in the present terminal equipment;Its In, similar historical application program includes:The corresponding same asset access rights configuration item information of same type history application Quantity be more than predetermined threshold value history application;
When the quantity of the identical history application is more than preset quantity threshold value, determine that the other-end equipment is The reference terminal equipment.
When present terminal equipment includes the application program of resource access rights configuration information to be configured, the money is obtained The corresponding resource access rights configuration information of source access rights config option, including:
When presently described terminal device includes the application program of resource access rights configuration information to be configured, institute is exported State the corresponding resource access rights config option of application program;
When detection does not receive the corresponding money of the resource access rights config option input by user in preset time When the access rights configuration information of source, the corresponding resource access rights configuration information of the resource access rights config option is obtained.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of resource access rights configuration method of application program, which is characterized in that including:
When present terminal equipment includes the application program of resource access rights to be configured, the configuration choosing of resource access rights is obtained The corresponding resource access rights configuration information of item;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
2. according to the method described in claim 1, it is characterized in that, the corresponding money of the acquisition resource access rights config option Source access rights configuration information, including:
Obtain the corresponding reference terminal equipment of the present terminal equipment;Wherein, configured described in the reference terminal equipment The corresponding resource access rights configuration information of resource access rights config option of application program;
The corresponding resource of resource access rights config option that the application program is obtained from the reference terminal equipment accesses Privileges configuration information.
3. according to the method described in claim 2, it is characterized in that, described obtain the corresponding reference of the present terminal equipment eventually End equipment, including:
Obtain the resource access rights configuration information of at least one of at least one other terminal device history application;
Detect the quantity of the other-end equipment and the similar historical application program in the present terminal equipment;Wherein, phase Include like history application:The quantity of the corresponding same asset access rights configuration item information of same type history application More than the history application of predetermined threshold value;
When the quantity of the identical history application is more than preset quantity threshold value, determine that the other-end equipment is described Reference terminal equipment.
4. according to the method described in claim 1, it is characterized in that, when present terminal equipment includes resource access right to be configured When limiting the application program of configuration information, obtains the corresponding resource access rights of the resource access rights config option and match confidence Breath, including:
When presently described terminal device includes the application program of resource access rights configuration information to be configured, answered described in output With the corresponding resource access rights config option of program;
It is visited when detection does not receive the corresponding resource of the resource access rights config option input by user in preset time When asking privileges configuration information, the corresponding resource access rights configuration information of the resource access rights config option is obtained.
5. a kind of resource access rights configuration device of application program, which is characterized in that including:
Acquisition module, for when present terminal equipment includes the application program of resource access rights to be configured, obtaining resource The corresponding resource access rights configuration information of access rights config option;
Configuration module, the resource access rights configuration information configuration for being obtained according to the acquisition module are described using journey The corresponding resource access rights of sequence.
6. device according to claim 5, which is characterized in that the acquisition module includes:First acquisition submodule and Two acquisition submodules;
First acquisition submodule, for obtaining the corresponding reference terminal equipment of the present terminal equipment;Wherein, the ginseng The corresponding resource access rights of resource access rights config option for examining the configured application program in terminal device match confidence Breath;
Second acquisition submodule, for obtaining institute from the reference terminal equipment that first acquisition submodule obtains State the corresponding resource access rights configuration information of resource access rights config option of application program.
7. device according to claim 6, which is characterized in that first acquisition submodule includes:Third obtains submodule Block, detection sub-module and determination sub-module;
The third acquisition submodule, for obtaining at least one of at least one other terminal device history application Resource access rights configuration information;
The detection sub-module, for detecting the other-end equipment and the similar historical application in the present terminal equipment The quantity of program;Wherein, similar historical application program includes:The corresponding same asset access right of same type history application The quantity for limiting configuration item information is more than the history application of predetermined threshold value;
The determination sub-module, for detecting that it is pre- that the quantity of the identical history application is more than when the detection sub-module If when amount threshold, determining that the other-end equipment is the reference terminal equipment.
8. device according to claim 5, which is characterized in that the acquisition module includes:Output sub-module and the 4th obtains Take submodule;
The output sub-module, for including answering for resource access rights configuration information to be configured when presently described terminal device When with program, the corresponding resource access rights config option of the application program is exported;
4th acquisition submodule, for not receiving the resource access right input by user in preset time when detection When limiting the corresponding resource access rights configuration information of config option, the corresponding resource of the resource access rights config option is obtained Access rights configuration information.
9. a kind of resource access rights configuration device of application program, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When present terminal equipment includes the application program of resource access rights to be configured, the configuration choosing of resource access rights is obtained The corresponding resource access rights configuration information of item;
The corresponding resource access rights of the application program are configured according to the resource access rights configuration information.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of claims 1 to 4 the method is realized when execution.
CN201810393775.8A 2018-04-27 2018-04-27 Resource access authority configuration method and device of application program Active CN108629178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810393775.8A CN108629178B (en) 2018-04-27 2018-04-27 Resource access authority configuration method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810393775.8A CN108629178B (en) 2018-04-27 2018-04-27 Resource access authority configuration method and device of application program

Publications (2)

Publication Number Publication Date
CN108629178A true CN108629178A (en) 2018-10-09
CN108629178B CN108629178B (en) 2022-02-15

Family

ID=63694836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810393775.8A Active CN108629178B (en) 2018-04-27 2018-04-27 Resource access authority configuration method and device of application program

Country Status (1)

Country Link
CN (1) CN108629178B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532764A (en) * 2019-08-19 2019-12-03 维沃移动通信有限公司 A kind of method, mobile terminal and the readable storage medium storing program for executing of permission processing
CN110826081A (en) * 2019-09-27 2020-02-21 维沃移动通信有限公司 Authority management method and terminal equipment
CN111767524A (en) * 2020-05-19 2020-10-13 支付宝(杭州)信息技术有限公司 Authority management method, device, system, server and medium
CN113268300A (en) * 2021-05-25 2021-08-17 维沃移动通信(杭州)有限公司 Information display method and device
CN115017522A (en) * 2021-09-30 2022-09-06 荣耀终端有限公司 Permission recommendation method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions
CN107305569A (en) * 2016-04-21 2017-10-31 北京搜狗科技发展有限公司 A kind of information processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305569A (en) * 2016-04-21 2017-10-31 北京搜狗科技发展有限公司 A kind of information processing method and device
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532764A (en) * 2019-08-19 2019-12-03 维沃移动通信有限公司 A kind of method, mobile terminal and the readable storage medium storing program for executing of permission processing
CN110826081A (en) * 2019-09-27 2020-02-21 维沃移动通信有限公司 Authority management method and terminal equipment
CN110826081B (en) * 2019-09-27 2022-09-16 维沃移动通信有限公司 Authority management method and terminal equipment
CN111767524A (en) * 2020-05-19 2020-10-13 支付宝(杭州)信息技术有限公司 Authority management method, device, system, server and medium
CN113268300A (en) * 2021-05-25 2021-08-17 维沃移动通信(杭州)有限公司 Information display method and device
CN113268300B (en) * 2021-05-25 2023-04-18 维沃移动通信(杭州)有限公司 Information display method and device
CN115017522A (en) * 2021-09-30 2022-09-06 荣耀终端有限公司 Permission recommendation method and electronic equipment
CN115017522B (en) * 2021-09-30 2023-09-29 荣耀终端有限公司 Permission recommendation method and electronic equipment

Also Published As

Publication number Publication date
CN108629178B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
RU2640646C2 (en) Method and device for cloud card transmission
CN108629178A (en) The resource access rights configuration method and device of application program
RU2619083C2 (en) Method and device for message on request to call
US20170085697A1 (en) Method and device for extending call function
CN109547987A (en) The call method and device of nfc card
CN105898573B (en) Multimedia file playing method and device
CN109117874A (en) Operation behavior prediction technique and device
CN105208176B (en) Contact person record processing method and processing device
CN109376771A (en) Application program classification method and device
CN110349578A (en) Equipment wakes up processing method and processing device
CN106101456A (en) A kind of method and device of call contact
CN105407160B (en) Interface display method and device
CN105101078B (en) Information prompting method, terminal and server
CN109246184A (en) A kind of temporal information acquisition methods, device and readable storage medium storing program for executing
CN105430469B (en) Playback method, device, terminal and the server of audio, video data
CN105653903B (en) The management method and device of application program permission
CN106775240B (en) Triggering method, device and the terminal of application program
CN105101076B (en) Information reminding method and device
CN107888468A (en) Information acquisition system, method and device
CN106657580B (en) Call handling method and device
CN105430193B (en) Method of adjustment, device and the terminal for volume of sending a telegram here
CN109359441A (en) Authority configuring method and device
CN109271292A (en) Power consumption information acquisition method and device
CN105516466B (en) Call the method and device at interface
CN107193446A (en) image processing method, device and storage medium

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
GR01 Patent grant
GR01 Patent grant