CN104850778B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104850778B
CN104850778B CN201510221505.5A CN201510221505A CN104850778B CN 104850778 B CN104850778 B CN 104850778B CN 201510221505 A CN201510221505 A CN 201510221505A CN 104850778 B CN104850778 B CN 104850778B
Authority
CN
China
Prior art keywords
coding
electronic equipment
module
sensitive function
functional module
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
Application number
CN201510221505.5A
Other languages
Chinese (zh)
Other versions
CN104850778A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510221505.5A priority Critical patent/CN104850778B/en
Publication of CN104850778A publication Critical patent/CN104850778A/en
Application granted granted Critical
Publication of CN104850778B publication Critical patent/CN104850778B/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

Abstract

The present invention provides a kind of information processing method and electronic equipment, the method is applied in an electronic equipment, the described method includes: obtain the electronic equipment all functional modules and coding corresponding with the functional module, establish the functional module and coding between the first mapping relations;Receive the coding that the first application requests in the electronic equipment are called;Based on first mapping relations, corresponding first functional module of the coding is determined;Judge whether first functional module belongs to the corresponding sensitive function module of first application program, obtains judging result;When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first functional module described in user intercepted.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to technical field of information processing more particularly to a kind of information processing methods and electronic equipment.
Background technique
With the development of electronic technology, more and more electronic equipments appear in the work and life of people, such as: intelligence Energy mobile phone, tablet computer, laptop etc., these electronic equipments provide various functions for people, such as: send out short Letter, receipts short message, setting messaging format etc..
Various application programs are installed, application requests call a certain functional module, can be by the function in electronic equipment The coding of module is sent to system process, and system process notifies the corresponding system service dispatch feature capability module.It considers Electronic equipment service life or information security, certain functional modules that application requests are called can be set to sensitive function mould Block: for example: reading message registration is sensitive function module.
In the prior art, application call sensitive function module in order to prevent, can inject one in system process For intercepting the injection process of sensitive function module.After the coding that injection process receives application requests calling, first can It determines the corresponding functional module of coding received, then judges whether the functional module determined belongs to sensitive function module.Tool Body determines the process for encoding corresponding functional module are as follows: the hardware platform and software with current electronic device are found out from menu The matched record of platform, then finds the coding received from record, checks its corresponding functional module.
However, the record in menu can be more and more with the hardware platform of electronic equipment or increasing for operating system, From being found under the hardware platform and software platform of current electronic device in table, the corresponding functional module of a coding needs to spend Time it is also more and more, cause intercept sensitive function module low efficiency.Therefore, technical problem of the existing technology is: The low efficiency of electronic equipment interception sensitive function module.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronics of the existing technology Equipment intercepts the technical issues of low efficiency of sensitive function module, provides a kind of method of new interception sensitive function module, Without considering the hardware platform or operating system of current electronic device, functional module and coding in current electronic device need to be only obtained Corresponding relationship, improve intercept sensitive function module efficiency.
In a first aspect, the embodiment of the present invention provides a kind of information processing method, it is applied in an electronic equipment, the method Include:
Obtain the electronic equipment all functional modules and coding corresponding with the functional module, establish the function The first mapping relations between energy module and coding;
Receive the coding that the first application requests in the electronic equipment are called;
Based on first mapping relations, corresponding first functional module of the coding is determined;
Judge whether first functional module belongs to the corresponding sensitive function module of first application program, is sentenced Disconnected result;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function described in user Energy module is intercepted.
Optionally, described to judge whether first functional module belongs to the corresponding sensitive function of first application program Module, specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application is determined The corresponding first sensitive function module of program;
Compare first functional module and whether the first sensitive function module is identical.
Optionally, all functional modules and volume corresponding with the functional module for obtaining the electronic equipment Code establishes the first mapping relations between the functional module and coding, specifically:
During the os starting of the electronic equipment, obtain all functional modules of the electronic equipment with And coding corresponding with the functional module, establish the first mapping relations between the functional module and coding;Or
During the first application program launching of the electronic equipment, the functional mould of institute of the electronic equipment is obtained Block and coding corresponding with the functional module establish the first mapping relations between the functional module and coding.
Optionally, first mapping relations are based on described, before determining corresponding first functional module of the coding, The method also includes:
Increase injection process in the system process of the electronic equipment;
First mapping relations are sent to the injection process.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
First acquisition unit, for obtaining all functional modules of the electronic equipment and corresponding with the functional module Coding, establish the functional module and coding between the first mapping relations;
First receiving unit, for receiving the coding of the calling of the first application requests in the electronic equipment;
First determination unit determines corresponding first functional module of the coding for being based on first mapping relations;
First judging unit, for judging it is corresponding quick whether first functional module belongs to first application program Feel functional module, obtains judging result;
First generation unit, for when the judging result, which is, is, generating prompt information, the prompt information is for mentioning Show that the first functional module described in user is intercepted.
Optionally, first judging unit includes:
Determining module, for the mapping table between the basis all application programs prestored and sensitive function module, really Determine the corresponding first sensitive function module of first application program;
Whether comparison module is identical for first functional module and the first sensitive function module.
Optionally, the first acquisition unit, specifically:
First obtains module, sets for during the os starting of the electronic equipment, obtaining the electronics Standby all functional modules and coding corresponding with the functional module establish first between the functional module and coding Mapping relations;Or
Second obtains module, for obtaining the electricity during the first application program launching of the electronic equipment The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations.
Optionally, the electronic equipment further include:
First processing units determine corresponding first function of the coding for being based on first mapping relations described Before energy module, increase injection process in the system process of the electronic equipment;
First transmission unit, for first mapping relations to be sent to the injection process.
The third aspect, the embodiment of the present invention also provide another information processing method, are applied in electronic equipment, the side Method includes:
During the first application program launching of the electronic equipment, first application program corresponding the is obtained One sensitive function module and coding corresponding with the first sensitive function module;
Receive the coding that the first application requests in the electronic equipment are called;
Judge whether the coding belongs to the corresponding coding of the first sensitive function module, obtains judging result;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function described in user Energy module is intercepted.
It is optionally, described to obtain the corresponding first sensitive function module of first application program, specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application is determined The corresponding first sensitive function module of program.
Optionally, it is described judge it is described coding whether belong to the corresponding coding of the first sensitive function module before, The method also includes:
Increase injection process in the system process of the electronic equipment;
The corresponding coding of the first sensitive function module is sent to the injection process.
Fourth aspect, the embodiment of the present invention also provide another electronic equipment, comprising:
Second acquisition unit obtains described for during the first application program launching of the electronic equipment The corresponding first sensitive function module of one application program and coding corresponding with the first sensitive function module;
Second receiving unit, for receiving the coding of the calling of the first application requests in the electronic equipment;
Second judgment unit, for judging whether the coding belongs to the corresponding coding of the first sensitive function module, Obtain judging result;
Second generation unit, for when the judging result, which is, is, generating prompt information, the prompt information is for mentioning Show that the first functional module described in user is intercepted.
Optionally, the second acquisition unit specifically:
Determining module, for the mapping table between the basis all application programs prestored and sensitive function module, really Determine the corresponding first sensitive function module of first application program.
Optionally, the electronic equipment further include:
The second processing unit, for judging the coding described whether to belong to the first sensitive function module corresponding Before coding, increase injection process in the system process of the electronic equipment;
Second transmission unit, for the corresponding coding of the first sensitive function module to be sent to the injection process.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The specific implementation process of the method provided in an embodiment of the present invention for intercepting sensitive function are as follows: firstly, obtaining the electricity The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations;Then, the coding that the first application requests in the electronic equipment are called is received;Then, it is based on institute The first mapping relations are stated, determine corresponding first functional module of the coding;Finally, judging whether first functional module belongs to In the corresponding sensitive function module of first application program, judging result is obtained;When the judging result, which is, is, generation is mentioned Show information, the prompt information is for prompting the first functional module described in user intercepted.Without considering current electronic device Hardware platform or operating system need to only obtain the corresponding relationship of functional module and coding in current electronic device, then using pair It should be related to and sensitive function module is intercepted, improve the efficiency for intercepting sensitive function module.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another information processing method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of another electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronics of the existing technology Equipment intercepts the technical issues of low efficiency of sensitive function module, provides a kind of method of new interception sensitive function module, Without considering the hardware platform or operating system of current electronic device, functional module and coding in current electronic device need to be only obtained Corresponding relationship, improve intercept sensitive function module efficiency.
The specific implementation process of the method provided in an embodiment of the present invention for intercepting sensitive function are as follows: firstly, obtaining the electricity The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations;Then, the coding that the first application requests in the electronic equipment are called is received;Then, it is based on institute The first mapping relations are stated, determine corresponding first functional module of the coding;Finally, judging whether first functional module belongs to In the corresponding sensitive function module of first application program, judging result is obtained;When the judging result, which is, is, generation is mentioned Show information, the prompt information is for prompting the first functional module described in user intercepted.Without considering current electronic device Hardware platform or operating system need to only obtain the corresponding relationship of functional module and coding in current electronic device, then using pair It should be related to and sensitive function module is intercepted, improve the efficiency for intercepting sensitive function module.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
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".
Detailed description of embodiments of the present invention with reference to the accompanying drawing.
The present embodiment provides a kind of information processing methods, are applied in an electronic equipment, which can be intelligence Mobile phone, tablet computer, laptop etc..Application program is installed, application program can be electronics and set in the electronic equipment It is when standby factory built-in, it can also be that user downloads and installed from application market.Electronic equipment also provides system service, often A system service provides N kind functional module, such as: system service may is that short message, this system service of short message provides 3 kinds of function Energy module: it sends short messages, receive short message, setting messaging format.Application program calls some function in some service by system process It can module.
Referring to FIG. 1, Fig. 1 is the flow chart of information processing method provided in an embodiment of the present invention.This method comprises:
Step 11: obtain the electronic equipment all functional modules and coding corresponding with the functional module, build Found the first mapping relations between the functional module and coding;
Step 12: receiving the coding that the first application requests in the electronic equipment are called;
Step 13: being based on first mapping relations, determine corresponding first functional module of the coding;
Step 14: judging whether first functional module belongs to the corresponding sensitive function mould of first application program Block obtains judging result;
Step 15: when the judging result, which is, is, generating prompt information, the prompt information is for prompting described in user First functional module is intercepted.
The realization process of step 11 is described in detail first.
Since electronic equipment provides system service, each system service provides N kind functional module, it is possible to utilize reflection Method, obtain all functional modules and coding between mapping relations.Wherein reflection is a kind of technology hand in the prior art Section, is just not explained in detail herein.Mapping relations between all functional modules and coding can be embodied with a table, such as table 1, Table 1 lists the mapping relations in electronic equipment between all functional modules and coding.
Mapping relations in 1 electronic equipment of table between all functional modules and coding
In the embodiment of the present invention, step 11 specifically has following two embodiment:
The first embodiment are as follows: during the os starting of the electronic equipment, obtain the electronics and set Standby all functional modules and coding corresponding with the functional module establish first between the functional module and coding Mapping relations.
Second of embodiment are as follows: during the first application program launching of the electronic equipment, obtain the electricity The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations.
Specifically, convenient using mapping relations in order to subsequent, it can be in the process of the os starting of electronic equipment In, just using the method for reflection, determine the mapping relations between all functional modules and coding in electronic equipment.If electronics Application program in equipment sends a coding, utilizes mapping relations, it will be able to determine the function mould that application requests are called What block is.
Using the method for reflection, electronic equipment can also be determined during application program launching in the electronic device In all functional modules and coding corresponding relationship.If the application program sends a coding, mapping relations, energy are utilized What the functional module for enough determining that application requests are called is.
Next, executing step 12: receiving the coding that the first application requests in the electronic equipment are called.
It specifically, can be to being when some functional module that the application requests in electronic equipment call some to service System process sends a coding.Such as: the coding that application program is sent to system process are as follows: 41,42 or 13 etc..
It should be noted that: implementing the method provided in an embodiment of the present invention for intercepting sensitive function module In the process, the execution sequential partial of step 11 and step 12 is successive, can first carry out step 11, then execute step 12, can also be with Step 12 is first carried out, then executes step 11.
In the embodiment of the present invention, before executing step 13, following steps can also be performed:
Increase injection process in the system process of the electronic equipment;
First mapping relations are sent to the injection process.
Specifically, since system process is that do not have the effect for intercepting sensitive function module, journey is applied in order to prevent Sequence calls sensitive function module, and one can be injected in system process for intercepting the injection process of sensitive function module.By Injection process is determined using mapping relations encodes corresponding functional module, so judge application call functional module whether For sensitive function module.Wherein, sensitive function module is electronic equipment or application program setting, is also possible to user oneself Definition.
It, can be at framework layers using instead for operating system Android (Android) system commonly used in the prior art The method penetrated obtains the mapping relations in electronic equipment between all functional modules and coding, is then again sent to mapping relations Native layers, by work Native layers injection process realize intercept sensitive function module.
Next, executing step 13: being based on first mapping relations, determine the corresponding first function mould of the coding Block.
Specifically, it is closed since injection process obtains the mapping in electronic equipment between all functional modules and coding The coding that application requests in system and electronic equipment are called, it is possible to be determined using mapping relations in electronic equipment What the corresponding functional module of middle coding is.Such as: coding is 11, then according to table 1, determines corresponding functional module are as follows: send out short Letter.
In this way, one is encoded, can determine that corresponding functional module is in electronic equipment, realizes reality When Dynamic Matching coding and functional module, by coding mapping be electronic equipment in functional module.Without as in the prior art Equally, then the hardware platform and operating system for first having to determine electronic equipment are found flat with the hardware of electronic equipment from table Platform and the matched record of operating system, then the corresponding functional module of coding is found from record.
After injection process determines corresponding first functional module of coding of application requests calling using mapping relations, Step 14 can be executed: judge whether the first functional module belongs to sensitive function module.Specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application is determined The corresponding first sensitive function module of program;
Compare first functional module and whether the first sensitive function module is identical.
Specifically, for an application program, its sensitive function module is fixed, with electronic equipment operation System or hardware platform are unrelated.The corresponding sensitive function module possibility of different application programs is identical may also be different.Electronics is set The mapping table between application program and sensitive function module can be stored in advance in standby, which has recorded each application program What corresponding sensitive function module is.Such as table 2, table 2 lists all application programs and sensitive function module in electronic equipment Between corresponding relationship.After receiving the coding that the first application requests in electronic equipment are called, it can be looked for from table 2 To the corresponding first sensitive function module of the first application program, then judge whether the first functional module of coding mapping belongs to One sensitive function module, thens follow the steps 15 if belonged to, it may be assumed that generates prompt information, prompts the first functional module described in user It is intercepted.Because the first functional module belongs to the sensitive function module of the first application program, by electronic equipment or application program It is set as influencing the function of information security, or is defined as influencing the function of information security by user oneself, so must be blocked It cuts.
If it is determined that the first functional module of coding mapping is not belonging to the sensitive function module of the first application program, then execute Following steps:
When the judging result is no, first functional module is called.
Specifically, it because the operation of the first functional module will not influence information security, will not intercept, and then be adjusted With success.
Corresponding relationship in 2 electronic equipment of table between all application programs and sensitive function module
For example, the application program in electronic equipment is wechat, and injection process receives being encoded to for wechat request call 51, using mapping relations, determine the functional module of 51 mappings are as follows: chat record, and according to table 2, this function mould of chat record Block is the sensitive function module of wechat, then the functional module can be intercepted by injecting process, and correspondingly, electronic equipment can generate prompt letter User is ceased and issued, user is prompted to read chat record failure.If the code that injection process receives wechat request call is 62, Using mapping relations, the functional module of 62 mappings is determined are as follows: information, and according to table 2, this functional module of information is not wechat Sensitive function module, then the functional module will not be intercepted by injecting process, which can be invoked successfully.
The strategy that the method for above-mentioned interception sensitive function module uses is: electronic equipment obtains all of the electronic equipment Functional module and coding corresponding with functional module, using the mapping relations between functional module and coding, by electronic equipment In the first application requests call coding mapping be the first functional module, then judge whether the first functional module belongs to The corresponding sensitive function module of first application program, and then realize and intercept sensitive function module.
The embodiment of the present invention also provides a kind of method for intercepting sensitive function, and the strategy of use is different from the above method, tool Body are as follows: during the first application program launching of electronic equipment, obtain corresponding first sensitive function of the first application program Module and coding corresponding with the first sensitive function module;Whether the coding for then judging that the first application requests are called belongs to In the corresponding coding of the first sensitive function module, and then realizes and intercept sensitive function module.
Referring to FIG. 2, Fig. 2 is the flow chart of another information processing method provided in an embodiment of the present invention.This method includes Following steps:
Step 21: during the first application program launching of the electronic equipment, obtaining first application program Corresponding first sensitive function module and coding corresponding with the first sensitive function module;
Step 22: receiving the coding that the first application requests in the electronic equipment are called;
Step 23: judging whether the coding belongs to the corresponding coding of the first sensitive function module, obtain judgement knot Fruit;
Step 24: when the judging result, which is, is, generating prompt information, the prompt information is for prompting described in user First functional module is intercepted.
Wherein, the corresponding first sensitive function module of first application program is obtained in step 21, specifically:
According to all application programs and sensitive function module mapping table prestored, first application program pair is determined The the first sensitive function module answered.
Specifically, as previously mentioned, for an application program, its sensitive function module be it is fixed, with electronics The operating system or hardware platform of equipment are unrelated.The corresponding sensitive function module possibility of different application programs is identical may not also Together.The mapping table between application program and sensitive function module can be stored in advance in electronic equipment, which has recorded often What the corresponding sensitive function module of a application program is.Such as table 2, table 2 list in electronic equipment all application programs with it is quick Feel the corresponding relationship between functional module.During the first application program launching of electronic equipment, it can be obtained according to table 2 The corresponding first sensitive function module of first application program.Such as: during wechat starting in the electronic device, according to table 2, the corresponding sensitive function module of available wechat are as follows: chat record, contact person, picture library.
During the first application program launching of electronic equipment, it is quick can also to obtain first using the method for reflection Feel the mapping relations between functional module and coding.Wherein reflection is a kind of technological means in the prior art, just unknown herein It describes in detail bright.Mapping relations between first sensitive function module and coding can be embodied with a table, and such as table 3, table 3 is listed Mapping relations between the corresponding first sensitive function module of first application program and coding.
Mapping relations between the corresponding first sensitive function module of 3 first application program of table and coding
Next, executing step 22: receiving the coding that the first application requests in the electronic equipment are called.
It specifically, can be to being when some functional module that the application requests in electronic equipment call some to service System process sends a coding.Such as: the coding that application program is sent to system process are as follows: 41,42 or 13 etc..
It should be noted that: implementing the method provided in an embodiment of the present invention for intercepting sensitive function module In the process, the execution sequential partial of step 21 and step 22 is successive, can first carry out step 21, then execute step 22, can also be with Step 22 is first carried out, then executes step 21.
In the embodiment of the present invention, before executing step 23, following steps can also be performed:
Increase injection process in the system process of the electronic equipment;
The corresponding coding of the first sensitive function module is sent to the injection process.
Specifically, since system process is that do not have the effect for intercepting sensitive function module, journey is applied in order to prevent Sequence calls sensitive function module, and one can be injected in system process for intercepting the injection process of sensitive function module.By Injection process judges whether the function coding of application call is volume corresponding to the corresponding sensitive function module of application program Code.Wherein, sensitive function module is electronic equipment or application program setting, is also possible to user oneself definition.
It, can be at framework layers using instead for operating system Android (Android) system commonly used in the prior art The method penetrated obtains the mapping relations between the corresponding first sensitive function module of the first application program and coding, then will reflect again The relationship of penetrating is sent to Native layers, by work Native layers injection process realize intercept sensitive function module.
Next, executing step 23: judge whether the coding belongs to the corresponding coding of the first sensitive function module, Obtain judging result.According to judging result, executes step 24 or executes following steps:
When the judging result is no, first functional module is called.
It specifically, can be from table 3 after receiving the coding that the first application requests in electronic equipment are called Coding corresponding to the corresponding first sensitive function module of the first application program is found out, then judges the coding received and first Whether the corresponding coding of sensitive function module is identical, if the same executes step 24, it may be assumed that generates prompt information, prompts user First functional module is intercepted.Because the first functional module belongs to the sensitive function module of the first application program, by electronics Perhaps application program is set as influencing the function of information security or is defined as influencing the function of information security by user oneself equipment Can, so must be intercepted by.
If it is determined that the coding received coding corresponding from the first sensitive function module is different, then following steps are executed:
When the judging result is no, first functional module is called.
Specifically, it because the operation of the first functional module will not influence information security, will not intercept, and then be adjusted With success.
For example, the application program in electronic equipment determines the corresponding sensitive function mould of wechat according to table 2 for wechat Block are as follows: contact person, chat record, picture library.Table 3 is obtained using reflection technology, table 3 has recorded the corresponding sensitive function module of wechat Are as follows: contact person, chat record, the corresponding coding of picture library are as follows: 51,52,53.Assuming that injection process receives wechat request call Be encoded to 51, belong in table 3 listed coding, then the functional module can be intercepted by injecting process, and correspondingly, electronic equipment can give birth to At prompt information and user is issued, user is prompted to read chat record failure.If injection process receives wechat request call Code is 62, is not belonging to coding listed in table 3, then the functional module will not be intercepted by injecting process, which can be adjusted With success.
Compared to information processing method shown in FIG. 1, information processing method shown in Fig. 2 is intercepted for specific application program Sensitive function module, as need to only obtain coding corresponding to the corresponding sensitive function module of application-specific, without obtaining The corresponding coding of all functional modules in electronic equipment, so method shown in Fig. 2 intercept the efficiency of sensitive function module into One step is promoted.
Based on inventive concept identical with information processing method shown in FIG. 1, the embodiment of the invention also provides a kind of electricity Sub- equipment, referring to FIG. 3, Fig. 3 is the schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.Electronic equipment includes:
First acquisition unit 31, for obtain the electronic equipment all functional modules and with the functional module pair The coding answered establishes the first mapping relations between the functional module and coding;
First receiving unit 32, for receiving the coding of the calling of the first application requests in the electronic equipment;
First determination unit 33 determines the corresponding first function mould of the coding for being based on first mapping relations Block;
First judging unit 34, for judging it is corresponding whether first functional module belongs to first application program Sensitive function module obtains judging result;
First generation unit 35, for generating prompt information when the judging result, which is, is, the prompt information is used for Prompt the first functional module described in user intercepted.
Optionally, first judging unit 34 includes:
Determining module, for the mapping table between the basis all application programs prestored and sensitive function module, really Determine the corresponding first sensitive function module of first application program;
Whether comparison module is identical for first functional module and the first sensitive function module.
Optionally, the first acquisition unit 31, specifically:
First obtains module, sets for during the os starting of the electronic equipment, obtaining the electronics Standby all functional modules and coding corresponding with the functional module establish first between the functional module and coding Mapping relations;Or
Second obtains module, for obtaining the electricity during the first application program launching of the electronic equipment The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations.
Optionally, the electronic equipment further include:
First processing units determine corresponding first function of the coding for being based on first mapping relations described Before energy module, increase injection process in the system process of the electronic equipment;
First transmission unit, for first mapping relations to be sent to the injection process.
Based on inventive concept identical with information processing method shown in Fig. 2, the embodiment of the invention also provides another kinds Electronic equipment, referring to FIG. 4, Fig. 4 is the schematic diagram of another electronic equipment provided in an embodiment of the present invention.Electronic equipment packet It includes:
Second acquisition unit 41, for during the first application program launching of the electronic equipment, described in acquisition The corresponding first sensitive function module of first application program and coding corresponding with the first sensitive function module;
Second receiving unit 42, for receiving the coding of the calling of the first application requests in the electronic equipment;
Second judgment unit 43, for judging whether the coding belongs to the corresponding volume of the first sensitive function module Code obtains judging result;
Second generation unit 44, for generating prompt information when the judging result, which is, is, the prompt information is used for Prompt the first functional module described in user intercepted.
Optionally, the second acquisition unit 41 specifically:
Determining module, for the mapping table between the basis all application programs prestored and sensitive function module, really Determine the corresponding first sensitive function module of first application program.
Optionally, the electronic equipment further include:
The second processing unit, for judging the coding described whether to belong to the first sensitive function module corresponding Before coding, increase injection process in the system process of the electronic equipment;
Second transmission unit, for the corresponding coding of the first sensitive function module to be sent to the injection process.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The specific implementation process of the method provided in an embodiment of the present invention for intercepting sensitive function are as follows: firstly, obtaining the electricity The all functional modules of sub- equipment and coding corresponding with the functional module are established between the functional module and coding First mapping relations;Then, the coding that the first application requests in the electronic equipment are called is received;Then, it is based on institute The first mapping relations are stated, determine corresponding first functional module of the coding;Finally, judging whether first functional module belongs to In the corresponding sensitive function module of first application program, judging result is obtained;When the judging result, which is, is, generation is mentioned Show information, the prompt information is for prompting the first functional module described in user intercepted.Without considering current electronic device Hardware platform or operating system need to only obtain the corresponding relationship of functional module and coding in current electronic device, then using pair It should be related to and sensitive function module is intercepted, improve the efficiency for intercepting sensitive function module.
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 program corresponding with information processing method in storage medium refers to It enables and is read or be performed by an electronic equipment, include the following steps:
Obtain the electronic equipment all functional modules and coding corresponding with the functional module, establish the function The first mapping relations between energy module and coding;
Receive the coding that the first application requests in the electronic equipment are called;
Based on first mapping relations, corresponding first functional module of the coding is determined;
Judge whether first functional module belongs to the corresponding sensitive function module of first application program, is sentenced Disconnected result;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function described in user Energy module is intercepted.
Optionally, store in the storage medium and step: judge whether first functional module belongs to described The corresponding sensitive function module of one application program, corresponding computer instruction specifically be performed during, specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application is determined The corresponding first sensitive function module of program;
Compare first functional module and whether the first sensitive function module is identical.
Optionally, stored in the storage medium and step: obtain the electronic equipment all functional modules and Coding corresponding with the functional module establishes the first mapping relations between the functional module and coding, corresponding calculating Machine instructs during being specifically performed, specifically:
During the os starting of the electronic equipment, obtain all functional modules of the electronic equipment with And coding corresponding with the functional module, establish the first mapping relations between the functional module and coding;Or
During the first application program launching of the electronic equipment, the functional mould of institute of the electronic equipment is obtained Block and coding corresponding with the functional module establish the first mapping relations between the functional module and coding.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step It is rapid: to be based on first mapping relations, determine corresponding first functional module of the coding, corresponding computer instruction is performed It is performed, includes the following steps: when executed before
Increase injection process in the system process of the electronic equipment;
First mapping relations are sent to the injection process.
Specifically, the corresponding computer program instructions of another information processing method in the embodiment of the present application can be by It is stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program corresponding with information processing method in storage medium Instruction is read or is performed by an electronic equipment, includes the following steps:
During the first application program launching of the electronic equipment, first application program corresponding the is obtained One sensitive function module and coding corresponding with the first sensitive function module;
Receive the coding that the first application requests in the electronic equipment are called;
Judge whether the coding belongs to the corresponding coding of the first sensitive function module, obtains judging result;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function described in user Energy module is intercepted.
Optionally, stored in the storage medium with step: it is corresponding first sensitive to obtain first application program Functional module, corresponding computer instruction specifically be performed during, specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application is determined The corresponding first sensitive function module of program.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step It is rapid: to judge whether the coding belongs to the corresponding coding of the first sensitive function module, corresponding computer instruction is performed It is performed, includes the following steps: when executed before
Increase injection process in the system process of the electronic equipment;
The corresponding coding of the first sensitive function module is sent to the injection process.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
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 is applied in electronic equipment, which comprises
Obtain the electronic equipment all functional modules and coding corresponding with the functional module, establish the function mould The first mapping relations between block and coding;
Receive the coding that the first application requests in the electronic equipment are called;
Based on first mapping relations, corresponding first functional module of the coding is determined;
Judge whether first functional module belongs to the corresponding sensitive function module of first application program, obtains judgement knot Fruit;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function mould described in user Block is intercepted;Wherein,
It is described to judge whether first functional module belongs to the corresponding sensitive function module of first application program, specifically Are as follows:
According to the mapping table between all application programs prestored and sensitive function module, first application program is determined Corresponding first sensitive function module;
Compare first functional module and whether the first sensitive function module is identical.
2. the method as described in claim 1, which is characterized in that all functional modules for obtaining the electronic equipment and Coding corresponding with the functional module establishes the first mapping relations between the functional module and coding, specifically:
During the os starting of the electronic equipment, obtain the electronic equipment all functional modules and with The corresponding coding of the functional module, establishes the first mapping relations between the functional module and coding;Or
During the first application program launching of the electronic equipment, obtain all functional modules of the electronic equipment with And coding corresponding with the functional module, establish the first mapping relations between the functional module and coding.
3. the method as described in claim 1, which is characterized in that be based on first mapping relations described, determine the volume Before corresponding first functional module of code, the method also includes:
Increase injection process in the system process of the electronic equipment;
First mapping relations are sent to the injection process.
4. a kind of electronic equipment, comprising:
First acquisition unit, for obtaining all functional modules and volume corresponding with the functional module of the electronic equipment Code establishes the first mapping relations between the functional module and coding;
First receiving unit, for receiving the coding of the calling of the first application requests in the electronic equipment;
First determination unit determines corresponding first functional module of the coding for being based on first mapping relations;
First judging unit, for judging whether first functional module belongs to the corresponding sensitive function of first application program Energy module, obtains judging result;
First generation unit, for when the judging result, which is, is, generating prompt information, the prompt information is used for prompting First functional module described in family is intercepted;Wherein,
First judging unit includes:
Determining module, for determining institute according to the mapping table between all application programs prestored and sensitive function module State the corresponding first sensitive function module of the first application program;
Whether comparison module is identical for first functional module and the first sensitive function module.
5. electronic equipment as claimed in claim 4, which is characterized in that the first acquisition unit, specifically:
First obtains module, for obtaining the electronic equipment during os starting of the electronic equipment All functional modules and coding corresponding with the functional module establish the first mapping between the functional module and coding Relationship;Or
Second obtains module, sets for during the first application program launching of the electronic equipment, obtaining the electronics Standby all functional modules and coding corresponding with the functional module establish first between the functional module and coding Mapping relations.
6. electronic equipment as claimed in claim 4, which is characterized in that the electronic equipment further include:
First processing units determine the corresponding first function mould of the coding for being based on first mapping relations described Before block, increase injection process in the system process of the electronic equipment;
First transmission unit, for first mapping relations to be sent to the injection process.
7. a kind of information processing method is applied in electronic equipment, which comprises
During the first application program launching of the electronic equipment, it is corresponding first quick to obtain first application program Feel functional module and coding corresponding with the first sensitive function module;
Receive the coding that the first application requests in the electronic equipment are called;
Judge whether the coding belongs to the corresponding coding of the first sensitive function module, obtains judging result;
When the judging result, which is, is, prompt information is generated, the prompt information is for prompting the first function mould described in user Block is intercepted;Wherein,
It is described to obtain the corresponding first sensitive function module of first application program, specifically:
According to the mapping table between all application programs prestored and sensitive function module, first application program is determined Corresponding first sensitive function module.
8. the method for claim 7, which is characterized in that judge whether the coding belongs to first sensitivity described Before the corresponding coding of functional module, the method also includes:
Increase injection process in the system process of the electronic equipment;
The corresponding coding of the first sensitive function module is sent to the injection process.
9. a kind of electronic equipment, comprising:
Second acquisition unit is answered for during the first application program launching of the electronic equipment, obtaining described first With the corresponding first sensitive function module of program and coding corresponding with the first sensitive function module;
Second receiving unit, for receiving the coding of the calling of the first application requests in the electronic equipment;
Second judgment unit is obtained for judging whether the coding belongs to the corresponding coding of the first sensitive function module Judging result;
Second generation unit, for when the judging result, which is, is, generating prompt information, the prompt information is used for prompting First functional module described in family is intercepted;Wherein,
The second acquisition unit specifically:
Determining module, for determining institute according to the mapping table between all application programs prestored and sensitive function module State the corresponding first sensitive function module of the first application program.
10. electronic equipment as claimed in claim 9, which is characterized in that the electronic equipment further include:
The second processing unit, for judging whether the coding belongs to the corresponding coding of the first sensitive function module described Before, increase injection process in the system process of the electronic equipment;
Second transmission unit, for the corresponding coding of the first sensitive function module to be sent to the injection process.
CN201510221505.5A 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment Active CN104850778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510221505.5A CN104850778B (en) 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510221505.5A CN104850778B (en) 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104850778A CN104850778A (en) 2015-08-19
CN104850778B true CN104850778B (en) 2019-08-27

