CN104850462A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104850462A
CN104850462A CN201510221797.2A CN201510221797A CN104850462A CN 104850462 A CN104850462 A CN 104850462A CN 201510221797 A CN201510221797 A CN 201510221797A CN 104850462 A CN104850462 A CN 104850462A
Authority
CN
China
Prior art keywords
identifying information
judged result
system service
electronic equipment
default
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510221797.2A
Other languages
Chinese (zh)
Other versions
CN104850462B (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 CN201510221797.2A priority Critical patent/CN104850462B/en
Publication of CN104850462A publication Critical patent/CN104850462A/en
Application granted granted Critical
Publication of CN104850462B publication Critical patent/CN104850462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides an information processing method and an electronic device. The method is applied to an electronic device. An application program is installed in the electronic device. The method comprises: acquiring a function module requested to call by an application process and identification information of the function module when detecting a call request sent by the corresponding application progress of the application program; judging whether the identification information matches with preset identification information to obtain a first judgment result; and sending the call request to a predetermined progress when the first judgment result is positive, and enabling the application progress to communicate with the predetermined progress.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Along with the development of electronic technology, increasing electronic equipment appear at people work and life in, such as: smart mobile phone, notebook computer, panel computer etc.In these electronic equipments, various application program is installed, utilizes application program can realize various function.To realize a function, first, application process corresponding to application program sends call request to system process, certain function that certain system service of request call provides, then call request is transmitted to corresponding system service by system process, and system service calls corresponding function according to call request.
In order to increase new function, can system process be revised, in system process, injecting the injection process that can realize New function.In prior art, injection process communicates with application process, must carry out under the prerequisite configuring strategy.
Therefore, the technical matters that prior art exists is: injection process communicates with application process and is limited by the strategy of configuration.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, the injection process existed for solving prior art to communicate with application process the technical matters of the strategy being limited by configuration, provide a kind of method that realization injection process newly communicates with application process, without the need to collocation strategy, when the identifying information of the functional module of application process request call mates with the identifying information of the process of injection, the call request that application process sends is sent to injection process, and then achieve injection process and communicate with application process, improve the dirigibility that injection process communicates with application process.
On the one hand, the embodiment of the present invention provides a kind of information processing method, and be applied in an electronic equipment, be provided with application program in described electronic equipment, described method comprises:
When the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module;
Judge whether described identifying information matches with default identifying information, obtains the first judged result;
When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.
Optionally, judge whether described identifying information matches with default identifying information, and after obtaining the first judged result, described method also comprises described:
When described first judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
Optionally, describedly judge whether described identifying information matches with default identifying information, obtains the first judged result, is specially:
The identifying information of described preset course is set to described default identifying information, and described default identifying information is different from the identifying information of all functions module of described electronic equipment;
Judge that whether described identifying information is identical with described default identifying information, obtains described first judged result.
Optionally, the described identifying information by described preset course is set to described default identifying information, is specially:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
Optionally, describedly judge whether described identifying information matches with default identifying information, obtains the first judged result, is specially:
Judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtain the second judged result;
When described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
Optionally, judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises described, after obtaining the second judged result, described method also comprises:
When described second judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
On the other hand, the embodiment of the present invention provides a kind of electronic equipment, is provided with application program in described electronic equipment, and described electronic equipment comprises:
First obtains unit, for when the call request that application process corresponding to application program sends being detected, obtains the functional module of described application process request call and the identifying information of described functional module;
First judging unit, for judging whether described identifying information matches with default identifying information, obtains the first judged result;
First processing unit, for when described first judged result is for being, sends described call request to preset course, described application process is communicated with described preset course.
Optionally, described electronic equipment also comprises:
Second processing unit, for when described first judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
Optionally, described first judging unit comprises:
Arrange module, for the identifying information of described preset course is set to described default identifying information, described default identifying information is different from the identifying information of all functions module of described electronic equipment;
First judge module, for judging that whether described identifying information is identical with described default identifying information, obtains described first judged result.
Optionally, described arrange module for:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
Optionally, described first judging unit comprises:
Second judge module, for judging that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtains the second judged result;
First processing module, for when described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
Optionally, described electronic equipment also comprises:
3rd processing unit, for when described second judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
The specific implementation process that the method that process communicates with application process is injected in the realization that the embodiment of the present invention provides is: first, when the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module; Then, judge whether described identifying information matches with default identifying information, obtains the first judged result; When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.Without the need to collocation strategy, when the identifying information of the functional module of application process request call mates with the identifying information of the process of injection, the call request that application process sends is sent to injection process, and then achieve injection process and communicate with application process, improve the dirigibility that injection process communicates with application process.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of information processing method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the detail flowchart of step 12 in the embodiment of the present invention;
Fig. 3 is the detail flowchart of step 12 in another embodiment of the present invention;
The schematic diagram of the kind electronic equipment that Fig. 4 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, the injection process existed for solving prior art to communicate with application process the technical matters of the strategy being limited by configuration, provide a kind of method that realization injection process newly communicates with application process, without the need to collocation strategy, when the identifying information of the functional module of application process request call mates with the identifying information of the process of injection, the call request that application process sends is sent to injection process, and then achieve injection process and communicate with application process, improve the dirigibility that injection process communicates with application process.
The specific implementation process that the method that process communicates with application process is injected in the realization that the embodiment of the present invention provides is: first, when the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module; Then, judge whether described identifying information matches with default identifying information, obtains the first judged result; When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.Without the need to collocation strategy, when the identifying information of the functional module of application process request call mates with the identifying information of the process of injection, the call request that application process sends is sent to injection process, and then achieve injection process and communicate with application process, improve the dirigibility that injection process communicates with application process.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with accompanying drawing, embodiments of the present invention are described in detail.
The embodiment of the present invention provides a kind of information processing method, is applied in an electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, notebook computer etc.Be provided with application program in described electronic equipment, application program can be that electronic equipment is built-in when dispatching from the factory, and can also be that user downloads and installs from application market.Electronic equipment also provides system service, and each system service provides N kind functional module, and such as: system service can be: note, this system service of note provides 3 kinds of functional modules: send short messages, receive note, arrange messaging format.Application program calls certain functional module in certain service by system process.
Please refer to Fig. 1, the process flow diagram of the information processing method that Fig. 1 provides for the embodiment of the present invention.The method comprises:
Step 11: when the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module;
Step 12: judge whether described identifying information matches with default identifying information, obtains the first judged result;
Step 13: when described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.
First the implementation procedure of step 11 is described in detail.
When application requests in electronic equipment calls certain functional module of certain service, application process corresponding to application program can send request the identifying information of functional module and the functional module called to system process.Such as: application program is send short messages to the functional module that system process calls, the identifying information of sending short messages is 41.
Following execution step 12.In the embodiment of the present invention, as shown in Figure 2, step 12 comprises:
Step 1211: the identifying information of described preset course is set to described default identifying information, described default identifying information is different from the identifying information of all functions module of described electronic equipment;
Step 1212: judge that whether described identifying information is identical with described default identifying information, obtains described first judged result.
Effect due to system process manages all system services, do not possess other functions, such as: the function of interception sensitive function module.In order to increase the function of system process, the injection process that can realize other functions can be injected in system process.
In the embodiment of the present invention, in order to realize the communication between application process and injection process, the identifying information of the process of injection is set to default identifying information, default identifying information is different from the identifying information of all functions module of electronic equipment, whether the identifying information then judging the functional module that application process is called is default identifying information, obtains the first judged result.
According to the first judged result, perform step 13 or perform following steps:
When described first judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
Specifically, if the identifying information of the functional module that application process is called is default identifying information, then send call request to injecting process, realize the communication between application process and default process, otherwise, the communication between application process and system service is realized, the functional module in calling system service by system process.
For example, the identifying information supposing all functions module of electronic equipment is 41 to 49, then the identifying information of the process of injection can be set to 50, if the identifying information of the functional module that application process is called is 50, then application process is wanted and injection process communication, sending call request to injecting process, realizing the communication between application process and injection process; If the identifying information of the functional module that application process is called is 41, the identifying information of functional module of sending short messages in electronic equipment is 41, the note system services package of electronic equipment is containing functional module of sending short messages, then application process is wanted to communicate with system process, realize the communication between application process and system process by system process, call the functional module of sending short messages in note system service.
In an alternative embodiment of the invention, as shown in Figure 3, step 12 comprises:
Step 1221: increase described default identifying information in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service;
Step 1222: judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtain the second judged result;
Step 1223: when described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
In an alternative embodiment of the invention, in order to realize the communication between application process and injection process, the special functional module that the first system services package injection process being considered as electronic equipment contains, the identifying information of special functional module is increased in the first system service, the identifying information of special functional module is set to default identifying information, default identifying information is different from the identifying information of all functions module that this system service comprises, wherein, the first system service is the arbitrary system service in electronic equipment.Then judge to obtain the second judged result by the identifying information whether identifying information of the functional module that application process is called belongs to the first system services package and contain.
According to the second judged result, perform step 1223 or following steps:
When described second judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
Specifically, because the first system services package contains default identifying information corresponding to injection process, if the identifying information of the functional module that application process is called belongs to the identifying information that the first system services package contains, then the identifying information of the functional module of application process transfer is likely default identifying information, then perform step 1223, whether the further identifying information judging the functional module that application process is called is the default identifying information in the first system service, if, then send call request to injecting process, realize the communication between application process and default process, otherwise, the communication between application process and system service is realized by system process, functional module in calling system service.
If the identifying information of the functional module that application process is called does not belong to the identifying information that the first system services package contains, then the identifying information of the functional module of application process transfer can not be default identifying information, but other identifying informations in electronic equipment except the identifying information that the first system service comprises, then by system process realize application process and the other system except the first system is served serve between communication, call the functional module in other system service.
For example, the identifying information supposing all functions module that the short breath system service of electronic equipment comprises is 41 to 49, then injection process can be considered as a special functional module of short breath system service, an identifying information 40 is increased in short breath system service, identifying information by injection process is set to 40, now, the identifying information that note system services package contains is 40 to 49.
If the identifying information of the functional module that application process is called is 40, belong in the identifying information that short breath system service comprises, and judge that further 40 is default identifying informations 40 during note system is served, then application process is wanted and injection process communication, sending call request to injecting process, realizing the communication between application process and injection process.
If the identifying information of the functional module that application process is called is 41, belong in the identifying information that short breath system service comprises, and judge that further 41 is not default identifying information 40 during note system is served, but the identifying information 41 of functional module of sending short messages in short breath system service, the note system services package of electronic equipment is containing functional module of sending short messages, then application process is wanted to communicate with system process, realize the communication between application process and system process by system process, call the functional module of sending short messages in note system service.
If the identifying information of the functional module that application process is called is 51, do not belong in the identifying information that short breath system service comprises, and the identifying information of the increase contact person functional module that contact person's system service comprises is 51 in electronic equipment, then realize the communication between application process and contact person's system service by system process, call the increase contact person functional module in contact person's system service.
Compared to a upper embodiment, the method that process and system process are injected in realization that another embodiment of the present invention provides is: first judge the identifying information whether identifying information of the functional module that application process is called belongs to the first system services package and contain, if do not belonged to, directly can determine that application process is not think and injection process communication, directly call the other system service except the first system service by system process, if belonged to, then judge that whether the identifying information of the functional module that application process is called is the default identifying information that in the first system service, injection process is corresponding further.
Based on the inventive concept identical with the information processing method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of electronic equipment, please refer to Fig. 4, the schematic diagram of a kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention.Be provided with application program in described electronic equipment, described electronic equipment comprises:
First obtains unit 41, for when the call request that application process corresponding to application program sends being detected, obtains the functional module of described application process request call and the identifying information of described functional module;
First judging unit 42, for judging whether described identifying information matches with default identifying information, obtains the first judged result;
First processing unit 43, for when described first judged result is for being, sends described call request to preset course, described application process is communicated with described preset course.
Optionally, described electronic equipment also comprises:
Second processing unit, for when described first judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
Optionally, described first judging unit 42 comprises:
Arrange module, for the identifying information of described preset course is set to described default identifying information, described default identifying information is different from the identifying information of all functions module of described electronic equipment;
First judge module, for judging that whether described identifying information is identical with described default identifying information, obtains described first judged result.
Optionally, described arrange module for:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
Optionally, described first judging unit 42 comprises:
Second judge module, for judging that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtains the second judged result;
First processing module, for when described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
Optionally, described electronic equipment also comprises:
3rd processing unit, for when described second judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
The specific implementation process that the method that process communicates with application process is injected in the realization that the embodiment of the present invention provides is: first, when the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module; Then, judge whether described identifying information matches with default identifying information, obtains the first judged result; When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.Without the need to collocation strategy, when the identifying information of the functional module of application process request call mates with the identifying information of the process of injection, the call request that application process sends is sent to injection process, and then achieve injection process and communicate with application process, improve the dirigibility that injection process communicates with application process.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that a kind of information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
When the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module;
Judge whether described identifying information matches with default identifying information, obtains the first judged result;
When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions with step: judge whether described identifying information matches with default identifying information, obtain the first judged result, being performed after corresponding computer instruction is performed, comprising the steps: when being performed
When described first judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
Optionally, that store in described storage medium and step: judge whether described identifying information matches with default identifying information, obtains the first judged result, corresponding computer instruction is specifically being performed in process, is specially:
The identifying information of described preset course is set to described default identifying information, and described default identifying information is different from the identifying information of all functions module of described electronic equipment;
Judge that whether described identifying information is identical with described default identifying information, obtains described first judged result.
Optionally, that store in described storage medium and step: the identifying information of described preset course is set to described default identifying information, and corresponding computer instruction is specifically being performed in process, is specially:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
Optionally, that store in described storage medium and step: judge whether described identifying information matches with default identifying information, obtains the first judged result, corresponding computer instruction is specifically being performed in process, is specially:
Judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtain the second judged result;
When described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions with step: judge that whether described identifying information identical with the identifying information of all functions module that described the first system service comprises, obtain the second judged result, being performed before corresponding computer instruction is performed, comprising the steps: when being performed
When described second judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. an information processing method, is applied in electronic equipment, is provided with application program in described electronic equipment, and described method comprises:
When the call request that application process corresponding to application program sends being detected, obtain the functional module of described application process request call and the identifying information of described functional module;
Judge whether described identifying information matches with default identifying information, obtains the first judged result;
When described first judged result is for being, send described call request to preset course, described application process is communicated with described preset course.
2. the method for claim 1, is characterized in that, judges whether described identifying information matches with default identifying information, and after obtaining the first judged result, described method also comprises described:
When described first judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
3. the method for claim 1, is characterized in that, describedly judges whether described identifying information matches with default identifying information, obtains the first judged result, is specially:
The identifying information of described preset course is set to described default identifying information, and described default identifying information is different from the identifying information of all functions module of described electronic equipment;
Judge that whether described identifying information is identical with described default identifying information, obtains described first judged result.
4. method as claimed in claim 3, it is characterized in that, the described identifying information by described preset course is set to described default identifying information, is specially:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
5. method as claimed in claim 4, is characterized in that, describedly judges whether described identifying information matches with default identifying information, obtains the first judged result, is specially:
Judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtain the second judged result;
When described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
6. method as claimed in claim 5, it is characterized in that, judge that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises described, after obtaining the second judged result, described method also comprises:
When described second judged result is no, realize the communication between described application process and system service by system process, call the described functional module in described system service.
7. an electronic equipment, is provided with application program in described electronic equipment, and described electronic equipment comprises:
First obtains unit, for when the call request that application process corresponding to application program sends being detected, obtains the functional module of described application process request call and the identifying information of described functional module;
First judging unit, for judging whether described identifying information matches with default identifying information, obtains the first judged result;
First processing unit, for when described first judged result is for being, sends described call request to preset course, described application process is communicated with described preset course.
8. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment also comprises:
Second processing unit, for when described first judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
9. electronic equipment as claimed in claim 7, it is characterized in that, described first judging unit comprises:
Arrange module, for the identifying information of described preset course is set to described default identifying information, described default identifying information is different from the identifying information of all functions module of described electronic equipment;
First judge module, for judging that whether described identifying information is identical with described default identifying information, obtains described first judged result.
10. electronic equipment as claimed in claim 9, is characterized in that, described arrange module for:
Described default identifying information is increased in the first system service, described default identifying information is the identifying information of described preset course, and be different from the identifying information of all functions module that described the first system service comprises, wherein, the arbitrary system service in all system services of providing for described electronic equipment of described the first system service.
11. electronic equipments as claimed in claim 10, it is characterized in that, described first judging unit comprises:
Second judge module, for judging that whether described identifying information is identical with the identifying information of all functions module that described the first system service comprises, obtains the second judged result;
First processing module, for when described second judged result is for being, judge described identifying information whether serve with described the first system in default identifying information identical, obtain described first judged result.
12. electronic equipments as claimed in claim 11, it is characterized in that, described electronic equipment also comprises:
3rd processing unit, for when described second judged result is no, realizes the communication between described application process and system service by system process, calls the described functional module in described system service.
CN201510221797.2A 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment Active CN104850462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510221797.2A CN104850462B (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
CN201510221797.2A CN104850462B (en) 2015-05-04 2015-05-04 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104850462A true CN104850462A (en) 2015-08-19
CN104850462B CN104850462B (en) 2018-12-14

Family

ID=53850119

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN104850462B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889048A (en) * 2006-08-03 2007-01-03 华为技术有限公司 Package realizing method and system
CN102123196A (en) * 2010-12-29 2011-07-13 浙大网新科技股份有限公司 Method for realizing WinCE/Android mixed API (Application Programming Interface) on Android cell phone
US20110191792A1 (en) * 2008-07-04 2011-08-04 Masaru Kawakita Information processing system, program and data relay method
US20120304203A1 (en) * 2011-05-24 2012-11-29 Microsoft Corporation Memory model for a layout engine and scripting engine
CN103064748A (en) * 2013-01-05 2013-04-24 浪潮电子信息产业股份有限公司 Method for processing communication among multiple processes in Linux system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889048A (en) * 2006-08-03 2007-01-03 华为技术有限公司 Package realizing method and system
US20110191792A1 (en) * 2008-07-04 2011-08-04 Masaru Kawakita Information processing system, program and data relay method
CN102123196A (en) * 2010-12-29 2011-07-13 浙大网新科技股份有限公司 Method for realizing WinCE/Android mixed API (Application Programming Interface) on Android cell phone
US20120304203A1 (en) * 2011-05-24 2012-11-29 Microsoft Corporation Memory model for a layout engine and scripting engine
CN103064748A (en) * 2013-01-05 2013-04-24 浪潮电子信息产业股份有限公司 Method for processing communication among multiple processes in Linux system

Also Published As

Publication number Publication date
CN104850462B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US10853437B2 (en) Method and apparatus for invoking application programming interface
US10021213B2 (en) Systems and methods for adaptive cloning of mobile devices
CN104516783A (en) Authority control method and device
US20160328764A1 (en) Item transfer apparatus, system and method
EP3509270A1 (en) Data backup method and device, storage medium and electronic apparatus
US9986082B2 (en) Interface device and method between electronic device and external device using ear jack of the electronic device
CN110069919B (en) Information acquisition method and device
CN104616138A (en) Resource transferring method, system and device
US20150160827A1 (en) Method of interface control and electronic device thereof
US9729815B2 (en) Method and electronic device for controlling content integrity using numerical data
US20190205976A1 (en) Account number registration method, apparatus, and system
US9674686B2 (en) Apparatus and method for pairing mobile devices
KR102071530B1 (en) Apparatas and method for proposing a response manual of occurring denial in an electronic device
CN108234551B (en) Data processing method and device
CN103944805A (en) Information updating method and system based on Wechat platform
US10491730B2 (en) Method and apparatus for providing contact information
CN105335192B (en) A kind of information processing method and electronic equipment
WO2015184754A1 (en) Mobile terminal and method for exchanging calling cards between mobile terminals
CN108737655B (en) Picture processing method and related device
CN104753672A (en) Account authentication method, account authentication device and terminal
CN104780234A (en) Method, device and system for inquiring Internet protocol (IP) address location
CN106682494B (en) Information access method, device and equipment
CN105577621B (en) Business operation verification method, device and system
CN104391742B (en) Optimizing application method and apparatus
CN108763357B (en) File processing method and related device

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