CN105760751B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105760751B CN105760751B CN201610084822.1A CN201610084822A CN105760751B CN 105760751 B CN105760751 B CN 105760751B CN 201610084822 A CN201610084822 A CN 201610084822A CN 105760751 B CN105760751 B CN 105760751B
- Authority
- CN
- China
- Prior art keywords
- unit
- plug
- application program
- electronic equipment
- identity
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Abstract
The embodiment of the present application provides a kind of information processing method and electronic equipment, and the technical effect of electronic equipment signature is quickly obtained for realizing application program.The described method includes: one application program of operation;Obtain the identity for being equipped with the electronic equipment of the application program;Based on the identity, Target Signature plug-in unit corresponding with the identity is determined from the corresponding multiple signature plug-in units of the application program;The Target Signature plug-in unit is installed, so that the application program can obtain at least one system permission of the electronic equipment based on the signature in the Target Signature plug-in unit.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing methods and electronic equipment.
Background technique
If application program is wanted to realize the function of system level, it is necessary to the interface of calling system permission.And call system
System interface, then need have system permission.
In the prior art, a kind of mode for obtaining system permission is the signature for obtaining electronic equipment.However, different brands are electric
The signature of sub- equipment is typically different, sometimes even different system functions of same brand difference style or same electronic equipment
Required signature is different from.So it is very difficult for allowing application program to be quickly obtained the signature of electronic equipment.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, is quickly obtained for realizing application program
The technical effect of electronic equipment signature.
In a first aspect, this application provides a kind of information processing methods, comprising:
Run an application program;
Obtain the identity for being equipped with the electronic equipment of the application program;
Based on the identity, determined and the identity mark from the corresponding multiple signature plug-in units of the application program
Know corresponding Target Signature plug-in unit;
The Target Signature plug-in unit is installed, so that the application program can be based on the signature in the Target Signature plug-in unit
Obtain at least one system permission of the electronic equipment.
Optionally, before obtaining the identity for installing the electronic equipment of the application program, further includes:
Judge whether the application program is to run for the first time;
When the application program is to run for the first time, determination needs to obtain the identity.
Optionally, mesh corresponding with the identity is determined from the corresponding multiple signature plug-in units of the application program
Tag name plug-in unit, comprising:
Obtain the installation kit of the application program;It include the multiple signature plug-in unit in the installation kit;
The Target Signature plug-in unit is determined from the installation kit.
Optionally, it is that the first function of realization need to obtain system permission when institute that the multiple signature plug-in unit, which is the application program,
The plug-in unit of the signature needed;Each signature plug-in unit corresponds to different identity mark.
Optionally, before the Target Signature plug-in unit is installed, further includes:
Output indicates that the application requests install the prompt information of the Target Signature plug-in unit;
It detects whether to obtain the predetermined registration operation that user is executed based on the prompt information;
When detecting the predetermined registration operation, determines and the Target Signature plug-in unit is installed.
Second aspect, this application provides a kind of electronic equipment, comprising:
Running unit, for running an application program;
First obtains unit, for obtaining the identity for being equipped with the electronic equipment of the application program;
First determination unit, for being based on the identity, from the corresponding multiple signature plug-in units of the application program
Determine Target Signature plug-in unit corresponding with the identity;
Installation unit, for installing the Target Signature plug-in unit, so that the application program can be based on the target label
Signature in name plug-in unit obtains at least one system permission of the electronic equipment.
Optionally, the electronic equipment further include:
Judging unit, before the identity of the electronic equipment for installing the application program in acquisition, described in judgement
Whether application program is to run for the first time;
Second determination unit, for when the application program is to run for the first time, determination to need to obtain the identity.
Optionally, first determination unit, for obtaining the installation kit of the application program;Include in the installation kit
The multiple signature plug-in unit;The Target Signature plug-in unit is determined from the installation kit.
Optionally, it is that the first function of realization need to obtain system permission when institute that the multiple signature plug-in unit, which is the application program,
The plug-in unit of the signature needed;Each signature plug-in unit corresponds to different identity mark.
Optionally, the electronic equipment further include:
Output unit, for before installing the Target Signature plug-in unit, output to indicate the application requests installation
The prompt information of the Target Signature plug-in unit;
Detection unit, for detecting whether obtaining the predetermined registration operation that user is executed based on the prompt information;
Third determination unit, for determining and installing the Target Signature plug-in unit when detecting the predetermined registration operation.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present application, an application program is run first, and obtain and application program is installed
The identity of electronic equipment, is then based on identity, determines from the corresponding multiple signature plug-in units of application program and body
Part identifies corresponding Target Signature plug-in unit, last installation targets signature plug-in unit, to enable applications to insert based on Target Signature
Signature in part obtains at least one system permission of electronic equipment.Due to being set automatically according to electronics when running application program
Standby identity will install in the electronic device with the matched Target Signature plug-in unit of electronic equipment, so, when application program needs
When wanting system permission, it will be able to quickly get electronic equipment from mounted Target Signature plug-in unit and accurately sign, and then is fast
Speed obtains system permission.So with user in the prior art voluntarily search or signature verification compared with, realize and be quickly obtained electronics
The technical effect of device subscription.
Detailed description of the invention
Fig. 1 is the information processing method flow chart in the embodiment of the present application;
Fig. 2 is the electronic devices structure schematic diagram in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, is quickly obtained for realizing application program
The technical effect of electronic equipment signature.
Technical solution general thought provided by the present application is as follows:
In the technical solution of the embodiment of the present application, an application program is run first, and obtain and application program is installed
The identity of electronic equipment, is then based on identity, determines from the corresponding multiple signature plug-in units of application program and body
Part identifies corresponding Target Signature plug-in unit, last installation targets signature plug-in unit, to enable applications to insert based on Target Signature
Signature in part obtains at least one system permission of electronic equipment.Due to being set automatically according to electronics when running application program
Standby identity will install in the electronic device with the matched Target Signature plug-in unit of electronic equipment, so, when application program needs
When wanting system permission, it will be able to quickly get electronic equipment from mounted Target Signature plug-in unit and accurately sign, and then is fast
Speed obtains system permission.So with user in the prior art voluntarily search or signature verification compared with, realize and be quickly obtained electronics
The technical effect of device subscription.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The application first aspect provides a kind of information processing method, as shown in Figure 1, comprising:
S101: one application program of operation.
S102: the identity for being equipped with the electronic equipment of the application program is obtained.
S103: be based on the identity, determined from the corresponding multiple signature plug-in units of the application program with it is described
The corresponding Target Signature plug-in unit of identity.
S104: the Target Signature plug-in unit is installed.
Specifically, in S101, the operation for being used to start application program that electronic equipment is executed based on user, starting is simultaneously
Run the application program.Wherein, it can be to be completed based on application program installation kit according to using journey that application program is run in S101
Application program is run after sequence for the first time, or it is non-for the first time, such as the 4th, the 6th time or the 2nd inferior operation application program, this Shen
It please be not particularly limited.
After running application program, S102 is executed, that is, obtains the identity for installing the electronic equipment of the application program.Specifically
For, identity includes but is not limited to brand, model, version and sequence number of electronic equipment etc..Application program is set to electronics
Preparation, which is sent, is requested, and informs that electronic equipment application program needs the identity of electronic equipment.Further, electronic equipment is based on
It is requested, is determined to provide identity to application program, and then identity is sent to application program.
After obtaining identity, S103 is executed, i.e. identity-based identifies, from the corresponding multiple signature plug-in units of application program
Determine Target Signature plug-in unit corresponding with identity.
Specifically, in the embodiment of the present application, it is to realize that the first function needs to obtain that multiple signature plug-in units, which are application program,
The plug-in unit of required signature when system permission;Each signature plug-in unit corresponds to different identity mark.
The electronic equipment of different identity required signature when obtaining system permission may be different.Such as
Identity is that the signature that the mobile phone of A brand a1 model needs is Sign_1, and identity is that the mobile phone of A brand a2 model needs
Signature be Sign_2, Sign_1 is different from Sign_2.So application program is mounted in distinct electronic apparatuses, namely pacified
When the identity difference of the electronic equipment of dress, when in order to realize the first function and obtain system permission, required signature
It may be different.
First function is the function of needing to obtain system permission in application program and be just able to achieve.Such as application program is to throw screen
Software, the first function are time control function of the computor-keyboard mouse to mobile phone.The system permission difference that this time control function needs to obtain
For " android.permission.INJECT_EVENTS " and android:sharedUserId="
android.uid.system"。
And multiple signature plug-in units in the embodiment of the present application, then it is to identify corresponding signature based on different identity and generate
Plug-in unit.For example, to realize that throwing returning for screen software controls function, identity is that the signature that A brand a1 model needs is Sign_
1, identity is that the signature that A brand a2 model needs is Sign_2, and identity is that the signature that B brand b1 model needs is
Sign_3, identity be all models of C brand electronic equipment need signature be Sign_4 ... (Sign_1, Sign_2,
Sign_3, Sign_4 ... be all different) so, multiple signature plug-in units corresponding with application program be namely based on Sign_1,
Sign_2, Sign_3, Sign_4 ... the plug-in unit of generation.In the embodiment of the present application, for convenience of description, it is assumed that Sign_ will be based on
1, Sign_2, Sign_3, Sign_4 ... multiple signature plug-in units of generation are successively denoted as plug-in_Sign_1, plug-in_
Sign_2、plug-in_Sign_3、plug-in_Sign_4、…
Wherein, application program operator is to obtain the corresponding multiple signature plug-in units of the first function, can be first by the first function
It can be stripped out from multiple functions that application program can be realized, and independent first plug-in unit is generated based on the first function.By
It maintains secrecy in each electronic equipment manufacturer to signature, therefore the first plug-in unit need to be sent to each electronic equipment by application program operator
Manufacturer obtains multiple signatures with request.Then, after obtaining multiple signatures, multiple signatures is based further on and generate multiple signatures
Plug-in unit.
In the embodiment of the present application, the specific implementation of S103 has at least following two.
The first:
In the first implementation, S103 includes:
Download the multiple signature plug-in unit;
From the multiple signature plug-in unit of downloading, the Target Signature plug-in unit is determined.
Specifically, to obtain multiple signature plug-in units, electronic equipment also needs other than the installation kit of downloading application program
Download multiple signature plug-in units.In the first implementation, multiple signature plug-in units and installation kit are independent.Also, specific real
During now, multiple signature plug-in units can be individually downloaded before downloading installation kit, or in downloading installation kit and then downloading
Multiple signature plug-in units, the application are not particularly limited.
The application is it should be understood by a person of ordinary skill in the art that be disposably or to divide when downloading multiple signature plug-in units
Repeatedly to download.In order to facilitate user's downloading, multiple signature plug-in units can be packaged as to a downloading file, so that user can
Disposable downloading obtains multiple signature plug-in units of application program.
Further, each signature plug-in unit has oneself corresponding identity.Therefore, in the identity mark for obtaining electronic equipment
After knowledge, the identity of electronic equipment identity corresponding with each signature plug-in unit is matched.With electronic equipment identity
Matched signature plug-in unit is exactly Target Signature plug-in unit;And if the corresponding identity of all signature plug-in units and electronic equipment
Identity mismatch, then it represents that it is multiple signature plug-in units in do not include electronic equipment signature plug-in unit generated.
It continues to use for example above, it is assumed that the identity that the electronic equipment of screen software is thrown in installation is C brand c2 type
Number.By identity be C brand c2 model and plug-in_Sign_1, plug-in_Sign_2, plug-in_Sign_3,
Plug-in_Sign_4 ... it is matched.Since the signature that the electronic equipment that identity is all models of C brand needs is
Sign_4, and then the plug-in unit plug-in_Sign_4 that signs just is matched with identity C brand c2 model.So determining plug-
In_Sign_4 is Target Signature plug-in unit.
Second:
In the second implementation, S103 includes:
Obtain the installation kit of the application program;It include the multiple signature plug-in unit in the installation kit;
The Target Signature plug-in unit is determined from the installation kit.
Specifically, in order to simplify the down operation of user, user-friendly application program, in second of implementation
In, it include multiple signature plug-in units in the installation kit of application program.In other words, installation application program has been included at least in installation kit
Installation file and multiple signature plug-in units, so downloading installation kit after, electronic equipment just has been obtained for multiple signature plug-in units.
So when it needs to be determined that directly obtaining installation kit, and then insert from multiple signatures of installation kit when Target Signature plug-in unit
Target Signature plug-in unit is determined in part.
After determining signature plug-in unit at present, S104, i.e. installation targets signature plug-in unit are executed, to enable applications to based on mesh
Signature in tag name plug-in unit obtains at least one system permission of electronic equipment.
Specifically, after determining Target Signature plug-in unit, then Target Signature plug-in unit is also mounted in electronic equipment.So,
Due to being mounted with Target Signature plug-in unit, so, when application program needs to obtain at least one permission of electronic equipment, so that it may
It is quickly obtained the signature of the electronic equipment from the Target Signature plug-in unit being installed, and then system permission is obtained based on signature.
Optionally, the Target Signature plug-in unit after installation can also be associated with application program, so that application program energy
Enough to be quickly obtained signature based on association, the application is not particularly limited.
Further, can also include: after S104
Determine that the application program needs to be implemented first function;
Based on the Target Signature plug-in unit being installed, the signature of the electronic equipment is obtained, and then obtains institute
State at least one permission;
Based at least one described permission, at least one system interface for needing to call with first function is called, with
Realize first function.
Specifically, after obtaining at least one system permission, application program can be able to include but not based on system permission
It is limited to the system for accessing electronic equipment, obtains system-level parameters and calling system interface etc..
In the embodiment of the present application, when determining that application program needs to be implemented the first function, due to the execution of the first function
It needs by means of system permission, so, it is based further on the label that the Target Signature plug-in unit being installed obtains electronic equipment
Name.After the signature for obtaining electronic equipment, application program then obtains at least one system permission of electronic equipment.
Next, application program is called at least one system permission and is realized the first function required at least one
A system interface, to realize the first function.
It continues to use for example above.When returning control function of screen software is thrown determining to need to be implemented, based on installation
Plug-in_Sign_4 obtains the signature Sign_4 of electronic equipment.Further, it throws screen software and is based on Sign_4, calling system connects
Mouth " android.permission.INJECT_EVENTS " and android:sharedUserId="
Android.uid.system ", to realize that throwing screen software returns control function.
In another embodiment of the application, after S102, can also include:
Judge whether the application program is to run for the first time;
When the application program is to run for the first time, determination needs to obtain the identity.
Specifically, first determine whether application program is to run for the first time.In the embodiment of the present application, operation indicates for the first time
Starting for the first time runs the application program after installing application program based on installation kit.When electronic equipment determines that application program is for the first time
When operation, in order to enable application program can smoothly obtain system permission in subsequent use process, so, it is in application program
When running for the first time, determination needs to obtain identity.
During specific implementation, identity is obtained when running for the first time, and identity-based mark installation targets signature is inserted
After part, application program then can obtain the signature of electronic equipment in subsequent non-use for the first time based on signature plug-in unit, and then obtain
At least one system permission.
Alternatively, if the plug-in unit installed in electronic equipment can be done removing periodically or non-periodically by electronic equipment, in order to keep away
Exempt from Target Signature to be removed and the first function is caused not realize normally, so, it can also be in each run application program, such as
Fruit determines that Target Signature plug-in unit is removed, then regains identity and installation targets signature plug-in unit.Or each run is answered
It is signed plug-in unit with identity and installation targets are obtained when program.The application those of ordinary skill in the art can basis
It is actually selected, the application is not particularly limited.
Optionally, it before installation targets sign plug-in unit, can further include:
Output indicates that the application requests install the prompt information of the Target Signature plug-in unit;
It detects whether to obtain the predetermined registration operation that user is executed based on the prompt information;
When detecting the predetermined registration operation, determines and the Target Signature plug-in unit is installed.
Specifically, firstly, input indicates the prompt information of application requests installation targets signature plug-in unit, and detection is
The no predetermined registration operation for obtaining user and being executed based on prompt information.It for example, can be in the display screen display of electronic equipment
The text information of " * * program will install signature plug-in unit, if allow " can also export " * * by the loudspeaker of electronic equipment
Program will install signature plug-in unit, if allow " audio-frequency information etc., the application is not particularly limited.
Further, user is based on prompt information, it is determined whether allows application program installation targets signature plug-in unit.If user
It is not intended to application program to obtain system permission, then can execute the refusal operation for indicating refusal installation targets signature plug-in unit.And such as
Fruit user allows application program installation targets signature plug-in unit, then executes predetermined registration operation, such as click " RUN " virtual key, or
Click " determination " key etc..
In turn, if detection of electrons is to predetermined registration operation, it is determined that user allows application program installation targets to sign plug-in unit, into
And determine installation targets signature plug-in unit., whereas if predetermined registration operation is not detected in electronic equipment, or that check is refusal behaviour
Make, it is determined that user does not allow installation targets signature plug-in unit, and then will not install signature plug-in unit at present.
Based on inventive concept same as information processing method in previous embodiment, the application second aspect also provides one kind
Electronic equipment, as shown in Figure 2, comprising:
Running unit 201, for running an application program;
First obtains unit 202, for obtaining the identity for being equipped with the electronic equipment of the application program;
First determination unit 203, for being based on the identity, from the corresponding multiple signature plug-in units of the application program
In determine Target Signature plug-in unit corresponding with the identity;
Installation unit 204, for installing the Target Signature plug-in unit, so that the application program can be based on the target
Signature in signature plug-in unit obtains at least one system permission of the electronic equipment.
Further, the electronic equipment further include:
Judging unit, before the identity of the electronic equipment for installing the application program in acquisition, described in judgement
Whether application program is to run for the first time;
Second determination unit, for when the application program is to run for the first time, determination to need to obtain the identity.
Specifically, first determination unit 203 is used to obtain the installation kit of the application program;In the installation kit
It include the multiple signature plug-in unit;The Target Signature plug-in unit is determined from the installation kit.
Specifically, it is when realizing that the first function need to obtain system permission that the multiple signature plug-in unit, which is the application program,
The plug-in unit of required signature;Each signature plug-in unit corresponds to different identity mark.
Optionally, the electronic equipment further include:
Output unit, for before installing the Target Signature plug-in unit, output to indicate the application requests installation
The prompt information of the Target Signature plug-in unit;
Detection unit, for detecting whether obtaining the predetermined registration operation that user is executed based on the prompt information;
Third determination unit, for determining and installing the Target Signature plug-in unit when detecting the predetermined registration operation.
The various change mode and specific example of information processing method in 1 embodiment of earlier figures are equally applicable to this implementation
The electronic equipment of example, by the aforementioned detailed description to information processing method, those skilled in the art are clear that this
The implementation method of electronic equipment in embodiment, so this will not be detailed here in order to illustrate the succinct of book.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present application, an application program is run first, and obtain and application program is installed
The identity of electronic equipment, is then based on identity, determines from the corresponding multiple signature plug-in units of application program and body
Part identifies corresponding Target Signature plug-in unit, last installation targets signature plug-in unit, to enable applications to insert based on Target Signature
Signature in part obtains at least one system permission of electronic equipment.Due to being set automatically according to electronics when running application program
Standby identity will install in the electronic device with the matched Target Signature plug-in unit of electronic equipment, so, when application program needs
When wanting system permission, it will be able to quickly get electronic equipment from mounted Target Signature plug-in unit and accurately sign, and then is fast
Speed obtains system permission.So with user in the prior art voluntarily search or signature verification compared with, realize and be quickly obtained electronics
The technical effect of device subscription.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of one of the embodiment of the present application information processing method can be deposited
It stores up on CD, hard disk, the storage mediums such as USB flash disk, when the computer corresponding with the first information processing method in storage medium
Program instruction is read or is performed by an electronic equipment, includes the following steps:
Run an application program;
Obtain the identity for being equipped with the electronic equipment of the application program;
Based on the identity, determined and the identity mark from the corresponding multiple signature plug-in units of the application program
Know corresponding Target Signature plug-in unit;
The Target Signature plug-in unit is installed, so that the application program can be based on the signature in the Target Signature plug-in unit
Obtain at least one system permission of the electronic equipment.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: to be performed before obtaining the identity for installing the electronic equipment of the application program, include the following steps: when executed
Judge whether the application program is to run for the first time;
When the application program is to run for the first time, determination needs to obtain the identity.
Optionally, stored in the storage medium with step from the corresponding multiple signature plug-in units of the application program really
Target Signature plug-in unit corresponding with the identity is made, corresponding computer instruction is during being specifically performed, specifically
Include the following steps:
Obtain the installation kit of the application program;It include the multiple signature plug-in unit in the installation kit;
The Target Signature plug-in unit is determined from the installation kit.
Optionally, it is that the first function of realization need to obtain system permission when institute that the multiple signature plug-in unit, which is the application program,
The plug-in unit of the signature needed;Each signature plug-in unit corresponds to the electronic equipment of different identity mark.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: to be performed before the Target Signature plug-in unit is installed, include the following steps: when executed
Output indicates that the application requests install the prompt information of the Target Signature plug-in unit;
It detects whether to obtain the predetermined registration operation that user is executed based on the prompt information;
When detecting the predetermined registration operation, determines and the Target Signature plug-in unit is installed.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of information processing method, comprising:
Run an application program;
Obtain the identity for being equipped with the electronic equipment of the application program;
Based on the identity, determined and the identity pair from the corresponding multiple signature plug-in units of the application program
The Target Signature plug-in unit answered;
The Target Signature plug-in unit is installed, so that the application program can be obtained based on the signature in the Target Signature plug-in unit
At least one system permission of the electronic equipment.
2. the method as described in claim 1, which is characterized in that obtaining the identity for installing the electronic equipment of the application program
Before mark, further includes:
Judge whether the application program is to run for the first time;
When the application program is to run for the first time, determination needs to obtain the identity.
3. method according to claim 2, which is characterized in that determined from the corresponding multiple signature plug-in units of the application program
Target Signature plug-in unit corresponding with the identity out, comprising:
Obtain the installation kit of the application program;It include the multiple signature plug-in unit in the installation kit;
The Target Signature plug-in unit is determined from the installation kit.
4. the method as described in claim 1, which is characterized in that the multiple signature plug-in unit is that the application program is realization
One function need to obtain the plug-in unit of required signature when system permission;Each signature plug-in unit corresponds to different identity mark.
5. method as claimed in claim 4, which is characterized in that before installing the Target Signature plug-in unit, further includes:
Output indicates that the application requests install the prompt information of the Target Signature plug-in unit;
It detects whether to obtain the predetermined registration operation that user is executed based on the prompt information;
When detecting the predetermined registration operation, determines and the Target Signature plug-in unit is installed.
6. a kind of electronic equipment, comprising:
Running unit, for running an application program;
First obtains unit, for obtaining the identity for being equipped with the electronic equipment of the application program;
First determination unit is determined from the corresponding multiple signature plug-in units of the application program for being based on the identity
Target Signature plug-in unit corresponding with the identity out;
Installation unit, for installing the Target Signature plug-in unit, so that the application program can be inserted based on the Target Signature
Signature in part obtains at least one system permission of the electronic equipment.
7. electronic equipment as claimed in claim 6, which is characterized in that the electronic equipment further include:
Judging unit, for judging the application before obtaining the identity for installing the electronic equipment of the application program
Whether program is to run for the first time;
Second determination unit, for when the application program is to run for the first time, determination to need to obtain the identity.
8. electronic equipment as claimed in claim 7, which is characterized in that first determination unit is described using journey for obtaining
The installation kit of sequence;It include the multiple signature plug-in unit in the installation kit;The target label are determined from the installation kit
Name plug-in unit.
9. electronic equipment as claimed in claim 6, which is characterized in that the multiple signature plug-in unit is that the application program is real
Existing first function need to obtain the plug-in unit of required signature when system permission;Each signature plug-in unit corresponds to different identity mark.
10. electronic equipment as claimed in claim 9, which is characterized in that the electronic equipment further include:
Output unit, for before installing the Target Signature plug-in unit, output to be indicated described in the application requests installation
The prompt information of Target Signature plug-in unit;
Detection unit, for detecting whether obtaining the predetermined registration operation that user is executed based on the prompt information;
Third determination unit, for determining and installing the Target Signature plug-in unit when detecting the predetermined registration operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610084822.1A CN105760751B (en) | 2016-02-14 | 2016-02-14 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610084822.1A CN105760751B (en) | 2016-02-14 | 2016-02-14 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105760751A CN105760751A (en) | 2016-07-13 |
CN105760751B true CN105760751B (en) | 2019-02-05 |
Family
ID=56329783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610084822.1A Active CN105760751B (en) | 2016-02-14 | 2016-02-14 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105760751B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162959A (en) * | 2019-05-31 | 2019-08-23 | 北京顶象技术有限公司 | Data processing method and device based on device-fingerprint |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413220A (en) * | 2011-11-24 | 2012-04-11 | 中兴通讯股份有限公司 | Method for controlling right of using connection function and mobile terminal |
CN103491056A (en) * | 2012-06-12 | 2014-01-01 | 中兴通讯股份有限公司 | Control method and device for permission of application |
CN103686722A (en) * | 2012-09-13 | 2014-03-26 | 中兴通讯股份有限公司 | Access control method and device |
CN103905390A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Permission acquisition method, device, electronic equipment and system |
-
2016
- 2016-02-14 CN CN201610084822.1A patent/CN105760751B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413220A (en) * | 2011-11-24 | 2012-04-11 | 中兴通讯股份有限公司 | Method for controlling right of using connection function and mobile terminal |
CN103491056A (en) * | 2012-06-12 | 2014-01-01 | 中兴通讯股份有限公司 | Control method and device for permission of application |
CN103686722A (en) * | 2012-09-13 | 2014-03-26 | 中兴通讯股份有限公司 | Access control method and device |
CN103905390A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Permission acquisition method, device, electronic equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN105760751A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104516783B (en) | Authority control method and device | |
CN104915224B (en) | A kind of processing method and processing device of affiliate application | |
US9607147B2 (en) | Method and device for detecting software-tampering | |
CN103064593B (en) | The method and apparatus of mobile device desktop icons classification | |
JP2009529720A5 (en) | ||
CN107846511A (en) | A kind of method, terminal and computer-readable recording medium for accessing moving advertising | |
CN109316747B (en) | Game auxiliary information prompting method and device and electronic equipment | |
CN103777871A (en) | Method and device for starting application in screen locking state | |
CN104835056A (en) | Information push method and information push system | |
CN105263590B (en) | The method and system collected for game data | |
CN105138351A (en) | Method and device for configuring plug-in package for host | |
CN106777036B (en) | A kind of data rendering method and data render system | |
CN105760751B (en) | A kind of information processing method and electronic equipment | |
CN110750447B (en) | Software testing method and related equipment | |
CN108463274B (en) | Information processing apparatus, information processing method, and non-transitory computer-readable medium | |
US10235150B2 (en) | System and methods for touch pattern detection and user interface adaptation | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN103299289A (en) | A collaboration management system | |
CN105829998B (en) | Device is tied to calculating equipment | |
CN105653364B (en) | Application process management method and application process managing device | |
CN110532755B (en) | Computer-implemented risk identification method and device | |
CN107948177A (en) | Verify the generation method and device of questionnaire | |
CN105592446B (en) | Information interaction method and platform | |
CN107092519B (en) | Function display method and device and terminal device | |
CN110046044A (en) | Virtual resource configuration method and system based on NFV |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |