CN104951324A - Method and device for acquiring application calling relation table - Google Patents

Method and device for acquiring application calling relation table Download PDF

Info

Publication number
CN104951324A
CN104951324A CN201410122879.7A CN201410122879A CN104951324A CN 104951324 A CN104951324 A CN 104951324A CN 201410122879 A CN201410122879 A CN 201410122879A CN 104951324 A CN104951324 A CN 104951324A
Authority
CN
China
Prior art keywords
application
mobile terminal
identities
call relation
terminal comprises
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.)
Pending
Application number
CN201410122879.7A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410122879.7A priority Critical patent/CN104951324A/en
Publication of CN104951324A publication Critical patent/CN104951324A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and device for acquiring an application calling relation table, and belongs to the technical field of computers. The method includes the steps that the application identification of each application included in a mobile terminal is acquired, a source code of each application included in the mobile terminal is acquired, the applications which are in calling relation are determined from the applications included in the mobile terminal according to the application identification and the source code of each application included in the mobile terminal, and the application calling relation table is established according to the determined applications which are in calling relation. The device comprises a first acquiring module, a second acquiring module, a determining module and an establishing module. By the adoption of the method and device, the time for acquiring the application calling relation table can be saved, and the accuracy of acquiring the application calling relation table is improved.

Description

A kind of method and device obtaining application call relation table
Technical field
The present invention relates to field of computer technology, particularly a kind of method and device obtaining application call relation table.
Background technology
The operating system of mobile terminal comprises multiple application.Before a new mobile terminal of issue, in order to optimize the performance of the operating system of this mobile terminal, the lower or unwanted application of the version needing the operating system of deleting this mobile terminal to comprise.But be applied in the process of operation and may need to call other and should be used for realizing its function, if certain is applied in operational process the application needing to call deletion, due to the application of deleting not on mobile terminals, cause this application run-time error.Therefore, before deletion application, first need to obtain application call relation table, application call relation table comprise called side application identities and by the corresponding relation of the application identities of tune side.Then to need the application identities of the application of deleting for by the application identities of tunes side, inquire from this application call relation table and need the application of deleting whether by other application call, and then determine whether the application can deleting needs deletion.
At present, the call relation between application can be obtained by the following method, be specially: each application that operating system is comprised, technician manually runs this application, according to the operation result of this application, judges each function that this application comprises, according to each function that this application comprises, judge other application that this application may call by rule of thumb, namely there is call relation between this application and the application judged, according to this application and the application build application call relation table judged.Such as, for " p.m.entry " application on mobile terminal, application that technician manually runs " p.m.entry ", the operation result obtained is the p.m.entry comprising memorandum content, reminder time and prompting music.Technician, according to running the memorandum content obtained, can judge that " p.m.entry " application has the function of input characters; According to running the reminder time obtained, can judge that " p.m.entry " application has the function of timing; According to running the prompting music obtained, can judge that " p.m.entry " application has the function playing music.Then technician judges that " p.m.entry " application call " input method " should be used for realizing the function of input characters by rule of thumb, have invoked the function that " clock " should be used for realizing timing, and have invoked " music player " and should be used for realizing playing the function of music, namely judge " p.m.entry " application respectively and " input method " apply, " clock " apply and " music player " apply between there is call relation.The application identities finally " p.m.entry " applied is as the application identities of called side, the application identities applied of the application identities applied of the application identities " input method " applied, " clock " and " music player " all as by the application identities of tune side, and is stored in application call relation table.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Technician manually runs each application and judges according to operation result other application that each application may call by rule of thumb, so not only time of at substantial and also accuracy low.
Summary of the invention
Improving to save the time obtaining application call relation table the accuracy obtaining application call relation table simultaneously, the invention provides a kind of method and the device that obtain application call relation table.Described technical scheme is as follows:
Obtain a method for application call relation table, described method comprises:
Obtain the application identities of each application that mobile terminal comprises;
Obtain the source code of each application that described mobile terminal comprises;
The application identities of each application comprised according to described mobile terminal and source code, determine the application that there is call relation each other from the application that described mobile terminal comprises;
According to the described application that there is call relation each other determined, build application call relation table.
Obtain a device for application call relation table, described device comprises:
First acquisition module, for obtaining the application identities of each application that mobile terminal comprises;
Second acquisition module, for obtaining the source code of each application that described mobile terminal comprises;
Determination module, for the application identities of each application that comprises according to described mobile terminal and source code, determines the application that there is call relation each other from the application that described mobile terminal comprises;
Build module, for the application that there is call relation each other determined described in basis, build application call relation table.
In embodiments of the present invention, the application identities of each application that mobile terminal comprises is obtained; Obtain the source code of each application that mobile terminal comprises; The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises; According to the application that there is call relation each other determined, build application call relation table.Owing to obtaining application identities and the source code of each application that mobile terminal comprises, the application that there is call relation is each other determined according to the application identities of each application and source code, and build application call relation table, automatic acquisition application call relation table like this, saves acquisition time and improves the accuracy obtaining application call relation table.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram obtaining application call relation table that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of method flow diagram obtaining application call relation table that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of apparatus structure schematic diagram obtaining application call relation table that the embodiment of the present invention 3 provides;
Fig. 4 is the result schematic diagram of a kind of terminal that the embodiment of the present invention 4 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, embodiments provide a kind of method obtaining application call relation table, comprising:
Step 101: the application identities obtaining each application that mobile terminal comprises;
Step 102: the source code obtaining each application that mobile terminal comprises;
Step 103: the application identities of each application comprised according to mobile terminal and source code, determines the application that there is call relation each other from the application that mobile terminal comprises;
Step 104: according to the application that there is call relation each other determined, builds application call relation table.
Preferably, obtain the application identities of each application that mobile terminal comprises, comprising:
Obtain the installation file of each application that mobile terminal comprises;
The application identities of each application is obtained respectively from the installation file of each application.
Preferably, obtain the source code of each application that mobile terminal comprises, comprising:
Respectively decompiling is carried out to the installation file of each application that mobile terminal comprises, obtain the source code of each application that mobile terminal comprises.
Preferably, the application identities of each application comprised according to mobile terminal and source code, from the application that mobile terminal comprises, determine the application that there is call relation each other, comprising:
The application identities of each application comprised from mobile terminal, obtain the application identities comprised in the source code of the first application, first is applied as arbitrary application that mobile terminal comprises;
Determine to there is call relation between the application that the application identities of the first application and acquisition is corresponding, first is applied as called side, corresponding being applied as by tune side of application identities of acquisition.
Preferably, according to the application that there is call relation each other determined, build application call relation table, comprising:
The corresponding relation of the application identities of the first application and the application identities of acquisition is stored in application call relation table.
In embodiments of the present invention, the application identities of each application that mobile terminal comprises is obtained; Obtain the source code of each application that mobile terminal comprises; The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises; According to the application that there is call relation each other determined, build application call relation table.Owing to obtaining application identities and the source code of each application that mobile terminal comprises, the application that there is call relation is each other determined according to the application identities of each application and source code, and build application call relation table, automatic acquisition application call relation table like this, saves acquisition time and improves the accuracy obtaining application call relation table.
Embodiment 2
See Fig. 2, embodiments provide a kind of method obtaining application call relation table, comprising:
Step 201: the application identities obtaining each application that mobile terminal comprises;
Wherein, the system application that the operating system that the application in mobile terminal at least comprises mobile terminal carries, can also comprise the application that user oneself installs.The corresponding application identities of each application, the application identities of application is stored in the installation file of application.The system application carried for operating system, user does not have the authority of installation file that system of checking apply or uninstalling system application, just can check that the installation file that system is applied or uninstalling system are applied after only obtaining administrator right.
Wherein, if the installation file that user needs system of checking to apply or uninstalling system application, then first need to carry out Root(Root to mobile terminal, brush machine) process obtain administrator right, after getting administrator right, user just has the authority of installation file that system of checking applies or uninstalling system application.
This step is specially, and establish a communications link between mobile terminal, by the communication connection of setting up, Root process is carried out to mobile terminal and obtain administrator right, then the installation file of each application that mobile terminal comprises is obtained respectively, utilize the installation file of untar to each application that mobile terminal comprises to unpack process respectively, the installation file after the unpacking of each application, obtain the application identities of each application respectively.
Wherein, by the communication connection between the foundation such as data line or bluetooth and mobile terminal.The operating system of mobile terminal can be Android system or ios system etc.Wherein, the installation file of the system application that Android operation system carries is APK(Application Package File, Android installation kit).Android SDK(Software Development Kit can be used for system APK, SDK (Software Development Kit)) the ADB(Android Debug Bridge that carries, Android driver) instrument obtains the installation file of each system application that mobile terminal comprises by code 1 as follows.Untar can be AAPT(Android Asset Packaging Tool, Android resource wrapping tool) etc., the installation file of each system application that can be comprised by code 2 pairs of mobile terminals as follows unpacks process.
Code 1:
adb pull/system/app apk/
adb pull/system/framework/framework/
Code 2:
AAPT.exe l-a calendar.apk
Such as, suppose that mobile terminal comprises application 1,2,3 and 4, the application identities of application 1,2,3 and 4 is respectively S1, S2, S3 and S4.By establishing a communications link between data line and mobile terminal, the application 1 that mobile terminal comprises is obtained respectively by the communication connection of setting up, 2, the installation file F1 of 3 and 4, F2, F3 and F4, utilize untar to application 1, 2, the installation file F1 of 3 and 4, F2, F3 and F4 carries out unpacking process respectively, the application identities S1 of application 1 is obtained installation file F1 after the unpacking of application 1, the application identities S2 of application 2 is obtained installation file F2 after the unpacking of application 2, the application identities S3 of application 3 is obtained installation file F3 after the unpacking of application 3, and installation file F4 after the unpacking of application 4, obtain the application identities S4 of application 4.
Step 202: the source code obtaining each application that mobile terminal comprises;
Particularly, respectively decompiling is carried out to the installation file of each application that mobile terminal comprises, obtain the source code of each application that mobile terminal comprises.
Wherein, decompiling instrument APKTool(Application Package File Tool can be utilized, installation file compilation tool) installation file of each application that comprised by code 3 pairs of mobile terminals as follows carries out the smail source code that decompiling obtains the installation file of each application.
Code 3:
java-jar apktool.jar d calendar.apk c:\
Such as, decompiling is carried out to the installation file F1 of the application 1 that mobile terminal comprises, be applied 1 source code d1; Decompiling is carried out to the installation file F2 of the application 2 that mobile terminal comprises, be applied 2 source code d2; Decompiling is carried out to the installation file F3 of the application 3 that mobile terminal comprises, be applied 3 source code d3; Decompiling is carried out to the installation file F4 of the application 4 that mobile terminal comprises, be applied 4 source code d4.
Wherein, after obtaining the application identities of each application and source code that mobile terminal comprises, the operation of 203 and 204 as follows, the application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises.
Step 203: the application identities of each application comprised from mobile terminal, obtains the application identities comprised in the source code of the first application, and first is applied as arbitrary application that mobile terminal comprises;
Particularly, for the application identities of each application that mobile terminal comprises, according to the application identities of this application, the source code of retrieval first application, first is applied as arbitrary application that mobile terminal comprises.If retrieve in the source code of the first application and comprise the character string identical with the application identities of this application, then judge the application identities comprising this application in the source code of the first application.
Wherein, for the application identities of other each application that mobile terminal comprises, the source code that the application identities with this application is applied according to aforesaid operations retrieval first, judges the application identities whether comprising other each application in the first source code applied.
Such as, suppose that first is applied as application 1.The application identities S1 of the application 1 comprised according to mobile terminal, the application identities S2 of application 2, the application identities S3 of application 3 and the application identities S4 of application 4, the source code d1 of retrieve application 1.And retrieve in the source code d1 of application 1 and comprise the character string identical with the application identities S2 of application 2, judge the application identities S2 comprising application 2 in the source code d1 of application 1.
Step 204: determine to there is call relation between the application that the application identities of the first application and acquisition is corresponding, first is applied as called side, what the application identities of acquisition was corresponding be applied as by tune side;
Wherein, technician is when writing the program code of an application, if this application needs to call other application, then technician writes the code of the application identities comprising other application to realize other application of this application call in the program code of this application.If therefore get in the source code of the first application the application identities comprising other application in embodiments of the present invention, then can determine to there is call relation between the application that the application identities of the first application and acquisition is corresponding.
Wherein, for other each application that mobile terminal comprises, with the operation of the first application according to above-mentioned steps 203 and 204, the application identities that the source code obtaining this application comprises, and determine the application identities of this application and acquisition corresponding application between there is call relation, so obtain all application that there is call relation each other that mobile terminal comprises.
Such as, determine to there is call relation between the application 2 that the application identities S2 of application 1 and acquisition is corresponding, application 1 is called side, and application 2 is by tune side.For the application 2 on mobile terminal, the application identities S1 of the application 1 comprised according to mobile terminal, the application identities S2 of application 2, the application identities S3 of application 3 and the application identities S4 of application 4, the source code d2 of retrieve application 2.And retrieve in the source code d2 of application 2 and comprise the character string identical with the application identities S3 of application 3 and the character string identical with the application identities S4 of application 4, judge in the source code d2 of application 2, to comprise the application identities S3 of the application 3 and application identities S4 of application 4.Determine to there is call relation between the application 4 that application 2 and application 3 corresponding to application identities S3 and application identities S4 are corresponding, application 2 be called side, application 3 and to apply 4 be by tune side.
For the application 3 on mobile terminal, the application identities S1 of the application 1 comprised according to mobile terminal, the application identities S2 of application 2, the application identities S3 of application 3 and the application identities S4 of application 4, the source code d3 of retrieve application 3.And retrieve in the source code d3 of application 3 and comprise the character string identical with the application identities S1 of application 1, judge the application identities S1 comprising application 1 in the source code d3 of application 3.Determine to there is call relation between application 3 and application 1 corresponding to application identities S1, application 3 be called side, and applying 1 is by tune side.
For the application 4 on mobile terminal, the application identities S1 of the application 1 comprised according to mobile terminal, the application identities S2 of application 2, the application identities S3 of application 3 and the application identities S4 of application 4, the source code d4 of retrieve application 4.And retrieve the identical character string of the application identities that do not comprise the arbitrary application comprised with mobile terminal in the source code d4 of application 4, judge the application identities not comprising the application that mobile terminal comprises in the source code d4 of application 4.Determine that other application are not called in application 4.
Wherein, obtain that mobile terminal comprises all there is the application of call relation each other after, 205 build application call relation tables as follows.
Step 205: the corresponding relation of the application identities of the first application and the application identities of acquisition is stored in application call relation table.
Particularly, first is applied as arbitrary application that mobile terminal comprises, the application identities that first applies is defined as the application identities of called side, the application identities comprised in the source code of the obtain first application is defined as by the application identities of the side of tune, the mark corresponding relation of the application identities of the first application identities and acquisition of applying being stored in called side with by the corresponding relation of the application identities of tune side, by the application identities of called side and be stored in application call relation table by the corresponding relation of the application identities of tune side.
Wherein, for other each application that mobile terminal comprises, with the first application according to above-mentioned identical operation, the application identities comprised in the source code of other each application of other each application and acquisition is stored in application call relation table.
Such as, the application identities S1 of application 1 is defined as the application identities of called side, the application identities S2 of the application 2 of acquisition is defined as by the application identities of the side of tune, the application identities application identities S1 of the application 1 and application identities S2 of acquisition being stored in called side with by the corresponding relation of the application identities of the side of tuneing, by the application identities S1 of called side and be stored in application call relation table as shown in table 1 by the corresponding relation of the application identities S2 of tune side.
Equally according to the method described above, the application identities S2 of application 2 is defined as the application identities of called side, the application identities S4 of the application identities S3 of the application 3 of acquisition and application 4 is defined as by the application identities of the side of tune, the application identities application identities S2 of the application 2 and application identities S3 of acquisition and S4 being stored in called side with by the corresponding relation of the application identities of the side of tuneing, by the application identities S2 of called side and be stored in application call relation table as shown in table 1 by the corresponding relation of the application identities S3 of tune side and S4.
The application identities S3 of application 3 is defined as the application identities of called side, the application identities S1 of the application 1 of acquisition is defined as by the application identities of the side of tune, the application identities application identities S3 of the application 3 and application identities S1 of acquisition being stored in called side with by the corresponding relation of the application identities of the side of tuneing, by the application identities S3 of called side and be stored in application call relation table as shown in table 1 by the corresponding relation of the application identities S1 of tune side.
Table 1
The application identities of called side By the application identities of tune side
S1 S2
S2 S3、S4
S3 S1
...... ......
Wherein, after structure application call relation table, query function can be provided to user.When user needs deletion one apply and input the application identities of this application, the application identities of the application that the needs receiving user's input are deleted, using needing the application identities of the application of deleting as by the application identities of tune side, according to the application identities being obtained corresponding called side by the application identities of tune side from the application call relation table built.If do not get the application identities of corresponding called side, then judge this application not by other application call, can delete; If get the application identities of corresponding called side, then judge that this application is by other application call, cannot delete.
Wherein, the executive agent of the embodiment of the present invention can be a terminal, as PC(Personal Computer, and personal computer) machine or ipad etc.
In embodiments of the present invention, the application identities of each application that mobile terminal comprises is obtained; Obtain the source code of each application that mobile terminal comprises; The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises; According to the application that there is call relation each other determined, build application call relation table.Owing to obtaining application identities and the source code of each application that mobile terminal comprises, the application that there is call relation is each other determined according to the application identities of each application and source code, and build application call relation table, automatic acquisition application call relation table like this, saves acquisition time and improves the accuracy obtaining application call relation table.
Embodiment 3
See Fig. 3, embodiments provide a kind of device obtaining application call relation table, comprising:
First acquisition module 301, for obtaining the application identities of each application that mobile terminal comprises;
Second acquisition module 302, for obtaining the source code of each application that mobile terminal comprises;
Determination module 303, for the application identities of each application that comprises according to mobile terminal and source code, determines the application that there is call relation each other from the application that mobile terminal comprises;
Build module 304, for according to the application that there is call relation each other determined, build application call relation table.
Wherein, the first acquisition module 301 comprises:
First acquiring unit, for obtaining the installation file of each application that mobile terminal comprises;
Second acquisition unit, for obtaining the application identities of each application respectively in the installation file from each application.
Wherein, the second acquisition module 302, for carrying out decompiling to the installation file of each application that mobile terminal comprises respectively, obtains the source code of each application that mobile terminal comprises.
Wherein, determination module 303 comprises:
3rd acquiring unit, in the application identities of each application that comprises from mobile terminal, obtains the application identities comprised in the source code of the first application, and first is applied as arbitrary application that mobile terminal comprises;
Determining unit, for determining to there is call relation between the application that the application identities of the first application and acquisition is corresponding, first is applied as called side, corresponding being applied as by tune side of application identities of acquisition.
Wherein, build module 304, for being stored in application call relation table by the corresponding relation of the application identities of the first application and the application identities of acquisition.
In embodiments of the present invention, the application identities of each application that mobile terminal comprises is obtained; Obtain the source code of each application that mobile terminal comprises; The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises; According to the application that there is call relation each other determined, build application call relation table.Owing to obtaining application identities and the source code of each application that mobile terminal comprises, the application that there is call relation is each other determined according to the application identities of each application and source code, and build application call relation table, automatic acquisition application call relation table like this, saves acquisition time and improves the accuracy obtaining application call relation table.
Embodiment 4
See Fig. 4, it illustrates the terminal structure schematic diagram with Touch sensitive surface involved by the embodiment of the present invention, this terminal may be used for the method implementing the acquisition application call relation table provided in above-described embodiment.Specifically:
Terminal 900 can comprise RF(Radio Frequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 4, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in the diagram, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 900 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 900 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 4 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 900, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 900 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal 900 is touch-screen displays, terminal 900 also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor state more than one or one routine package containing the instruction for carrying out following operation:
Obtain the application identities of each application that mobile terminal comprises;
Obtain the source code of each application that mobile terminal comprises;
The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises;
According to the application that there is call relation each other determined, build application call relation table.
Preferably, obtain the application identities of each application that mobile terminal comprises, comprising:
Obtain the installation file of each application that mobile terminal comprises;
The application identities of each application is obtained respectively from the installation file of each application.
Preferably, obtain the source code of each application that mobile terminal comprises, comprising:
Respectively decompiling is carried out to the installation file of each application that mobile terminal comprises, obtain the source code of each application that mobile terminal comprises.
Preferably, the application identities of each application comprised according to mobile terminal and source code, from the application that mobile terminal comprises, determine the application that there is call relation each other, comprising:
The application identities of each application comprised from mobile terminal, obtain the application identities comprised in the source code of the first application, first is applied as arbitrary application that mobile terminal comprises;
Determine to there is call relation between the application that the application identities of the first application and acquisition is corresponding, first is applied as called side, corresponding being applied as by tune side of application identities of acquisition.
Preferably, according to the application that there is call relation each other determined, build application call relation table, comprising:
The corresponding relation of the application identities of the first application and the application identities of acquisition is stored in application call relation table.
In embodiments of the present invention, the application identities of each application that mobile terminal comprises is obtained; Obtain the source code of each application that mobile terminal comprises; The application identities of each application comprised according to mobile terminal and source code, determine the application that there is call relation each other from the application that mobile terminal comprises; According to the application that there is call relation each other determined, build application call relation table.Owing to obtaining application identities and the source code of each application that mobile terminal comprises, the application that there is call relation is each other determined according to the application identities of each application and source code, and build application call relation table, automatic acquisition application call relation table like this, saves acquisition time and improves the accuracy obtaining application call relation table.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. obtain a method for application call relation table, it is characterized in that, comprising:
Obtain the application identities of each application that mobile terminal comprises;
Obtain the source code of each application that described mobile terminal comprises;
The application identities of each application comprised according to described mobile terminal and source code, determine the application that there is call relation each other from the application that described mobile terminal comprises;
According to the described application that there is call relation each other determined, build application call relation table.
2. the method for claim 1, is characterized in that, the application identities of each application that described acquisition mobile terminal comprises, comprising:
Obtain the installation file of each application that mobile terminal comprises;
The application identities of described each application is obtained respectively from the installation file of described each application.
3. the method for claim 1, is characterized in that, the source code of each application that the described mobile terminal of described acquisition comprises, comprising:
Respectively decompiling is carried out to the installation file of each application that described mobile terminal comprises, obtain the source code of each application that described mobile terminal comprises.
4. the method for claim 1, is characterized in that, the application identities of the described each application comprised according to described mobile terminal and source code, determines the application that there is call relation each other, comprising from the application that described mobile terminal comprises:
The application identities of each application comprised from described mobile terminal, obtain the application identities comprised in the source code of the first application, described first is applied as arbitrary application that described mobile terminal comprises;
Determine to there is call relation between the application that the application identities of described first application and described acquisition is corresponding, described first is applied as called side, corresponding being applied as by tune side of application identities of described acquisition.
5. method as claimed in claim 4, is characterized in that, the application that there is call relation each other determined described in described basis, builds application call relation table, comprising:
The corresponding relation of the described application identities of the first application and the application identities of described acquisition is stored in application call relation table.
6. obtain a device for application call relation table, it is characterized in that, described device comprises:
First acquisition module, for obtaining the application identities of each application that mobile terminal comprises;
Second acquisition module, for obtaining the source code of each application that described mobile terminal comprises;
Determination module, for the application identities of each application that comprises according to described mobile terminal and source code, determines the application that there is call relation each other from the application that described mobile terminal comprises;
Build module, for the application that there is call relation each other determined described in basis, build application call relation table.
7. device as claimed in claim 6, it is characterized in that, described first acquisition module comprises:
First acquiring unit, for obtaining the installation file of each application that mobile terminal comprises;
Second acquisition unit, for obtaining the application identities of described each application respectively in the installation file from described each application.
8. device as claimed in claim 6, is characterized in that, described second acquisition module, for carrying out decompiling to the installation file of each application that described mobile terminal comprises respectively, obtaining the source code of each application that described mobile terminal comprises.
9. device as claimed in claim 6, it is characterized in that, described determination module comprises:
3rd acquiring unit, in the application identities of each application that comprises from described mobile terminal, obtains the application identities comprised in the source code of the first application, and described first is applied as arbitrary application that described mobile terminal comprises;
Determining unit, for determining to there is call relation between the application that the application identities of described first application and described acquisition is corresponding, described first is applied as called side, corresponding being applied as by tune side of application identities of described acquisition.
10. device as claimed in claim 9, is characterized in that, described structure module, for being stored in application call relation table by the corresponding relation of the described application identities of the first application and the application identities of described acquisition.
CN201410122879.7A 2014-03-28 2014-03-28 Method and device for acquiring application calling relation table Pending CN104951324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410122879.7A CN104951324A (en) 2014-03-28 2014-03-28 Method and device for acquiring application calling relation table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410122879.7A CN104951324A (en) 2014-03-28 2014-03-28 Method and device for acquiring application calling relation table

Publications (1)

Publication Number Publication Date
CN104951324A true CN104951324A (en) 2015-09-30

Family

ID=54165995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410122879.7A Pending CN104951324A (en) 2014-03-28 2014-03-28 Method and device for acquiring application calling relation table

Country Status (1)

Country Link
CN (1) CN104951324A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630684A (en) * 2016-01-26 2016-06-01 百度在线网络技术(北京)有限公司 Software development kit identification method and device
CN107402879A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 It is determined that between call relation method and device
CN108874625A (en) * 2018-05-31 2018-11-23 泰康保险集团股份有限公司 Information processing method and device, electronic equipment, storage medium
CN112099802A (en) * 2020-09-18 2020-12-18 腾讯科技(深圳)有限公司 Component identification method and device of application program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233729B1 (en) * 1998-10-29 2001-05-15 Nortel Networks Limited Method and apparatus for identifying dynamic structure and indirect messaging relationships between processes
CN101789999A (en) * 2010-02-09 2010-07-28 中兴通讯股份有限公司 Method and device for scene management and backup restoration of mobile terminal
CN101883184A (en) * 2010-06-23 2010-11-10 中兴通讯股份有限公司 Method for controlling application program display on mobile terminal and mobile terminal
CN103544220A (en) * 2013-09-29 2014-01-29 北京航空航天大学 Method and device for recommending applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233729B1 (en) * 1998-10-29 2001-05-15 Nortel Networks Limited Method and apparatus for identifying dynamic structure and indirect messaging relationships between processes
CN101789999A (en) * 2010-02-09 2010-07-28 中兴通讯股份有限公司 Method and device for scene management and backup restoration of mobile terminal
CN101883184A (en) * 2010-06-23 2010-11-10 中兴通讯股份有限公司 Method for controlling application program display on mobile terminal and mobile terminal
CN103544220A (en) * 2013-09-29 2014-01-29 北京航空航天大学 Method and device for recommending applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢昌荣主编: "《物联网技术概论》", 31 July 2013, 重庆大学出版社 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630684A (en) * 2016-01-26 2016-06-01 百度在线网络技术(北京)有限公司 Software development kit identification method and device
CN105630684B (en) * 2016-01-26 2019-10-11 百度在线网络技术(北京)有限公司 Software Development Kit recognition methods and device
CN107402879A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 It is determined that between call relation method and device
CN107402879B (en) * 2016-05-20 2020-11-06 阿里巴巴集团控股有限公司 Method and device for determining call relation between applications
CN108874625A (en) * 2018-05-31 2018-11-23 泰康保险集团股份有限公司 Information processing method and device, electronic equipment, storage medium
CN108874625B (en) * 2018-05-31 2021-09-10 泰康保险集团股份有限公司 Information processing method and device, electronic equipment and storage medium
CN112099802A (en) * 2020-09-18 2020-12-18 腾讯科技(深圳)有限公司 Component identification method and device of application program
CN112099802B (en) * 2020-09-18 2022-03-11 腾讯科技(深圳)有限公司 Component identification method and device of application program

Similar Documents

Publication Publication Date Title
CN103716331B (en) Method, terminal, server and system for numerical value transfer
CN104965721A (en) Method and apparatus for updating an application
CN104780164A (en) Method and device for operating game client
CN105005909A (en) Method and device for predicting lost users
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN105278937A (en) Method and device for displaying pop-up box messages
CN103473163A (en) Application program detection method and device
CN104572819A (en) Clearing method and system for junk data
CN104717341A (en) Message prompting method and terminal
CN104133757A (en) Method for obtaining memory information and terminal
CN104965722A (en) Method and apparatus for displaying information
CN104077211A (en) Test method and test system for mobile terminal software
CN105389259A (en) Method, apparatus and system for performing application testing
CN104077184A (en) Progress control method of application program and computer system
CN103713943A (en) Native terminal operating system based application function realization method and device
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN103631625A (en) Data acquisition method, user terminal, server and system
CN105530239A (en) Multimedia data obtaining method and device
CN104699501A (en) Method and device for running application program
CN104133693B (en) Installment state detection method, device and terminal
CN104951324A (en) Method and device for acquiring application calling relation table
CN104243394A (en) Multimedia file playing method and device
CN104869550A (en) Communication event processing method and device
CN103631592A (en) Configuration method, calling method, device and equipment for displaying resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication