CN105426222B - Processing method, device and the terminal of a kind of pair of terminal applies - Google Patents

Processing method, device and the terminal of a kind of pair of terminal applies Download PDF

Info

Publication number
CN105426222B
CN105426222B CN201510967377.9A CN201510967377A CN105426222B CN 105426222 B CN105426222 B CN 105426222B CN 201510967377 A CN201510967377 A CN 201510967377A CN 105426222 B CN105426222 B CN 105426222B
Authority
CN
China
Prior art keywords
calling
module
objective function
list
conflict
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510967377.9A
Other languages
Chinese (zh)
Other versions
CN105426222A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201510967377.9A priority Critical patent/CN105426222B/en
Publication of CN105426222A publication Critical patent/CN105426222A/en
Application granted granted Critical
Publication of CN105426222B publication Critical patent/CN105426222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44552Conflict resolution, i.e. enabling coexistence of conflicting executables

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides the processing method of a kind of pair of terminal applies, device and terminals, wherein the described method includes: receiving call request of first application to the objective function module in the second application in terminal;If calling conflict will not be generated to the calling of the objective function module, the call request is responded, calls the objective function module in second application for first application;Wherein, it includes: to detect second application without calling the objective function module that calling conflict, which will not be generated, to the calling of the objective function module, and/or determine that the calling to the objective function module will not generate conflict according to preset conflict list.Using the present invention, it can quickly realize that function is shared, while improving the function utilization rate of functional module, the development cost of terminal applies can also be substantially reduced, development efficiency is improved, and can accurately avoid the calling conflict to functional module, improves the accuracy of calling.

Description

Processing method, device and the terminal of a kind of pair of terminal applies
Technical field
The present invention relates to the processing methods of computer application processing technology field more particularly to a kind of pair of terminal applies, dress It sets and terminal.
Background technique
In recent years, popularizing with various smart terminal products, occurs a large amount of mountable in intelligent terminal On can be realized the applications (Application, abbreviation APP) of various functions.For new APP product, can will develop simultaneously The certain functional modules in old APP promoted are transplanted in new APP, to save the development time, attract user.Existing shifting Plant mode is complex, how quickly to call corresponding function to have become a hot topic of research between different applications.
Summary of the invention
The embodiment of the present invention provides processing method, device and the terminal of a kind of pair of terminal applies, can quickly realize application The calling of function between program.
On the one hand, the embodiment of the invention provides the processing methods of a kind of pair of terminal applies, comprising:
Receive call request of first application to the objective function module in the second application in terminal;
If calling conflict will not be generated to the calling of the objective function module, the call request is responded, is described The objective function module in second application is called in first application;
Wherein, will not generate calling conflict to the calling of the objective function module includes: to detect second application The objective function module is not called, and/or, the tune to the objective function module is determined according to preset conflict list With conflict will not be generated.
Wherein optionally, the method also includes: preset conflict list, the conflict list includes: the first list, described The module mark of functional module that is that first place unirecord configures in second application and forbidding first application to call Know, and marks content with module id associated first;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, packet It includes:
It detects the objective function module to identify whether to be recorded in first list, and detects the calling and ask It asks to the requested function of objective function module whether in the first label content;
If testing result is to be not recorded in first list and do not mark in content described first, really The fixed call request will not generate calling conflict to the calling of the objective function module.
Wherein optionally, the method also includes: preset conflict list, the conflict list includes: the second list, described The module mark of functional module that is that second place unirecord configures in second application and allowing first application to call Know, and marks content with module id associated second;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, packet It includes:
It detects the objective function module to identify whether to be recorded in second list, and detects the calling and ask It asks to the requested function of objective function module whether in the second label content;
If testing result is to be recorded in first list and in the first label content, it is determined that the tune Calling conflict will not be generated to the calling of the objective function module with request.
Wherein optionally, the method also includes: preset conflict list, the conflict list include: the first list and Two lists;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, packet It includes:
Whether conflict is generated to the calling of the objective function module according to first list determination;
If not generating conflict to the calling of the objective function module according to first list determination, further basis Whether the second list determination generates conflict to the calling of the objective function module;
If it is not, then determining that the calling to the objective function module will not generate conflict;
Wherein, first list include include for the list of first application configuration, second list be described The list of second application configuration.
Wherein optionally, the call request includes: calling module mark, the objective function module in first application Mark, data source identification;
The objective function module called for first application in second application, comprising:
Target indicated by the objective function module id is called by calling interface preset in second application Data are extracted in data source indicated by functional module to the data source identification;
The data extracted are returned into the indicated calling module of the calling module mark by the calling interface.
On the other hand, the embodiment of the invention also provides the processing units of a kind of pair of terminal applies, comprising:
The calling of the objective function module in the second application is asked in receiving module, the first application for receiving in terminal It asks;
Processing module, whether the calling for detecting to the objective function module can generate calling conflict, if to described The calling of objective function module will not generate calling conflict, then respond the call request, for described in the first application calling Objective function module in second application;
Wherein, will not generate calling conflict to the calling of the objective function module includes: to detect second application The objective function module is not called, and/or, the tune to the objective function module is determined according to preset conflict list With conflict will not be generated.
Wherein optionally, described device further include: preset module is used for preset conflict list, and the conflict list includes: First list, function that is that the first place unirecord configures in second application and forbidding first application to call The module id of energy module, and content is marked with module id associated first;
The processing module identifies whether to be recorded in the first place specifically for the detection objective function module Dan Zhong, and the call request is detected to the requested function of objective function module whether in the first label content In;If testing result is to be not recorded in first list and not in the first label content, it is determined that described Call request will not generate calling conflict to the calling of the objective function module.
Wherein optionally, described device further include: preset module is used for preset conflict list, and the conflict list includes: Second list, function that is that the second place unirecord configures in second application and allowing first application to call The module id of energy module, and content is marked with module id associated second;
The processing module identifies whether to be recorded in the second place specifically for the detection objective function module Dan Zhong, and the call request is detected to the requested function of objective function module whether in the second label content In;If testing result is to be recorded in first list and in the first label content, it is determined that the call request Calling conflict will not be generated to the calling of the objective function module.
Wherein optionally, described device further include: preset module is used for preset conflict list, and the conflict list includes: For first application configuration the first list and be second application configuration the second list;
The processing module, specifically for according to first list determine to the calling of the objective function module whether Generate conflict;If not generating conflict, further root to the calling of the objective function module according to first list determination Whether conflict is generated to the calling of the objective function module according to second list determination;If it is not, then determining to the mesh The calling of mark functional module will not generate conflict.
Wherein optionally, the call request includes: calling module mark, the objective function module in first application Mark, data source identification;The processing module, described in being called by calling interface preset in second application Data are extracted in data source indicated by objective function module to the data source identification indicated by objective function module id; The data extracted are returned into the indicated calling module of the calling module mark by the calling interface.
Correspondingly, the embodiment of the invention also provides a kind of intelligent terminal, the intelligent terminal includes dress mentioned above It sets.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved, and can accurately avoid the calling punching to functional module It is prominent, improve the accuracy of calling.
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 only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the processing method of a kind of pair of terminal applies of the embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of white list of the embodiment of the present invention;
Fig. 3 is the flow diagram of another processing method to terminal applies of the embodiment of the present invention;
Fig. 4 is the structure composition schematic diagram of the processing unit of a kind of pair of terminal applies of the embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of another processing unit to terminal applies of the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of intelligent terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention passes through configuration between each application installed in an intelligent terminal and calls processing logic, Ke Yitong Cross by application come initiate the mode of call request call another apply in some functional module, that is to say, that the initiation The application of call request can not need to transplant the functional module and call directly the corresponding function of Implement of Function Module.
Referring to Figure 1, be the embodiment of the present invention a kind of pair of terminal applies processing method flow diagram, the present invention The method of embodiment can be executed by the processor of intelligent terminal, the intelligent terminal include smart phone, tablet computer, The terminals such as PC and intelligent wearable device, which comprises
S101: call request of first application to the objective function module in the second application in terminal is received.
The call request can be user and operate to first application, by institute when needing to obtain some function State what the first application generated.It is configured with objective function module in second application, configuration can not had in first application The objective function module, but an objective function interface can be configured, in order to which user is triggering corresponding function need When asking operation, a call request to the objective function module in the second application is generated by the objective function interface.
After the call request for receiving the first application, what processor detected the call request institute request call again second is answered Whether objective function module can currently generate calling conflict.If calling conflict will not be generated, following S102 is executed;If Calling conflict can be generated, then is not responding to the calling of the call request, directly abandons the call request or answered to described first With return prompt information to prompt to have no right invocation target functional module.
S102: if calling conflict will not be generated to the calling of the objective function module, the call request is responded, is The objective function module in second application is called in first application;Wherein, not to the calling of the objective function module Can generate calling conflict include: detect second application without calling the objective function module, and/or, according to preset Conflict list determine that the calling to the objective function module will not generate conflict.
Detection can refer to whether the calling of the objective function module can generate calling conflict: if detected described Objective function module is called by second application, then can directly confirm can generate calling conflict, if not described Second application is called, it is determined that will not generate calling conflict.
Further, it if detecting that described second applies in the calling objective function module, can detect again Second application judges the functional object that the regulative strategy is called, handles to the regulative strategy of the objective function module Device can respond the call request according to judging result to call in addition to the functional object that the regulative strategy is called Functional object, for example, the objective function module is one for the extraction module to picture in server database, if described Second application is calling the objective function module to extract preceding 100 picture in database, then processor can respond described Call request, the picture after calling the objective function module to call preceding 100 picture for first application.
Detection may also mean that whether the calling of the objective function module can generate calling conflict: be rushed according to preset Prominent list determines.White list and/or blacklist can be set, if the identification record of the objective function module is described white It on list and/or is not recorded on the blacklist, it may be considered that will not be generated to the calling of the objective function module Conflict is called, if in blacklist or not on white list, then it is assumed that conflict can be generated.For example, for first application White list is configured, first verifies the objective function after receiving the call request for the second application configuration blacklist Module identifies whether to be recorded in the white list, if so, further judging identifying whether for the objective function module It is recorded in blacklist, if it is not, then can finally determine that the calling to the objective function module will not generate conflict.
It can also be each other than recording corresponding functional module mark in the white list or blacklist Functional module mark is associated with corresponding label content, which set according to the regulative strategy of corresponding function module, The mark of the objective function module is in the white list and the object of call request institute request call is also described white Within label content corresponding to the mark of objective function module described in list, and/or, the mark of the objective function module In the blacklist but the object of the call request institute request call not objective function module in the blacklist It identifies within corresponding label content, then conflict will not be generated to the calling of the objective function module.
It include " customized " function mould specifically as shown in Fig. 2, being a kind of schematic diagram of white list of the embodiment of the present invention Block identification, label content are quantity 100;" entertainment " functional module mark, label content are quantity 10.The white list can be with For it is described first application setting, when generating call request, it can be determined that the functional module that the call request is called whether be " customized " or " entertainment " then further judges the number of the requested picture of the call request if it is " entertainment " Whether amount is within " 10 ", if so, it is considered that the functional module of request call described in the call request will not generate conflict.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved.
Fig. 3 is referred to again, is the flow diagram of another processing method to terminal applies of the embodiment of the present invention, this The method of inventive embodiments can be executed by the processor of intelligent terminal, and the intelligent terminal includes smart phone, plate The terminals such as computer, PC and intelligent wearable device, which comprises
S201: preset conflict list.
S202: call request of first application to the objective function module in the second application in terminal is received.
S203: whether conflict can be generated to the calling of the objective function module according to preset conflict list detection.
Specifically optionally, preset conflict list includes: the first list in the S201, the first place unirecord It is described second application in configure and forbid it is described first application call functional module module id, and with module mark Know associated first label content;Detection determines that the calling to the objective function module will not generate punching in the S203 It is prominent, comprising: to detect the objective function module and identify whether to be recorded in first list, and detect the calling and ask It asks to the requested function of objective function module whether in the first label content;If testing result is not record In first list and not in the first label content, it is determined that the call request is to the objective function The calling of module will not generate calling conflict.
Optionally, conflict list preset in the S201 includes: the second list, and the second place unirecord is in institute The module id of functional module that is configuring in the second application and allowing first application to call is stated, and is closed with module id Second label content of connection;Detection determines that the calling to the objective function module will not generate conflict in the S203, It include: that the detection objective function module identifies whether to be recorded in second list, and detects the call request To the requested function of objective function module whether in the second label content;If testing result is described to be recorded in In first list and in the first label content, it is determined that calling of the call request to the objective function module Calling conflict will not be generated.
Optionally, conflict list preset in the S201 includes: the first list and the second list, first list Particular content with the second list is accordingly referring to above-mentioned the first list and the second list.It detects and determines in the S203 Conflict will not be generated to the calling of the objective function module, comprising: determine to the objective function according to first list Whether the calling of module generates conflict;If not generating punching to the calling of the objective function module according to first list determination It is prominent, then whether conflict is further generated to the calling of the objective function module according to second list determination;If it is not, then really Conflict will not be generated to the calling of the objective function module by making;Wherein, first list is to match to first application List, second list set are the list to second application configuration.
S204: if calling conflict will not be generated to the calling of the objective function module, the call request is responded, is The objective function module in second application is called in first application.
If calling conflict will not be generated to the calling of the objective function module, the target in second application is triggered Functional module responds the data processing request for including in the call request, executes corresponding data processing operation, the data Processing operation includes the data processing operation to network side data library.As above-mentioned, in the function mould of request call " entertainment " When block, the picture that quantity is 10 is obtained from server by the functional module of " entertainment " and feeds back to the first application.
Still optionally further, the call request include: it is described first application in calling module mark, objective function mould Block identification, data source identification;The objective function module called for first application in second application, comprising: logical Crossing calling interface preset in second application calls objective function module indicated by the objective function module id to arrive Data are extracted in data source indicated by the data source identification;The data extracted are returned into institute by the calling interface State the indicated calling module of calling module mark.
In order to successfully call to the object module in the second application, used call parameters are in addition to including mentioned above Calling module mark (the calling module mark of call request is initiated in the first application) in first application, objective function module mark Know (functional module mark to be called in the second application), can specifically include parameter as shown in Table 1.
Table 1:
Parameter name Explanation Value It is necessary Remarks
os OS information -- Yes Operation system information
osVersion Os release -- Yes Operating system version
Version Application version -- Yes Application version information
ispType Operator 1- is mobile, 2- connection Yes
netType Network environment 1-phone, 2-wifi Yes
model Terminal models -- Yes
dataCode Data source id -- Yes Module
subDataCode Subdata source id Default value: dataCode Yes Submodule
page Number of pages Default value: 1 No
Wherein, the operating system OS information, os release, application version, operator, network environment, terminal models etc. Parameter can be detected to obtain by software environment to intelligent terminal and hardware, and the application version can be of the invention real Apply the version of the second application described in example.And the data source ID and subdata source ID then can be based on the calling of the first application The function of specifically providing of module or the objective function module of the second application determines, for example, if objective function module is to realize When picture searching, the module of abstraction function, in the module can configured with as image credit image data source ID and/or The ID in picture subdata source.
S205: if calling conflict can be generated to the calling of the objective function module, prompt information is issued to prompt nothing Power is called.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved.And it can be accurately by the method for setting conflict list It avoids calling and conflict, improve the accuracy of calling.
The processing unit of a kind of pair of terminal applies of the embodiment of the present invention is described in detail below.
Fig. 4 is referred to, is the structure composition schematic diagram of the processing unit of a kind of pair of terminal applies of the embodiment of the present invention, this The described device of inventive embodiments can be set in an intelligent terminal, and the intelligent terminal includes smart phone, tablet computer, a People's computer and intelligent wearable device etc., specifically, described device includes:
The calling of the objective function module in the second application is asked in receiving module 1, the first application for receiving in terminal It asks;
Processing module 2, whether the calling for detecting to the objective function module can generate calling conflict, if to described The calling of objective function module will not generate calling conflict, then respond the call request, for described in the first application calling Objective function module in second application;
Wherein, will not generate calling conflict to the calling of the objective function module includes: to detect second application The objective function module is not called, and/or, the tune to the objective function module is determined according to preset conflict list With conflict will not be generated.
The call request that the receiving module 1 receives can be user and operate to first application, need It is generated when obtaining some function by first application.It is described second application in be configured with objective function module, described first It can not have to configure the objective function module in, but an objective function interface can be configured, in order to which user exists When triggering the operation of corresponding functional requirement, one is generated to the objective function mould in the second application by the objective function interface The call request of block.
After the receiving module 1 receives the call request of the first application, the processing module 2 detects the call request Whether the objective function module of the second application of institute's request call can currently generate calling conflict.If calling conflict will not be generated, Then respond the call request;If calling conflict can be generated, the processing module 2 can be not responding to the tune of the call request With, directly abandon the call request or to it is described first application return prompt information to prompt to have no right invocation target function mould Block.
Specifically, the detection of processing module 2 can refer to whether the calling of the objective function module can generate conflict The description of correlation step in above method item embodiment.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved, and can accurately avoid the calling punching to functional module It is prominent, improve the accuracy of calling.
Fig. 5 is referred to again, is that the structure composition of another processing unit to terminal applies of the embodiment of the present invention is illustrated Figure, described device include receiving module 1 and processing module 2 in a upper embodiment, further, in embodiments of the present invention, Described device further include:
Preset module 3 is used for preset conflict list.
Specifically optionally, the preset conflict list of the preset module 3 may include: the first list, first list Have recorded it is described second application in configure and forbid it is described first application call functional module module id, and with The associated first label content of module id;
The processing module 2 identifies whether to be recorded in described first specifically for the detection objective function module In list, and the call request is detected to the requested function of objective function module whether in the first label content In;If testing result is to be not recorded in first list and not in the first label content, it is determined that described Call request will not generate calling conflict to the calling of the objective function module.
Specifically optionally, the preset conflict list of the preset module 3 includes: the second list, the second place unirecord The module id of functional module that is being configured in second application and allowing first application to call, and and module Identify associated second label content;
The processing module 2 identifies whether to be recorded in described second specifically for the detection objective function module In list, and the call request is detected to the requested function of objective function module whether in the second label content In;If testing result is to be recorded in first list and in the first label content, it is determined that the call request Calling conflict will not be generated to the calling of the objective function module.
Specifically optionally, the preset conflict list of the preset module 3 includes: for the first place of first application configuration Second list single and for second application configuration;
The processing module 2, specifically for being to the calling of the objective function module according to first list determination No generation conflict;If not generating conflict to the calling of the objective function module according to first list determination, further Whether conflict is generated to the calling of the objective function module according to second list determination;If it is not, then determining to described The calling of objective function module will not generate conflict.
The particular content of first list and the second list can refer to the first list and second place that above-mentioned correspondence refers to Particular content in list.And determined whether to generate the specific judgement for calling conflict also together according to the first list, the second list With reference to the above-mentioned judgment mode referred to.
Further specifically, in embodiments of the present invention, the call request includes: the calling mould in first application Block identification, objective function module id, data source identification;The processing module 2 is specifically used for by pre- in second application The calling interface set calls objective function module indicated by the objective function module id signified to the data source identification Data are extracted in the data source shown;The data extracted are returned into the calling module by the calling interface and identify meaning The calling module shown.
The specific implementation of the receiving module 1, processing module 2 in the embodiment of the present invention and preset module 3 can refer to The specific implementation of correlation step, does not repeat again in method item embodiment.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved, and can accurately avoid the calling punching to functional module It is prominent, improve the accuracy of calling.
Fig. 6 is referred to again, is a kind of structural schematic diagram of intelligent terminal of the embodiment of the present invention, the institute of the embodiment of the present invention Stating intelligent terminal can be smart phone, tablet computer, PC and intelligent wearable device etc., the intelligent terminal packet The structures such as power supply, communication interface, shell are included, as shown in fig. 6, the intelligent terminal can also include: user interface 200, it is such as aobvious Display screen, keyboard etc., processor 100 and memory 300, the user interface 200, processor 100 and memory 300 it Between by bus 400 be connected, to transmit corresponding instruction and data.
There is application program in storage in the memory 300, the processor 100 calls to be stored in the memory 300 Application program, execute to the processing operations of terminal applies.
Specifically, the processor 100, for receiving the first application in terminal to the objective function mould in the second application The call request of block;If calling conflict will not be generated to the calling of the objective function module, the call request is responded, is The objective function module in second application is called in first application;Wherein, not to the calling of the objective function module Can generate calling conflict include: detect second application without calling the objective function module, and/or, according to preset Conflict list determine that the calling to the objective function module will not generate conflict.The call request can be the use What family interface 200 generated after receiving user to the operation of first application.
Still optionally further, the processor 100 is also used to preset conflict list, and the conflict list includes: first place It is single, functional module that is that the first place unirecord configures in second application and forbidding first application to call Module id, and with module id it is associated first label content;
Correspondingly, the processor 100 identifies whether to be recorded in institute specifically for the detection objective function module It states in the first list, and whether detects the call request to the requested function of objective function module in first mark Remember in content;If testing result is to be not recorded in first list and do not mark in content described first, really The fixed call request will not generate calling conflict to the calling of the objective function module.
Still optionally further, the processor 100 is also used to preset conflict list, and the conflict list includes: second place It is single, functional module that is that the second place unirecord configures in second application and allowing first application to call Module id, and with module id it is associated second label content;
Correspondingly, the processor 100 identifies whether to be recorded in institute specifically for the detection objective function module It states in the second list, and whether detects the call request to the requested function of objective function module in second mark Remember in content;If testing result is to be recorded in first list and in the first label content, it is determined that the tune Calling conflict will not be generated to the calling of the objective function module with request.
Still optionally further, the processor 100 is also used to preset conflict list, and the conflict list includes: first place Single and the second list;
Correspondingly, the processor 100, specifically for being determined according to first list to the objective function module It calls and whether generates conflict;If not generating conflict to the calling of the objective function module according to first list determination, Whether conflict is further generated to the calling of the objective function module according to second list determination;If it is not, then determining Conflict will not be generated to the calling of the objective function module;Wherein, first list includes for first application configuration List, second list include for the list of second application configuration.
Still optionally further, the call request include: it is described first application in calling module mark, objective function mould Block identification, data source identification;The processor 100, specifically for being called by calling interface preset in second application It is extracted in data source indicated by objective function module to the data source identification indicated by the objective function module id Data;The data extracted are returned into the indicated calling module of the calling module mark by the calling interface.
The specific implementation of the processor 100 in the embodiment of the present invention can refer to related step in above method item embodiment Suddenly the description implemented, this will not be repeated here.
The embodiment of the present invention can realize the calling of the function between terminal applies by way of calling, do not need into The integral transplanting of row functional module is quickly realizing that function is shared, can also while improving the function utilization rate of functional module The development cost of terminal applies is substantially reduced, development efficiency is improved, and can accurately avoid the calling punching to functional module It is prominent, improve the accuracy of calling.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (11)