Family

ID=53850417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510221505.5A Active CN104850778B (en) 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104850778B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813407B (en) 2019-10-28 2022-02-18 厦门雅基软件有限公司 Game development method, game running device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289633A (en) * 2011-09-02 2011-12-21 广东欧珀移动通信有限公司 Method for managing dynamic permission of application program under Android platform
CN102968321A (en) * 2012-11-22 2013-03-13 用友软件股份有限公司 Application program installation device and application program installation method
CN104063654A (en) * 2014-05-30 2014-09-24 小米科技有限责任公司 Monitoring method and device for application program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4778970B2 (en) * 2005-10-13 2011-09-21 株式会社エヌ・ティ・ティ・ドコモ Mobile terminal, access control management apparatus, and access control management method
CN103593605B (en) * 2013-10-24 2016-11-09 复旦大学 A kind of Android platform application program dynamic analysis system based on authority usage behavior
CN104484599B (en) * 2014-12-16 2017-12-12 北京奇虎科技有限公司 A kind of behavior treating method and apparatus based on application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289633A (en) * 2011-09-02 2011-12-21 广东欧珀移动通信有限公司 Method for managing dynamic permission of application program under Android platform
CN102968321A (en) * 2012-11-22 2013-03-13 用友软件股份有限公司 Application program installation device and application program installation method
CN104063654A (en) * 2014-05-30 2014-09-24 小米科技有限责任公司 Monitoring method and device for application program

