CN109542456B - Application similarity obtaining method and device and terminal - Google Patents

Application similarity obtaining method and device and terminal Download PDF

Info

Publication number
CN109542456B
CN109542456B CN201710695988.1A CN201710695988A CN109542456B CN 109542456 B CN109542456 B CN 109542456B CN 201710695988 A CN201710695988 A CN 201710695988A CN 109542456 B CN109542456 B CN 109542456B
Authority
CN
China
Prior art keywords
applications
similarity
application
obtaining
external
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
CN201710695988.1A
Other languages
Chinese (zh)
Other versions
CN109542456A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710695988.1A priority Critical patent/CN109542456B/en
Publication of CN109542456A publication Critical patent/CN109542456A/en
Application granted granted Critical
Publication of CN109542456B publication Critical patent/CN109542456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/53Decompilation; Disassembly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Abstract

The invention provides a method, a device and a terminal for obtaining application similarity, relates to the field of communication, and aims to solve the problem that the application similarity determined according to the static attribute of an application exists in the prior art; the method for obtaining the application similarity provided by the embodiment of the invention comprises the following steps: acquiring dynamic attribute information of a plurality of applications to be installed; and according to the dynamic attribute information, obtaining the similarity between any one of the applications to be installed and the rest of the applications to be installed. According to the scheme of the invention, the similarity between any one of the multiple installation applications and the rest of the applications to be installed is determined by judging and evaluating the dynamic attribute information of the applications to be installed, the applications with lower static attribute similarity, higher dynamic attribute similarity and similar functions can be determined, the success rate of detecting the application similarity is improved, and the repeated occupation of the hard disk space of the user equipment by the applications with repeated functions is avoided.

Description