1. the processing method of a kind of pair of terminal applies, the calling for function between end application characterized by comprising
Receive call request of first application to the objective function module in the second application in terminal;
If calling conflict will not be generated to the calling of the objective function module, the call request is responded, is described first Using the objective function module called in second application;
Wherein, will not generate calling conflict to the calling of the objective function module includes: to detect that second application does not have The objective function module is called, or, detecting second application without calling the objective function module and according to preset Conflict list determine that the calling to the objective function module will not generate conflict.
2. the method as described in claim 1, which is characterized in that further include:
Preset conflict list, the conflict list includes: the first list, and the first place unirecord is in second application The module id of functional module that is configuring and forbidding first application to call, and marked with module id associated first Content;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, comprising:
It detects the objective function module to identify whether to be recorded in first list, and detects the call request pair Whether the requested function of objective function module is in the first label content;
If testing result is to be not recorded in first list and not in the first label content, it is determined that institute Calling conflict will not be generated to the calling of the objective function module by stating call request.
3. the method as described in claim 1, which is characterized in that further include:
Preset conflict list, the conflict list includes: the second list, and the second place unirecord is in second application The module id of functional module that is configuring and allowing first application to call, and marked with module id associated second Content;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, comprising:
It detects the objective function module to identify whether to be recorded in second list, and detects the call request pair Whether the requested function of objective function module is in the second label content;
If testing result is to be recorded in second list and in the second label content, it is determined that the calling is asked The calling to the objective function module is asked not generate calling conflict.
4. the method as described in claim 1, which is characterized in that further include:
Preset conflict list, the conflict list includes: the first list and the second list;
It is described to determine that the calling to the objective function module generate conflict according to preset conflict list, comprising:
Whether conflict is generated to the calling of the objective function module according to first list determination;
If conflict is not generated to the calling of the objective function module according to first list determination, further according to Whether the determination of the second list generates conflict to the calling of the objective function module;
If it is not, then determining that the calling to the objective function module will not generate conflict;
Wherein, first list include include for the list of first application configuration, second list be described second The list of application configuration.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the call request includes: first application In calling module mark, objective function module id, data source identification;
The objective function module called for first application in second application, comprising:
Objective function indicated by the objective function module id is called by calling interface preset in second application Data are extracted in data source indicated by module to the data source identification;
The data extracted are returned into the indicated calling module of the calling module mark by the calling interface.
6. the processing unit of a kind of pair of terminal applies, the calling for function between end application characterized by comprising
Receiving module, for receiving call request of first application to the objective function module in the second application in terminal;
Processing module, whether the calling for detecting to the objective function module can generate calling conflict, if to the target The calling of functional module will not generate calling conflict, then respond the call request, call described second for first application Objective function module in;
Wherein, will not generate calling conflict to the calling of the objective function module includes: to detect that second application does not have The objective function module is called, or, detecting second application without calling the objective function module and according to preset Conflict list determine that the calling to the objective function module will not generate conflict.
7. device as claimed in claim 6, which is characterized in that further include:
Preset module is used for preset conflict list, and the conflict list includes: the first list, and the first place unirecord exists The module id of functional module that is being configured in second application and forbidding first application to call, and and module id Associated first label content;
The processing module identifies whether to be recorded in first list specifically for the detection objective function module In, and the call request is detected to the requested function of objective function module whether in the first label content; If testing result is to be not recorded in first list and not in the first label content, it is determined that the tune Calling conflict will not be generated to the calling of the objective function module with request.
8. device as claimed in claim 6, which is characterized in that further include:
Preset module is used for preset conflict list, and the conflict list includes: the second list, and the second place unirecord exists The module id of functional module that is being configured in second application and allowing first application to call, and and module id Associated second label content;
The processing module identifies whether to be recorded in second list specifically for the detection objective function module In, and the call request is detected to the requested function of objective function module whether in the second label content; If testing result is to be recorded in second list and in the second label content, it is determined that the call request pair The calling of the objective function module will not generate calling conflict.
9. device as claimed in claim 6, which is characterized in that further include:
Preset module, be used for preset conflict list, it is described conflict list include: for first application configuration the first list and For the second list of second application configuration;
The processing module, specifically for whether being generated according to first list determination to the calling of the objective function module Conflict;If conflict is not generated to the calling of the objective function module according to first list determination, further according to institute State whether the determination of the second list generates conflict to the calling of the objective function module;If it is not, then determining to the target function The calling of energy module will not generate conflict.
10. such as the described in any item devices of claim 6 to 9, which is characterized in that the call request includes: described first to answer Calling module mark in, objective function module id, data source identification;
The processing module, specifically for calling the objective function module by calling interface preset in second application Data are extracted in data source indicated by the indicated objective function module to the data source identification of mark;Pass through the calling The data extracted are returned to the indicated calling module of the calling module mark by interface.
11. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes such as the described in any item dresses of claim 6 to 10 It sets.
CN201510967377.9A 2015-12-18 2015-12-18 Processing method, device and the terminal of a kind of pair of terminal applies Active CN105426222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510967377.9A CN105426222B (en) 2015-12-18 2015-12-18 Processing method, device and the terminal of a kind of pair of terminal applies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510967377.9A CN105426222B (en) 2015-12-18 2015-12-18 Processing method, device and the terminal of a kind of pair of terminal applies