Also Published As

Publication number Publication date
CN104850778A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
US11637824B2 (en) Multi-factor authentication devices
CN105024986B (en) The methods, devices and systems that account number logs in
US20150180870A1 (en) Authorization Authentication Method And Apparatus
US11445066B2 (en) Call data management platform
CN105468462B (en) Method and system for interprocess communication identity verification and communication between application software
CN106454800B (en) Auth method, apparatus and system
WO2016010921A1 (en) Creating a user group
CN107104923B (en) Account binding and service processing method and device
CN107533596B (en) Fingerprint identification method and mobile terminal
CN105306202B (en) Auth method, device and server
TW202130160A (en) Session establishing method and cross-border payment method, apparatus, and system
CN106782498B (en) Voice information playing method and device and terminal
US10958726B2 (en) Method of synchronizing device list in a smart network system, apparatus, and computer storage medium thereof
CN114157584A (en) Cloud mobile phone monitoring method and device, electronic equipment and storage medium
WO2016124008A1 (en) Voice control method, apparatus and system
CN104850778B (en) A kind of information processing method and electronic equipment
CN107943622B (en) Standby operation and maintenance method, device and system
CN105491153A (en) Sharing method and device and mobile terminal
US20170279777A1 (en) File signature system and method
CN109818915B (en) Information processing method and device, server and readable storage medium
CN114173319B (en) Method and device for realizing conversation across platforms, cloud platform server and storage medium
CN115766173A (en) Data processing method, system and device
CN112416624B (en) Application data interaction method and system based on open platform
CN105025482B (en) Communication information processing method and equipment thereof
CN106161365B (en) Data processing method and device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant