CN104850462B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104850462B CN104850462B CN201510221797.2A CN201510221797A CN104850462B CN 104850462 B CN104850462 B CN 104850462B CN 201510221797 A CN201510221797 A CN 201510221797A CN 104850462 B CN104850462 B CN 104850462B
- Authority
- CN
- China
- Prior art keywords
- identification information
- electronic equipment
- judging result
- system service
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 15
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 186
- 230000008569 process Effects 0.000 claims abstract description 164
- 238000002347 injection Methods 0.000 claims description 47
- 239000007924 injection Substances 0.000 claims description 47
- 230000026676 system process Effects 0.000 claims description 38
- 238000004891 communication Methods 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 17
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000029058 respiratory gaseous exchange Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 16
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of information processing method and electronic equipment, the method is applied in an electronic equipment, application program is installed in the electronic equipment, the described method includes: obtaining the functional module of the application process request call and the identification information of the functional module when detecting the call request that the corresponding application process of application program issues;Judge whether the identification information matches with default identification information, obtains the first judging result;When first judging result, which is, is, the call request is sent to preset course, communicates the application process with the preset course.
Description
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, laptop, tablet computer etc..Various application programs are installed in these electronic equipments, it can using application program
To realize various functions.For realizing a function, adjusted firstly, the corresponding application process of application program is sent to system process
Some function of being provided with request, some system service of request call, then call request is transmitted to accordingly by system process
System service, system service call corresponding function according to call request.
In order to increase new function, system process can be modified, the note of new function may be implemented in injection in system process
Enter process.In the prior art, injection process is communicated with application process, it is necessary to be carried out under the premise of configuring good strategy.
Therefore, technical problem of the existing technology is: injection process communicates the strategy for being limited by configuration with application process.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving injection of the existing technology
Process communicates the technical problem for being limited by the strategy of configuration with application process, provides a kind of new realization injection process and application
The method of process communication is not necessarily to configuration strategy, in the identification information and injection process of the functional module of application process request call
Identification information matching when, by application process send call request be sent to injection process, and then realize injection process with
Application process communication, improves the flexibility that injection process is communicated with application process.
On the one hand, the embodiment of the present invention provides a kind of information processing method, is applied in an electronic equipment, the electronics is set
Application program is installed in standby, which comprises
When detecting the call request that the corresponding application process of application program issues, obtains the application process request and adjust
The identification information of functional module and the functional module;
Judge whether the identification information matches with default identification information, obtains the first judging result;
When first judging result, which is, is, send the call request to preset course, make the application process with
The preset course communication.
Optionally, judge whether the identification information matches with default identification information described, obtain the first judgement knot
After fruit, the method also includes:
When first judging result is no, realized between the application process and system service by system process
Communication, calls the functional module in the system service.
Optionally, described to judge whether the identification information matches with default identification information, the first judging result is obtained,
Specifically:
The default identification information is set by the identification information of the preset course, the default identification information is different from
The identification information of all functional modules of the electronic equipment;
Judge whether the identification information and the default identification information are identical, obtains first judging result.
Optionally, the identification information by the preset course is set as the default identification information, specifically:
Increase the default identification information in the first system service, the default identification information is the preset course
Identification information, and it is different from the identification information for all functional modules that the first system service is included, wherein described first
System service is any system service in all system services that the electronic equipment provides.
Optionally, described to judge whether the identification information matches with default identification information, the first judging result is obtained,
Specifically:
Judge the identification information for all functional modules whether identification information is included with the first system service
It is identical, obtain the second judging result;
When second judging result be when, judge the identification information whether with the first system service in it is pre-
If identification information is identical, first judging result is obtained.
Optionally, in the functional mould of institute for judging the identification information and whether being included with the first system service
The identification information of block is identical, after obtaining the second judging result, the method also includes:
When second judging result is no, the application process is realized by system process and removes the first system
The communication between other systems service except service, calls the functional module in the other systems service.
On the other hand, the embodiment of the present invention provides a kind of electronic equipment, is equipped with application program in the electronic equipment, institute
Stating electronic equipment includes:
First obtains unit, for obtaining when detecting the call request that the corresponding application process of application program issues
The functional module of the application process request call and the identification information of the functional module;
First judging unit obtains first and sentences for judging whether the identification information matches with default identification information
Disconnected result;
First processing units, for when first judging result, which is, is, sending the call request to preset course,
Communicate the application process with the preset course.
Optionally, the electronic equipment further include:
The second processing unit, for when first judging result be it is no when, by system process realize it is described apply into
The functional module in the system service is called in communication between journey and system service.
Optionally, first judging unit includes:
Setup module, it is described default for setting the default identification information for the identification information of the preset course
Identification information is different from the identification information of all functional modules of the electronic equipment;
First judgment module, for judging whether the identification information and the default identification information are identical, described in acquisition
First judging result.
Optionally, the setup module is used for:
Increase the default identification information in the first system service, the default identification information is the preset course
Identification information, and it is different from the identification information for all functional modules that the first system service is included, wherein described first
System service is any system service in all system services that the electronic equipment provides.
Optionally, first judging unit includes:
Second judgment module, for judge the identification information whether with the first system service included institute it is active
The identification information of energy module is identical, obtains the second judging result;
First processing module, for when second judging result be when, judge the identification information whether with it is described
Default identification information in the first system service is identical, obtains first judging result.
Optionally, the electronic equipment further include:
Third processing unit, for when second judging result be it is no when, by system process realize it is described apply into
Communication between journey and other systems service in addition to the first system service, call the other systems service in institute
State functional module.
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 for the method that realization injection process provided in an embodiment of the present invention is communicated with application process are as follows: first
First, when detecting the call request that the corresponding application process of application program issues, the application process request call is obtained
The identification information of functional module and the functional module;Then, judge the identification information whether with default identification information phase
Matching obtains the first judging result;When first judging result, which is, is, the call request is sent to preset course, is made
The application process is communicated with the preset course.Without configuration strategy, in the knowledge of the functional module of application process request call
When other information is matched with the identification information of injection process, the call request that application process is sent is sent to injection process, in turn
It realizes injection process to communicate with application process, improves the flexibility that injection process is communicated with application process.
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 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;
Fig. 4 is the schematic diagram of provided in an embodiment of the present invention kind of electronic equipment.
Specific embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving injection of the existing technology
Process communicates the technical problem for being limited by the strategy of configuration with application process, provides a kind of new realization injection process and application
The method of process communication is not necessarily to configuration strategy, in the identification information and injection process of the functional module of application process request call
Identification information matching when, by application process send call request be sent to injection process, and then realize injection process with
Application process communication, improves the flexibility that injection process is communicated with application process.
The specific implementation process for the method that realization injection process provided in an embodiment of the present invention is communicated with application process are as follows: first
First, when detecting the call request that the corresponding application process of application program issues, the application process request call is obtained
The identification information of functional module and the functional module;Then, judge the identification information whether with default identification information phase
Matching obtains the first judging result;When first judging result, which is, is, the call request is sent to preset course, is made
The application process is communicated with the preset course.Without configuration strategy, in the knowledge of the functional module of application process request call
When other information is matched with the identification information of injection process, the call request that application process is sent is sent to injection process, in turn
It realizes injection process to communicate with application process, improves the flexibility that injection process is communicated with application process.
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 embodiment of the present invention provides a kind of information processing method, is applied in an electronic equipment, which can be
Smart phone, tablet computer, laptop etc..Application program is installed, application program can be electricity in the electronic equipment
Sub- equipment is built-in when dispatching from the factory, and can also be that user downloads from application market and installs.Electronic equipment also provides system clothes
Business, each system service provide N kind functional module, such as: system service may is that short message, this system service of short message provides 3
Kind functional module: it sends short messages, receive short message, setting messaging format.Application program calls certain in some service by system process
A functional 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: when detecting the call request that the corresponding application process of application program issues, obtain it is described apply into
The identification information of the functional module of journey request call and the functional module;
Step 12: judging whether the identification information matches with default identification information, obtain the first judging result;
Step 13: when first judging result, which is, is, sending the call request to preset course, make the application
Process is communicated with the preset course.
The realization process of step 11 is described in detail first.
When some functional module that the application requests in electronic equipment call some to service, application program is corresponding to be answered
The functional module of request call and the identification information of functional module can be sent to system process with process.Such as: application program
The functional module called to system process is to send short messages, and the identification information sent short messages is 41.
Next step 12 is executed.In the embodiment of the present invention, as shown in Fig. 2, step 12 includes:
Step 1211: setting the default identification information, the default identification for the identification information of the preset course
Information is different from the identification information of all functional modules of the electronic equipment;
Step 1212: judging whether the identification information and the default identification information are identical, obtain first judgement
As a result.
Since the effect of system process is all system services of management, do not have other function, such as: intercept sensitive function
The function of energy module.In order to increase the function of system process, one can be injected in system process can be realized other function
Injection process.
In the embodiment of the present invention, in order to realize the communication between application process and injection process, the identification for process of injecting is believed
Breath is set as default identification information, presets the identification information that identification information is different from all functional modules of electronic equipment, then
Whether the identification information for judging the functional module that application process is called is default identification information, obtains the first judging result.
According to the first judging result, executes step 13 or executes following steps:
When first judging result is no, realized between the application process and system service by system process
Communication, calls the functional module in the system service.
Specifically, if the identification information for the functional module that application process is called is default identification information, tune is sent
With request to injection process, realize the communication between application process and default process, otherwise, by system process realize application into
Communication between journey and system service, calling system service in functional module.
For example, it is assumed that the identification information of all functional modules of electronic equipment is 41 to 49, then can will be injected into
The identification information of journey is set as 50, if the identification information for the functional module that application process is called is 50, illustrates application process
Want to realize the communication between application process and injection process with injection process communication, transmission call request to process of injecting;If
The identification information for the functional module that application process is called is 41, and the identification information for functional module of sending short messages in electronic equipment is 41,
The note system service of electronic equipment includes functional module of sending short messages, then illustrates that application process is wanted to communicate with system process, lead to
The communication between system process realization application process and system process is crossed, the functional module of sending short messages in note system service is called.
In an alternative embodiment of the invention, as shown in figure 3, step 12 includes:
Step 1221: increasing the default identification information in the first system service, the default identification information is described
The identification information of preset course, and it is different from the identification information for all functional modules that the first system service is included,
In, the first system service is any system service in all system services that the electronic equipment provides;
Step 1222: judging all functional modules whether identification information is included with the first system service
Identification information is identical, obtains the second judging result;
Step 1223: when second judging result be when, judge the identification information whether with the first system
Default identification information in service is identical, obtains first judging result.
In an alternative embodiment of the invention, in order to realize the communication between application process and injection process, by injection process view
The special functional module that the first system service for electronic equipment includes increases specific function mould in the first system service
The identification information of special functional module is set default identification information by the identification information of block, presets identification information and is different from being somebody's turn to do
The identification information for all functional modules that system service includes, wherein the first system service is any system in electronic equipment
Service.Then judge whether the identification information for the functional module that application process is called belongs to the identification letter that the first system service includes
Breath obtains the second judging result.
According to the second judging result, step 1223 or following steps are executed:
When second judging result is no, realized between the application process and system service by system process
Communication, calls the functional module in the system service.
Specifically, since the first system service includes to be injected into the corresponding default identification information of journey, if application process
The identification information of the functional module of calling belongs to the identification information that the first system service includes, then illustrates the function that application process is called
The identification information of energy module is likely to be default identification information, thens follow the steps 1223, further judges what application process was called
The identification information of functional module whether be the first system service in default identification information, if it is, send call request extremely
Injection process realizes the communication between application process and default process, otherwise, realizes application process and system by system process
Communication between service, calling system service in functional module.
If the identification information for the functional module that application process is called is not belonging to the identification information that the first system service includes,
The identification information of functional module for then illustrating that application process is called is unlikely to be default identification information, but except the in electronic equipment
Other identification informations except the identification information that one system service is included, then by system process realize application process with except the
The communication between other systems service except one system service, calls the functional module in other systems service.
For example, it is assumed that the identification information for all functional modules that the short breath system service of electronic equipment includes be 41 to
49, then the special functional module that can be considered as injection process in short breath system service increases in short breath system service
One identification information 40, i.e., set 40 for the identification information for process of injecting, at this point, the identification information that note system service includes
It is 40 to 49.
If the identification information for the functional module that application process is called is 40, belong to the identification letter that short breath system service includes
One in breath, and further judge that 40 be the default identification information 40 in note system service, then illustrate that application process is wanted
With injection process communication, call request is sent to process of injecting, realizes the communication between application process and injection process.
If the identification information for the functional module that application process is called is 41, belong to the identification letter that short breath system service includes
One in breath, and further judge 41 not instead of note system service in default identification information 40, short breath system service
In send short messages the identification information 41 of functional module, the note system service of electronic equipment includes functional module of sending short messages, then illustrates
Application process is wanted to communicate with system process, realizes the communication between application process and system process by system process, calls short
Believe the functional module of sending short messages in system service.
If the identification information for the functional module that application process is called is 51, it is not belonging to the identification that short breath system service includes
One in information, and the identification information for increase contact person's functional module that contact person's system service is included in electronic equipment is
51, then the communication between application process and contact person's system service is realized by system process, called in contact person's system service
Increase contact person's functional module.
Compared to a upper embodiment, another embodiment of the present invention provides realization injection process and system process method
Are as follows: first determine whether the identification information for the functional module that application process is called belongs to the identification letter that the first system service includes
Breath can directly determine application process if being not belonging to and be not intended to and inject process communication, directly pass through system process and call
Other systems service in addition to the first system service further judges the functional module that application process is called if belonged to
Identification information whether be the corresponding default identification information of injection process in the first system service.
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. 4, Fig. 4 is the schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.Pacify in the electronic equipment
Equipped with application program, the electronic equipment includes:
First obtains unit 41, for obtaining when detecting the call request that the corresponding application process of application program issues
Obtain the functional module of the application process request call and the identification information of the functional module;
First judging unit 42 obtains first for judging whether the identification information matches with default identification information
Judging result;
First processing units 43, for when first judging result be when, send the call request to make a reservation for into
Journey communicates the application process with the preset course.
Optionally, the electronic equipment further include:
The second processing unit, for when first judging result be it is no when, by system process realize it is described apply into
The functional module in the system service is called in communication between journey and system service.
Optionally, first judging unit 42 includes:
Setup module, it is described default for setting the default identification information for the identification information of the preset course
Identification information is different from the identification information of all functional modules of the electronic equipment;
First judgment module, for judging whether the identification information and the default identification information are identical, described in acquisition
First judging result.
Optionally, the setup module is used for:
Increase the default identification information in the first system service, the default identification information is the preset course
Identification information, and it is different from the identification information for all functional modules that the first system service is included, wherein described first
System service is any system service in all system services that the electronic equipment provides.
Optionally, first judging unit 42 includes:
Second judgment module, for judge the identification information whether with the first system service included institute it is active
The identification information of energy module is identical, obtains the second judging result;
First processing module, for when second judging result be when, judge the identification information whether with it is described
Default identification information in the first system service is identical, obtains first judging result.
Optionally, the electronic equipment further include:
Third processing unit, for when second judging result be it is no when, by system process realize it is described apply into
The functional module in the system service is called in communication between journey and system service.
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 for the method that realization injection process provided in an embodiment of the present invention is communicated with application process are as follows: first
First, when detecting the call request that the corresponding application process of application program issues, the application process request call is obtained
The identification information of functional module and the functional module;Then, judge the identification information whether with default identification information phase
Matching obtains the first judging result;When first judging result, which is, is, the call request is sent to preset course, is made
The application process is communicated with the preset course.Without configuration strategy, in the knowledge of the functional module of application process request call
When other information is matched with the identification information of injection process, the call request that application process is sent is sent to injection process, in turn
It realizes injection process to communicate with application process, improves the flexibility that injection process is communicated with application process.
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:
When detecting the call request that the corresponding application process of application program issues, obtains the application process request and adjust
The identification information of functional module and the functional module;
Judge whether the identification information matches with default identification information, obtains the first judging result;
When first judging result, which is, is, send the call request to preset course, make the application process with
The preset course communication.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: to judge whether the identification information matches with default identification information, obtain the first judging result, corresponding computer instruction
It is performed after being performed, includes the following steps: when executed
When first judging result is no, realized between the application process and system service by system process
Communication, calls the functional module in the system service.
Optionally, stored in the storage medium and step: judge the identification information whether with default identification information
Match, obtain the first judging result, corresponding computer instruction specifically be performed during, specifically:
The default identification information is set by the identification information of the preset course, the default identification information is different from
The identification information of all functional modules of the electronic equipment;
Judge whether the identification information and the default identification information are identical, obtains first judging result.
Optionally, store in the storage medium and step: set described for the identification information of the preset course
Default identification information, corresponding computer instruction during being specifically performed, specifically:
Increase the default identification information in the first system service, the default identification information is the preset course
Identification information, and it is different from the identification information for all functional modules that the first system service is included, wherein described first
System service is any system service in all system services that the electronic equipment provides.
Optionally, stored in the storage medium and step: judge the identification information whether with default identification information
Match, obtain the first judging result, corresponding computer instruction specifically be performed during, specifically:
Judge the identification information for all functional modules whether identification information is included with the first system service
It is identical, obtain the second judging result;
When second judging result be when, judge the identification information whether with the first system service in it is pre-
If identification information is identical, first judging result is obtained.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: judge whether the identification information is identical as the identification information of all functional modules that the first system service is included,
The second judging result is obtained, corresponding computer instruction, which is performed before, to be performed, and is included the following steps: when executed
When second judging result is no, realized between the application process and system service by system process
Communication, calls the functional module in the system service.
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 (12)
1. a kind of information processing method is applied in electronic equipment, application program, the method is equipped in the electronic equipment
Include:
When detecting the call request that the corresponding application process of application program issues, the application process request call is obtained
The identification information of functional module and the functional module;
Judge whether the identification information matches with default identification information, obtains the first judging result;
When first judging result, which is, is, send the call request to preset course, make the application process with it is described
Preset course communication;
Wherein, the preset course is that the injection process of new function may be implemented in system process, and the default identification information is
The identification information of the injection process.
2. the method as described in claim 1, which is characterized in that it is described judge the identification information whether with default identification believe
Manner of breathing matching, after obtaining the first judging result, the method also includes:
When first judging result is no, realized by system process logical between the application process and system service
Letter, calls the functional module in the system service.
3. the method as described in claim 1, which is characterized in that it is described judge the identification information whether with default identification information
Match, obtain the first judging result, specifically:
The default identification information is set by the identification information of the preset course, the default identification information is different from described
The identification information of all functional modules of electronic equipment;
Judge whether the identification information and the default identification information are identical, obtains first judging result.
4. method as claimed in claim 3, which is characterized in that the identification information by the preset course is set as described
Default identification information, specifically:
Increase the default identification information in the first system service, the default identification information is the identification of the preset course
Information, and it is different from the identification information for all functional modules that the first system service is included, wherein the first system
Service is any system service in all system services that the electronic equipment provides.
5. method as claimed in claim 4, which is characterized in that it is described judge the identification information whether with default identification information
Match, obtain the first judging result, specifically:
Judge whether the identification information is identical as the identification information of all functional modules that the first system service is included,
Obtain the second judging result;
When second judging result be when, judge the identification information whether with the first system service in default knowledge
Other information is identical, obtains first judging result.
6. method as claimed in claim 5, which is characterized in that it is described judge the identification information whether with first system
The identification information that system services included all functional modules is identical, after obtaining the second judging result, the method also includes:
When second judging result is no, the application process is realized by system process and removes the first system service
Except other systems service between communication, call the other systems service in the functional module.
7. a kind of electronic equipment, application program is installed in the electronic equipment, the electronic equipment includes:
First obtains unit, for when detecting the call request that the corresponding application process of application program issues, described in acquisition
The identification information of the functional module of application process request call and the functional module;
First judging unit obtains the first judgement knot for judging whether the identification information matches with default identification information
Fruit;
First processing units, for sending the call request to preset course, making institute when first judging result, which is, is
Application process is stated to communicate with the preset course;
Wherein, the preset course is that the injection process of new function may be implemented in system process, and the default identification information is
The identification information of the injection process.
8. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further include:
The second processing unit, for when first judging result be it is no when, by system process realize the application process with
The functional module in the system service is called in communication between system service.
9. electronic equipment as claimed in claim 7, which is characterized in that first judging unit includes:
Setup module, for setting the default identification information, the default identification for the identification information of the preset course
Information is different from the identification information of all functional modules of the electronic equipment;
First judgment module obtains described first for judging whether the identification information and the default identification information are identical
Judging result.
10. electronic equipment as claimed in claim 9, which is characterized in that the setup module is used for:
Increase the default identification information in the first system service, the default identification information is the identification of the preset course
Information, and it is different from the identification information for all functional modules that the first system service is included, wherein the first system
Service is any system service in all system services that the electronic equipment provides.
11. electronic equipment as claimed in claim 10, which is characterized in that first judging unit includes:
Second judgment module, the functional mould of institute for whether being included with the first system service for judging the identification information
The identification information of block is identical, obtains the second judging result;
First processing module, for when second judging result, which is, is, judging the identification information whether with described first
Default identification information in system service is identical, obtains first judging result.
12. electronic equipment as claimed in claim 11, which is characterized in that the electronic equipment further include:
Third processing unit, for when second judging result be it is no when, by system process realize the application process with
The communication between other systems service in addition to the first system service, calls the function in the other systems service
It can module.
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 CN104850462A (en) | 2015-08-19 |
CN104850462B true 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 (3)
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 |
CN103064748A (en) * | 2013-01-05 | 2013-04-24 | 浪潮电子信息产业股份有限公司 | Method for processing communication among multiple processes in Linux system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8464274B2 (en) * | 2008-07-04 | 2013-06-11 | Nec Corporation | Information processing system, program and data relay method |
US8881101B2 (en) * | 2011-05-24 | 2014-11-04 | Microsoft Corporation | Binding between a layout engine and a scripting engine |
-
2015
- 2015-05-04 CN CN201510221797.2A patent/CN104850462B/en active Active
Patent Citations (3)
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 |
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 |
---|---|
CN104850462A (en) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102389235B1 (en) | Resource placement methods, devices, terminals and storage media | |
CN104346560B (en) | A kind of safe verification method and device | |
CN105224421B (en) | Data backup method and device and electronic equipment | |
CN110650503B (en) | Network access method, device, system and computer readable storage medium | |
CN105320880B (en) | The control method and device of terminal | |
CN106790523A (en) | A kind of information push method and server | |
TWI526936B (en) | Change the way smart card application type, intelligent terminal, service level Taiwan and systems | |
CN108834040A (en) | A kind of attendance information based reminding method and its equipment | |
CN105790948B (en) | A kind of identity identifying method and device | |
CN102314568A (en) | Method and terminal for adjusting security levels | |
CN103974216B (en) | A kind of information processing method and electronic equipment | |
CN105511273B (en) | A kind of client operation management method and client | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN102868819A (en) | Method and device for processing communication service of public account | |
CN107508784B (en) | Application login method and terminal device | |
CN105225113A (en) | A kind of information processing method and electronic equipment | |
CN107193662A (en) | A kind of information synchronization method and mobile terminal based on dual system | |
CN107391128A (en) | The method and apparatus for monitoring virtual file object model vdom | |
CN110278273A (en) | Multimedia file method for uploading, device, terminal, server and storage medium | |
CN112711955B (en) | NFC information transmission method, NFC information transmission device and terminal | |
CN104850462B (en) | A kind of information processing method and electronic equipment | |
CN105451233B (en) | A kind of anti-method monitored, system and mobile terminal | |
CN106210245B (en) | A kind of setting method and its device of portable terminal do-not-disturb mode | |
CN111783643A (en) | Face recognition method and device, electronic equipment and storage medium | |
CN107273102A (en) | The generation method and device of mobile applications |
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 |