Publications (2)

Publication Number Publication Date
CN105426222A CN105426222A (en) 2016-03-23
CN105426222B true CN105426222B (en) 2019-05-03

Family

ID=55504450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510967377.9A Active CN105426222B (en) 2015-12-18 2015-12-18 Processing method, device and the terminal of a kind of pair of terminal applies

Country Status (1)

Country Link
CN (1) CN105426222B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881521B (en) * 2018-09-04 2024-04-02 深圳怡化电脑股份有限公司 Network ID configuration method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647429A (en) * 2012-04-28 2012-08-22 杭州格畅科技有限公司 Application communication access control method, application process manager and online application platform
CN102880514A (en) * 2012-10-26 2013-01-16 北京小米科技有限责任公司 Method and device for calling application program
CN103312801A (en) * 2013-06-05 2013-09-18 上海西本网络科技有限公司 Application devices, interaction method and system for data between application devices and server
CN102340734B (en) * 2010-07-16 2015-10-21 中国电信股份有限公司 Position application management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4208085B2 (en) * 2005-08-30 2009-01-14 インターナショナル・ビジネス・マシーンズ・コーポレーション Application program control method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340734B (en) * 2010-07-16 2015-10-21 中国电信股份有限公司 Position application management method and device
CN102647429A (en) * 2012-04-28 2012-08-22 杭州格畅科技有限公司 Application communication access control method, application process manager and online application platform
CN102880514A (en) * 2012-10-26 2013-01-16 北京小米科技有限责任公司 Method and device for calling application program
CN103312801A (en) * 2013-06-05 2013-09-18 上海西本网络科技有限公司 Application devices, interaction method and system for data between application devices and server

Also Published As

Publication number Publication date
CN105426222A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105095062B (en) Applied program testing method and system
CN105122760B (en) Page operation processing method, device and terminal
CN109450747B (en) Method and device for awakening smart home equipment and computer storage medium
CN104394259B (en) The method, device and mobile terminal of caller identification
KR20140119240A (en) Apparatus and method for processing an open api
CN110286768A (en) Dummy object display methods, terminal device and computer readable storage medium
CN107656966A (en) The method and server of a kind of processing data
CN112612214A (en) Method and system for generating functional interface and electronic equipment
CN105573757B (en) The language update method and device of android system
CN110688319B (en) Application keep-alive capability test method and related device
CN113840040A (en) Man-machine cooperation outbound method, device, equipment and storage medium
CN109002434A (en) Customer service question and answer matching process, server and storage medium
CN105426222B (en) Processing method, device and the terminal of a kind of pair of terminal applies
CN110362341A (en) Business management method, device, equipment and storage medium based on micro services framework
CN106502648A (en) Application shows the method and terminal of language-specific
CN107526580A (en) Terminal applies recognition methods and device
CN109561134A (en) Electronic device, distributed type assemblies service distribution method and storage medium
CN113852527A (en) Control method and control device for intelligent equipment and electronic equipment
CN111209368A (en) Information prompting method and device, computer readable storage medium and electronic device
CN110933070A (en) User identification method, system, equipment and computer readable storage medium
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN109255016A (en) Answer method, device and computer readable storage medium based on deep learning
CN106991017B (en) Event processing method and device
CN106569915B (en) A kind of data back up method and data backup server
CN109508370B (en) Comment extraction method, comment extraction device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210112

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511442 24 floors, B-1 Building, Wanda Commercial Square North District, Wanbo Business District, 79 Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160323

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000053

Denomination of invention: A processing method, device and terminal for terminal application

Granted publication date: 20190503

License type: Common License

Record date: 20210208

EE01 Entry into force of recordation of patent licensing contract