Application similarity obtaining method and device and terminal
Technical Field
The invention relates to the field of application processing, in particular to a method, a device and a terminal for obtaining application similarity.
Background
With the popularization of computers and smart phones, a plurality of application programs are transmitted to users through various channels such as application markets and non-application markets, some software can simply divide application types through keywords reported by applications, but the application types are different in naming and application software with the same or similar functions are not classified or are classified wrongly.
For the terminal user, because there is no time or capability discrimination and no warning is received in advance, some application software with similar functions is often installed. Not only is space wasted on the user device's hard drive, but valuable usage time is also wasted by reusing the same functionality.
In the prior art, similarity evaluation is usually performed on static attributes, resource files and calling system functions of applications, which can only partially solve the problem of application similarity judgment and is not comprehensive and accurate in judgment.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method, an apparatus, and a terminal for obtaining application similarity, so as to determine the function similarity of an application to be installed, reduce the user's installation of application software with similar functions, and save the hard disk space of a user device.
In order to solve the above technical problem, an obtaining method of application similarity provided by an embodiment of the present invention includes:
acquiring dynamic attribute information of a plurality of applications to be installed;
and according to the dynamic attribute information, obtaining the similarity between any one of the applications to be installed and the rest of the applications to be installed.
Preferably, the step of obtaining the dynamic attribute information of the plurality of applications to be installed includes:
preprocessing a plurality of applications to be installed;
performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results;
and acquiring dynamic attribute information of a plurality of applications to be installed according to the decompiling results.
Preferably, the step of preprocessing the plurality of applications to be installed includes:
and removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed respectively.
Preferably, the step of obtaining the dynamic attribute information of the plurality of applications to be installed according to the decompilation results includes:
obtaining external applications respectively called by the multiple applications to be installed according to the characteristic values of the multiple applications to be installed in the decompiling results;
and comparing any two of the plurality of applications to be installed according to the characteristic values of the external applications to obtain the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
Preferably, the step of comparing any two of the applications to be installed according to the feature values of the external applications to obtain the similarity between each of the applications to be installed and the remaining applications to be installed includes:
comparing any two of the applications to be installed according to the characteristic values of the external applications to obtain a first number of external applications called by one of the applications to be installed and another application to be installed, and a second number of external applications called by one of the applications to be installed and another application to be installed, wherein the first number is the same as the first number of external applications called by the other application to be installed;
according to the first number and the second number, obtaining the similarity between any two applications to be installed;
and according to the similarity between any two applications to be installed, obtaining the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
Preferably, the step of obtaining the similarity between any two applications to be installed according to the first number and the second number includes:
obtaining a first product of the first number and a first preset value and a second product of the second number and a second preset value;
and adding the first product and the second product to obtain the similarity between any two applications to be installed.
Preferably, the method further comprises:
and sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing table, and displaying the similarity sequencing table.
Preferably, the method further comprises:
judging whether the similarity exceeding a preset threshold exists in the similarity ranking table or not;
and if so, outputting prompt information of the application to be installed with repeated functions.
According to another aspect of the present invention, an apparatus for obtaining an application similarity is further provided, including:
the first acquisition module is used for acquiring dynamic attribute information of a plurality of applications to be installed;
and the second acquisition module is used for acquiring the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the dynamic attribute information.
Preferably, the first obtaining module includes:
the first processing submodule is used for preprocessing a plurality of applications to be installed;
the second processing submodule is used for performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results;
and the obtaining submodule is used for obtaining the dynamic attribute information of the plurality of applications to be installed according to the plurality of decompiling results.
Preferably, the first processing sub-module includes:
and the removing unit is used for respectively removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed.
Preferably, the acquisition sub-module includes:
a first obtaining unit, configured to obtain, according to feature values of multiple applications to be installed in multiple decompilation results, external applications respectively called by the multiple applications to be installed;
and the second obtaining unit is used for comparing any two of the plurality of applications to be installed according to the characteristic values of the external applications to obtain the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
Preferably, the second obtaining unit is configured to include:
the first obtaining subunit is configured to compare any two of the multiple applications to be installed according to a feature value of an external application, and obtain a first number, which is the same as an external application called by one of the applications to be installed and another application to be installed, of the two applications to be installed, and a second number, which is similar to an external application called by the other application to be installed, of the one application to be installed and the another application to be installed;
the second obtaining subunit is configured to obtain a similarity between any two applications to be installed according to the first number and the second number;
and the third obtaining subunit is configured to obtain, according to a similarity between any two applications to be installed, a similarity between each application to be installed in the multiple applications to be installed and the other applications to be installed.
Preferably, the second acquiring subunit includes:
the first obtaining primary subunit is used for obtaining a first product of the first number and a first preset numerical value and a second product of the second number and a second preset numerical value;
and the second acquisition primary subunit is used for adding the first product and the second product to obtain the similarity between any two applications to be installed.
Preferably, the apparatus further comprises:
and the third obtaining module is used for sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing list and displaying the similarity sequencing list.
Preferably, the apparatus further comprises:
the judging module is used for judging whether the similarity exceeding a preset threshold exists in the similarity ranking table or not;
and the output module is used for outputting prompt information of the application to be installed with repeated functions if the application exists.
According to another aspect of the present invention, there is also provided a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the above-described method for obtaining the application similarity when executing the program.
Compared with the prior art, the method, the device and the terminal for obtaining the application similarity provided by the embodiment of the invention have the following beneficial effects:
the dynamic attribute information of the applications to be installed is judged and evaluated, the similarity between any one of the multiple installed applications and the rest of the applications to be installed is determined, the applications with lower static attribute similarity, higher dynamic attribute similarity and similar functions can be determined, the success rate of detecting the application similarity is improved, and the repeated occupation of the hard disk space of the user equipment by the applications with repeated functions is avoided.
Drawings
Fig. 1 is a schematic flow chart of a method for obtaining an application similarity according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of step 1 in the embodiment of the present invention;
FIG. 3 is a schematic flow chart of step 13 in the embodiment of the present invention;
FIG. 4 is a flowchart illustrating step 132 according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating step 1322 according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for obtaining similarity according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the full understanding of the embodiments of the present invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
Referring to fig. 1, an embodiment of the present invention provides an obtaining method for application similarity, including:
step 1, obtaining dynamic attribute information of a plurality of applications to be installed.
The dynamic attribute information here may be an external application called by the application to be installed.
And 2, according to the dynamic attribute information, obtaining the similarity between any one of the applications to be installed and the rest of the applications to be installed.
According to the embodiment of the invention, the similarity between any one of the installation applications and the rest of the applications to be installed is determined by judging and evaluating the external application called by the applications to be installed, the applications with lower static attribute similarity, higher dynamic attribute similarity and similar functions can be determined, the success rate of detecting the application similarity is improved, the repeated installation of the applications with similar functions is avoided, and the hard disk space of user equipment is saved.
Specifically, referring to fig. 2, in the embodiment of the present invention, step 1 may include:
and 11, preprocessing a plurality of applications to be installed.
Specifically, step 11 may include:
and step 111, removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed respectively.
And step 12, performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results.
Specifically, in step 12, decompiling the preprocessed applications to be installed may obtain codes of the applications to be installed, and according to the search of the code of each application to be installed, the dynamic attribute information of each application to be installed may be obtained.
And step 13, acquiring dynamic attribute information of a plurality of applications to be installed according to the plurality of decompilation results.
Specifically, in the embodiment of the present invention, referring to fig. 3, step 13 includes:
step 131, obtaining external applications respectively called by the multiple applications to be installed according to the feature values of the multiple applications to be installed in the multiple decompilation results.
Step 132, comparing any two of the multiple applications to be installed according to the feature values of the external applications, so as to obtain the similarity between each application to be installed in the multiple applications to be installed and the rest of the applications to be installed.
In step 131, the characteristic values of the application to be installed include: application package name, application class name, referenced database identifier, calling function name, and/or referenced resource file name.
And searching the obtained decompilation result according to the characteristic value of the application to be installed, and further extracting external application information respectively called by each application to be installed.
Specifically, in the embodiment of the present invention, referring to fig. 4, step 132 includes:
step 1321, comparing any two of the multiple applications to be installed according to the feature values of the external applications, and obtaining a first number of external applications called by one of the two applications to be installed, which is the same as the external application called by the other application to be installed, and a second number of external applications called by one of the applications to be installed, which is similar to the external application called by the other application to be installed.
And 1322, acquiring the similarity between any two applications to be installed according to the first number and the second number.
Step 1323, according to the similarity between any two applications to be installed, obtaining the similarity between each application to be installed in the multiple applications to be installed and the other applications to be installed.
In step 1321, the external application feature values are some pre-stored feature values, and one external application feature value is specifically: at least one keyword, and whether the external applications respectively called by the two applications to be installed are the same or similar can be determined by searching the keyword. When the comparison is carried out, if the external application characteristic value called by the two applications to be installed respectively can be extracted from the external applications, the external application characteristic value is determined to be the same as the external application called by the two applications to be installed respectively; if the keyword proportion of the feature value of one external application, which can be extracted from the two external applications to be installed and respectively called, exceeds a first threshold (for example, 30%) and is lower than a second threshold (less than 100%), it is determined that the external applications to be respectively called by the two applications to be installed are similar, and the first threshold is smaller than the second threshold.
If the preset characteristic values of the external applications are not extracted from the external applications respectively called by the applications to be installed in the process of comparing any two applications to be installed, the similarity between the two applications to be installed is determined to be zero.
For example, the obtained external applications called by the application 1 to be installed include: a1, a2, A3 and a 4; the external application called by the application 2 to be installed includes: b1, B2, B3 and B4; respectively searching the characteristic value c (containing 4 keywords) of the external application in the external application called by the application 1 to be installed and the external application called by the application 2 to be installed, and assuming that the characteristic value c of the external application is completely contained in the external application A1 and the application B2 to be installed, considering that the external application A1 called by the application 1 to be installed is the same as the external application B2 called by the application 2 to be installed; if it is determined that the external application a1 includes 2 keywords of the external application feature value c and the external application B2 includes 3 keywords of the external application feature value c, the external application a1 called by the application 1 to be installed is considered to be similar to the external application B2 called by the application 2 to be installed.
In addition, in the embodiment of the present invention, if it is determined that the external application called by one of the two applications to be installed is the same as or similar to the external application called by the other application to be installed during the comparison, the external applications are counted respectively.
Specifically, in the embodiment of the present invention, referring to fig. 5, step 1322 includes:
step 13221, obtaining a first product of the first number and a first preset value, and a second product of the second number and a second preset value;
step 13222, adding the first product and the second product to obtain a similarity between any two applications to be installed.
The first predetermined value and the second predetermined value may be expressed in the form of a score (e.g., 2 points) or a percentage (e.g., 2%).
Preferably, on the basis of the above step 1 and step 2, the method may further include:
and 3, sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing list, and displaying the similarity sequencing list.
And displaying the similarity ranking table obtained by ranking, so that the user can intuitively determine the similarity between the application to be installed and other applications to be installed which are operated by the user through the similarity ranking table.
If the similarity of two applications to be installed is determined to be zero through the preorder steps; when sorting is performed, the information corresponding to the similarity zero can be deleted, so that the obtained similarity sorting table does not contain the information with the similarity zero; or, when sorting is performed, the similarity information corresponding to the similarity zero is not deleted, so that the obtained similarity sorting table includes the information with the similarity zero.
Preferably, on the basis of the above steps 1, 2 and 3, the method further comprises:
step 4, judging whether the similarity in the similarity ranking table exceeds a preset threshold value or not;
and 5, if the application exists, outputting prompt information of the application to be installed with repeated functions.
In step 5, the prompt information further includes the name of the application to be installed with the repeated function and the similarity between the two applications to be installed with the repeated function. Through the prompt message, the user is reminded, and further repeated installation of applications with similar functions is avoided.
The method for obtaining the application similarity provided in the embodiment of the present invention is illustrated below.
In the example of the present invention, the number of references to be installed is 2, which are the application 1 to be installed and the application 2 to be installed, respectively, and after the application 1 and the application 2 are subjected to preprocessing and decompiling processing in sequence, according to the characteristic value of the application to be installed, the external applications called (accessed) by the application 1 to be installed and the application 2 to be installed, respectively, are obtained as shown in table 1 and table 2.
External application package name accessed by application 1 to be installed External application package name accessed by application 2 to be installed
"com.tencent.mm" "com.hiapk.marketpho"
"com.hiapk.marketpho" "com.tencent.mm"
com/noshufou.androrid.su" "com.fantasmosoft.free_memory_recover"
External application M1 External application M2
TABLE 1
Figure BDA0001379174750000081
Figure BDA0001379174750000091
TABLE 2
Wherein, table 1 is the application 1 to be installed and the external application package names of the application to be installed; table 2 shows the names of the external application classes that are respectively invoked by the application 1 to be installed and the application to be installed.
From the information described in tables 1 and 2, it can be found that, in the external applications called by the application to be installed 1 and the application to be installed 2, there are 4 identical external application characteristic values (2 in each of tables 1 and 2) and 1 similar external application characteristic value (a third external application accessed by the application to be installed 2 in table 1 and a first external application accessed by the application to be installed in table 2), and therefore, the obtained first number is 4 and the second number is 1. Assuming that the first preset value is 2 and the second preset value is 1, the obtained similarity between the application to be installed 1 and the application to be installed 2 is 9.
The user can judge that the similarity between the application 1 to be installed and the application 2 to be installed is 8, and the similarity between the application 1 to be installed and the application 2 to be installed is low.
By the method for obtaining the application similarity, the similarity among the multiple applications to be installed is determined, so that the user can be helped to avoid repeated downloading of the applications with similar functions when downloading the applications, and the hard disk space of the user equipment is saved.
Referring to fig. 6, according to another aspect of the present invention, an embodiment of the present invention further provides an obtaining apparatus for applying similarity, including:
the system comprises a first acquisition module 1, a second acquisition module and a first display module, wherein the first acquisition module is used for acquiring dynamic attribute information of a plurality of applications to be installed;
and the second obtaining module 2 is configured to obtain, according to the dynamic attribute information, a similarity between any one of the multiple applications to be installed and the remaining applications to be installed.
Preferably, the first obtaining module 1 comprises:
the first processing submodule is used for preprocessing a plurality of applications to be installed;
the second processing submodule is used for performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results;
and the obtaining submodule is used for obtaining the dynamic attribute information of the plurality of applications to be installed according to the plurality of decompiling results.
Preferably, the first processing sub-module includes:
and the removing unit is used for respectively removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed.
Preferably, the acquisition sub-module includes:
a first obtaining unit, configured to obtain, according to feature values of multiple applications to be installed in multiple decompilation results, external applications respectively called by the multiple applications to be installed;
and the second obtaining unit is used for comparing any two of the plurality of applications to be installed according to the characteristic values of the external applications to obtain the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
Preferably, the second acquiring unit includes:
the first obtaining subunit is configured to compare any two of the multiple applications to be installed according to a feature value of an external application, and obtain a first number, which is the same as an external application called by one of the applications to be installed and another application to be installed, of the two applications to be installed, and a second number, which is similar to an external application called by the other application to be installed, of the one application to be installed and the another application to be installed;
the second obtaining subunit is configured to obtain a similarity between any two applications to be installed according to the first number and the second number;
and the third obtaining subunit is configured to obtain, according to a similarity between any two applications to be installed, a similarity between each application to be installed in the multiple applications to be installed and the other applications to be installed.
Preferably, the second acquiring subunit includes:
the first obtaining primary subunit is used for obtaining a first product of the first number and a first preset numerical value and a second product of the second number and a second preset numerical value;
and the second acquisition primary subunit is used for adding the first product and the second product to obtain the similarity between any two applications to be installed.
Preferably, the apparatus further comprises:
and the third obtaining module is used for sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing list and displaying the similarity sequencing list.
Preferably, the apparatus further comprises:
the judging module is used for judging whether the similarity exceeding a preset threshold exists in the similarity ranking table or not;
and the output module is used for outputting prompt information of the application to be installed with repeated functions if the application exists.
The device for obtaining the application similarity provided by the embodiment of the invention is a device corresponding to the method, and all implementation modes in the method are suitable for the embodiment of the device and can achieve the same technical effect. By determining the similarity between any one of the applications to be installed and the rest of the applications to be installed, repeated downloading of the applications with similar functions is avoided, and the hard disk space of the user equipment is saved.
According to another aspect of the present invention, there is also provided a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the above-described method for obtaining the application similarity when executing the program.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. An obtaining method of an application similarity, comprising:
performing decompiling processing on a plurality of applications to be installed to obtain a plurality of decompiling results;
obtaining dynamic attribute information of the plurality of applications to be installed according to the characteristic values of the plurality of applications to be installed in the decompiling results, wherein the dynamic attribute information is external applications respectively called by the plurality of applications to be installed;
and comparing any two of the plurality of applications to be installed according to the characteristic values of the external applications to obtain the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
2. The method for obtaining application similarity according to claim 1, wherein the step of performing decompilation processing on the plurality of applications to be installed to obtain a plurality of decompilation results includes:
preprocessing a plurality of applications to be installed;
and performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results.
3. The method for obtaining application similarity according to claim 2, wherein the step of preprocessing the plurality of applications to be installed comprises:
and removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed respectively.
4. The method for obtaining the application similarity according to claim 1, wherein the step of comparing any two of the applications to be installed according to the eigenvalues of the external applications to obtain the similarity between each of the applications to be installed and the remaining applications to be installed comprises:
comparing any two of the applications to be installed according to the characteristic values of the external applications to obtain a first number of external applications called by one of the applications to be installed and another application to be installed, and a second number of external applications called by one of the applications to be installed and another application to be installed, wherein the first number is the same as the first number of external applications called by the other application to be installed;
according to the first number and the second number, obtaining the similarity between any two applications to be installed;
and according to the similarity between any two applications to be installed, obtaining the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
5. The method for obtaining the application similarity according to claim 4, wherein the step of obtaining the similarity between any two applications to be installed according to the first number and the second number comprises:
obtaining a first product of the first number and a first preset value and a second product of the second number and a second preset value;
and adding the first product and the second product to obtain the similarity between any two applications to be installed.
6. The method for obtaining application similarity according to claim 1, further comprising:
and sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing table, and displaying the similarity sequencing table.
7. The method for obtaining application similarity according to claim 6, wherein the method further comprises:
judging whether the similarity exceeding a preset threshold exists in the similarity ranking table or not;
and if so, outputting prompt information of the application to be installed with repeated functions.
8. An obtaining apparatus for applying similarity, comprising:
the first obtaining module is used for performing decompiling processing on a plurality of applications to be installed to obtain a plurality of decompiling results; obtaining dynamic attribute information of the plurality of applications to be installed according to the characteristic values of the plurality of applications to be installed in the decompiling results, wherein the dynamic attribute information is external applications respectively called by the plurality of applications to be installed;
and the second obtaining module is used for comparing any two of the plurality of applications to be installed according to the characteristic value of the external application to obtain the similarity between each application to be installed in the plurality of applications to be installed and the rest of the applications to be installed.
9. The apparatus for obtaining similarity according to claim 8, wherein the first obtaining module comprises:
the first processing submodule is used for preprocessing a plurality of applications to be installed;
the second processing submodule is used for performing decompiling processing on the preprocessed multiple applications to be installed to obtain multiple decompiling results;
and the obtaining submodule is used for obtaining the dynamic attribute information of the plurality of applications to be installed according to the plurality of decompiling results.
10. The apparatus for obtaining application similarity according to claim 9, wherein the first processing submodule includes:
and the removing unit is used for respectively removing the encryption information, the signature information and/or the authentication information of the plurality of applications to be installed.
11. The apparatus for obtaining similarity according to claim 8, wherein the second obtaining module comprises:
the first obtaining subunit is configured to compare any two of the multiple applications to be installed according to a feature value of an external application, and obtain a first number, which is the same as an external application called by one of the applications to be installed and another application to be installed, of the two applications to be installed, and a second number, which is similar to an external application called by the other application to be installed, of the one application to be installed and the another application to be installed;
the second obtaining subunit is configured to obtain a similarity between any two applications to be installed according to the first number and the second number;
and the third obtaining subunit is configured to obtain, according to a similarity between any two applications to be installed, a similarity between each application to be installed in the multiple applications to be installed and the other applications to be installed.
12. The apparatus for obtaining similarity according to claim 11, wherein the second obtaining subunit comprises:
the first obtaining primary subunit is used for obtaining a first product of the first number and a first preset numerical value and a second product of the second number and a second preset numerical value;
and the second acquisition primary subunit is used for adding the first product and the second product to obtain the similarity between any two applications to be installed.
13. The apparatus for obtaining similarity according to claim 8, further comprising:
and the third obtaining module is used for sequencing the similarity between any one of the applications to be installed and the rest of the applications to be installed according to the sequence from high to low to obtain a similarity sequencing list and displaying the similarity sequencing list.
14. The apparatus for obtaining similarity according to claim 13, further comprising:
the judging module is used for judging whether the similarity exceeding a preset threshold exists in the similarity ranking table or not;
and the output module is used for outputting prompt information of the application to be installed with repeated functions if the application exists.
15. A terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor: characterized in that the processor implements the method for obtaining application similarity according to any one of claims 1 to 7 when executing the program.
CN201710695988.1A 2017-08-15 2017-08-15 Application similarity obtaining method and device and terminal Active CN109542456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710695988.1A CN109542456B (en) 2017-08-15 2017-08-15 Application similarity obtaining method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710695988.1A CN109542456B (en) 2017-08-15 2017-08-15 Application similarity obtaining method and device and terminal

Publications (2)

Publication Number Publication Date
CN109542456A CN109542456A (en) 2019-03-29
CN109542456B true CN109542456B (en) 2022-03-01

Family

ID=65823093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710695988.1A Active CN109542456B (en) 2017-08-15 2017-08-15 Application similarity obtaining method and device and terminal

Country Status (1)

Country Link
CN (1) CN109542456B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473092A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method and device for processing downloaded applications and terminal equipment
CN104778409A (en) * 2015-04-16 2015-07-15 电子科技大学 Method and device for detecting similarities of Android application software
CN106599623A (en) * 2016-12-09 2017-04-26 江苏通付盾科技有限公司 Method and device for calculating application similarity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5984149B2 (en) * 2014-08-04 2016-09-06 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Apparatus and method for updating software
CN105389508B (en) * 2015-11-10 2018-02-16 工业和信息化部电信研究院 A kind of Android beats again the detection method and device of bag application
CN105893848A (en) * 2016-04-27 2016-08-24 南京邮电大学 Precaution method for Android malicious application program based on code behavior similarity matching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473092A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method and device for processing downloaded applications and terminal equipment
CN104778409A (en) * 2015-04-16 2015-07-15 电子科技大学 Method and device for detecting similarities of Android application software
CN106599623A (en) * 2016-12-09 2017-04-26 江苏通付盾科技有限公司 Method and device for calculating application similarity

Also Published As

Publication number Publication date
CN109542456A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US9081812B2 (en) System and method for information identification using tracked preferences of a user
KR101564535B1 (en) Systems and methods for software upgrade recommendation
CN105988836B (en) Application recommendation method and device
CN110196927B (en) Multi-round man-machine conversation method, device and equipment
CN109669795B (en) Crash information processing method and device
CN110516471B (en) Product promotion method based on information security and related equipment
CN107786463B (en) Network data downloading method and device and medium product
CN105991722B (en) Downloader recommendation method, application server, terminal and system
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN110502645B (en) Information query method and device
CN108512989B (en) Message prompting method and device
CN111597553A (en) Process processing method, device, equipment and storage medium in virus searching and killing
CN115689656B (en) Advertisement putting method, device, equipment and storage medium based on Internet of things
CN109542456B (en) Application similarity obtaining method and device and terminal
CN111191087A (en) Character matching method, terminal device and computer-readable storage medium
CN112579357B (en) Snapshot difference obtaining method, device, equipment and storage medium
CN113448981A (en) Data display method and device, electronic equipment and storage medium
CN113783855A (en) Site evaluation method, site evaluation device, electronic apparatus, storage medium, and program product
CN108089900B (en) Character string processing method and device
CN112749258A (en) Data searching method and device, electronic equipment and storage medium
CN104615686A (en) Searching method and device
CN111404806A (en) Method, device and equipment for detecting harpoon mails and computer readable storage medium
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
CN106303614B (en) Method and device for shielding application message of infrequently-running application
CN108093072B (en) Method and device for acquiring access path in station and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant