CN112463200A - Development kit processing method and device, electronic device and storage medium - Google Patents
Development kit processing method and device, electronic device and storage medium Download PDFInfo
- Publication number
- CN112463200A CN112463200A CN202011457999.4A CN202011457999A CN112463200A CN 112463200 A CN112463200 A CN 112463200A CN 202011457999 A CN202011457999 A CN 202011457999A CN 112463200 A CN112463200 A CN 112463200A
- Authority
- CN
- China
- Prior art keywords
- development
- toolkit
- information
- kit
- feature
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 18
- 238000004458 analytical method Methods 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000012512 characterization method Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 11
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000012925 reference material Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a development kit processing method and device, electronic equipment and a storage medium. The method comprises the following steps: respectively obtaining development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit; determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed. By the technical scheme of the embodiment of the invention, the use condition of the development kit in the application is rapidly determined, and the detection efficiency of the application is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile application, in particular to a development kit processing method and device, electronic equipment and a storage medium.
Background
Currently, in order to use technical services provided by a third-party platform in the Development process of an Android application, a third-party provided Development Kit (Software Development Kit) is generally used to extend functions of the application, such as geographic location services, data statistics, payment, and the like.
At present, the source codes are mainly checked through manual analysis, the citation dependent files are confirmed, the development toolkits used in the APP (Application) are analyzed and confirmed according to historical experience or online retrieval and query, each Application software needs to compile an independent source code, so that the problem cannot be solved in time when the problem occurs, and the detection efficiency is low.
Disclosure of Invention
The invention provides a development kit processing method and device, electronic equipment and a storage medium, which are used for rapidly determining the use condition of a development kit in an application and improving the detection efficiency of the application.
In a first aspect, an embodiment of the present invention provides a development kit processing method, where the method includes:
respectively obtaining development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit;
determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
In a second aspect, an embodiment of the present invention further provides a development kit processing apparatus, where the apparatus includes:
the attribute information acquisition module is used for respectively acquiring the development toolkits in each sample application and analyzing each development toolkit to obtain the attribute information of each development toolkit;
and the feature library generating module is used for determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the development kit processing method as provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the development kit processing method provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the development toolkits in each sample application are respectively obtained, and the development toolkits are analyzed to obtain the attribute information of the development toolkits; determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit. When the application to be tested is analyzed, the characteristic information of the application to be tested is acquired and compared with the characteristic information in the characteristic library, and a development kit analysis report is generated, so that the use condition of the development kit in the application is rapidly determined, and the detection efficiency of the application is improved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flowchart of a development kit processing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a development kit processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a development kit processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a development kit processing method according to an embodiment of the present invention, which is applicable to a case where usage details of a development kit in each application software are confirmed. The method may be performed by a development kit processing apparatus, which may be implemented by software and/or hardware.
Before introducing the method steps, an application scenario of the embodiment of the present invention is introduced: at present, there are various integrated SDKs in application Software, namely (Software Development Kit), which have great influence on the security performance of current application Software. Each supervision department and a third-party company generally check and analyze the source code of the current application through manual analysis, determine the dependent file quoted by the supervision department and the third-party company so as to determine each SDK used in the current software, or analyze and determine each SDK used in the current software according to historical experience or a retrieval and query mode, so that the specific SDK with problems is found when the current application software has problems. However, in the prior art, when each SDK used by the currently cited software is determined, omission or a condition that cannot be judged often exists, and each application software needs to write an individual source code, so that problems cannot be solved in time, and the detection efficiency is low. In order to solve the above problems, embodiments of the present invention provide a technical scheme for acquiring each SDK of each application software, determining each SDK feature with a high use frequency, and establishing an SDK feature library for performing SDK matching on the application software to be analyzed, so as to quickly determine a use condition of a development kit in an application, and improve detection efficiency of the application.
As shown in fig. 1, the method specifically includes the following steps:
and S110, respectively obtaining the development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit.
In the embodiment of the invention, the sample application is various application software which can be downloaded in the current application market. The development kit refers to a set of relevant documents, paradigms and tools for assisting in developing software, and specifically may include some files for providing an application program interface API by a programming language; complex hardware capable of communicating with embedded systems may also be included; example code, supporting technical notes, or other supporting documentation to clarify suspicions for basic reference material is also included.
Specifically, sample applications are downloaded from each application market, and development toolkits in each sample application are obtained. And analyzing each development tool package by adopting a preset analysis method to obtain the attribute information of each development tool package. Illustratively, decode resolution may be performed using apktool. The attribute information of each development kit comprises a kit name, a file path and a development kit name of the development kit.
And S120, determining the characteristic information of the development toolkit based on at least one item of the attribute information of the development toolkit, and generating a development toolkit characteristic library according to the characteristic information of each development toolkit.
The characteristic information is information that the current development toolkit is different from other development toolkits. The development kit feature library comprises the development kit features of which the use frequency exceeds a preset threshold value in each current application software. At least one of the attribute information of the current development kit may be one of a package name, a file path, and a name of the development kit, or all of the attribute information, which is not limited in this embodiment.
Optionally, the feature information of each development kit is determined by performing hash calculation on the development kit file path and the development kit name in each attribute information. Specifically, in order to clearly introduce the calculation of the attribute information of each development kit, one of the development kits may be taken as an example to introduce: and performing hash calculation on the current development kit file path and the development kit name to obtain a hash value with a preset length, determining the hash value as the characteristic information of the current development kit, and sequentially determining the characteristic information of each development kit by taking the hash value as an example.
Optionally, determining the reuse rate of the development toolkits according to the feature information of each development toolkit; and when the reuse rate reaches a preset threshold value, adding the development toolkit and the corresponding feature information to a development toolkit feature library. Specifically, repeated feature information in the feature information of each development kit is counted, the number of repeated feature information is calculated, and the reuse rate of each development kit is calculated. Specifically, for example, one of the development toolkits is used, when it is determined that the reuse rate of the current development toolkit exceeds a preset threshold, the current development toolkit and the corresponding feature information are determined, and the development toolkit and the corresponding feature information are added to a preset development toolkit feature library. The development kit feature library comprises the identification and the feature information of each development kit, the identification of each development kit is the unique identification of each development kit, and the feature information in the development kit feature library is conveniently matched with the feature information of the development kit to be analyzed and applied.
According to the technical scheme of the embodiment of the invention, the development toolkits in each sample application are respectively obtained, and the development toolkits are analyzed to obtain the attribute information of the development toolkits; determining the characteristic information of the development toolkits based on at least one item of the attribute information of the development toolkits, and generating a development toolkit characteristic library according to the characteristic information of each development toolkit. When the application to be tested is analyzed, the characteristic information of the application to be tested is acquired and compared with the characteristic information in the characteristic library, and a development kit analysis report is generated, so that the use condition of the development kit in the application is rapidly determined, and the detection efficiency of the application is improved.
Example two
Fig. 2 is a schematic flow chart of a development kit processing method according to a second embodiment of the present invention, which details the step "generating a development kit feature library according to feature information of each development kit" based on the above-mentioned embodiment. As shown in fig. 2, the method specifically includes the following steps:
and S210, respectively obtaining the development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit.
S220, determining the feature information of the development kit based on at least one item of the attribute information of the development kit, and generating a development kit feature library according to one or more items of the feature information, the version information, the company and the function of the development kit.
In the embodiment of the present invention, the company to which the development kit belongs may be a third party company to which the development kit belongs, such as Facebook, Google, and the like. The development kit functionality may be functionality provided by the development kit, such as payment functionality.
Optionally, companies and functions to which each development kit belongs may be determined by receiving externally input information; and determining the version information of the development toolkit by judging whether the development toolkit has version update relative to the set development toolkit feature library. Specifically, each application software of the application market is downloaded periodically, and the current feature information of the development kit of each application software is acquired. Taking one development kit as an example, comparing the latest acquired feature information of the current development kit with the feature information of the development kit with the same package name stored in the development kit feature library to determine whether the latest acquired feature information of the current development kit is the same. When the two pieces of characteristic information are the same, it indicates that the versions of the two tool development kits are the same, and no version update exists. And if the two characteristic information are different, determining that the development toolkit has version updating. When determining the version information to which the current development kit belongs.
Specifically, one or more items of information of feature information, version information, company and function of the development kit are added to the already set development kit feature library to generate a new development kit feature library.
In order to further determine development kit information of each application to be analyzed, the embodiment of the present invention may obtain each development kit in the application software to be analyzed, analyze each development kit to obtain attribute information of each development kit, and determine feature information of each development kit according to the attribute information of each development kit.
Optionally, the feature information of each development kit is matched in the development kit feature library, and a development kit analysis report of the application to be analyzed is determined. The development kit analysis report comprises identification information and version information of each development kit in the target application. Further, the development kit analysis report may further include the company and the function. Specifically, the feature information of each development kit is matched with the feature information of the development kit in the development kit feature information base, and when the matching is successful, an analysis report of the development kit applied to be analyzed is generated. Optionally, when the matching is not successful, the feature information of the tool development kit of the backup analysis application is stored, and is used for periodically updating the development tool feature library to form the feature library of the information, so as to ensure the correctness of the detection of the development tool kit in each application software.
According to the technical scheme of the embodiment of the invention, the development toolkits in each sample application are respectively obtained, and the development toolkits are analyzed to obtain the attribute information of the development toolkits; determining characteristic information of the development toolkit based on at least one item of attribute information of the development toolkit, and receiving companies and functions to which each development toolkit belongs, wherein the companies and the functions are input from the outside; and/or judging whether the development toolkit has version updating relative to the set development toolkit feature library, and if so, determining the version information of the development toolkit. And generating a development tool kit feature library according to one or more of feature information, version information, company and function of the development tool kit. When the application to be tested is analyzed, the characteristic information of the application to be tested is acquired and compared with the characteristic information in the characteristic library, and a development kit analysis report is generated, so that the use condition of the development kit in the application is rapidly determined, and the detection efficiency and the detection accuracy of the application are improved.
The following is an embodiment of a development kit processing apparatus according to an embodiment of the present invention, which belongs to the same inventive concept as the development kit processing method according to the above embodiments, and reference may be made to the above embodiment of the development kit processing method for details that are not described in detail in the embodiment of the development kit processing apparatus.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a development kit processing apparatus according to a third embodiment of the present invention, which is applicable to a case where usage details of a development kit in each application software are confirmed. The specific structure of the development kit processing device comprises: an attribute information acquisition module 310 and a feature library generation module 320; wherein the content of the first and second substances,
the attribute information obtaining module 310 is configured to obtain the development toolkits in each sample application, and analyze each development toolkit to obtain the attribute information of each development toolkit.
The feature library generating module 320 is configured to determine feature information of the development toolkit based on at least one item of attribute information of the development toolkit, and generate a development toolkit feature library according to the feature information of each development toolkit, where the development toolkit feature library includes an identifier and feature information of each development toolkit, and is used to perform matching of the development toolkit on the application to be analyzed.
According to the technical scheme of the embodiment of the invention, the development toolkits in each sample application are respectively obtained, and the development toolkits are analyzed to obtain the attribute information of the development toolkits; determining the characteristic information of the development toolkits based on at least one item of the attribute information of the development toolkits, and generating a development toolkit characteristic library according to the characteristic information of each development toolkit. When the application to be tested is analyzed, the characteristic information of the application to be tested is acquired and compared with the characteristic information in the characteristic library, and a development kit analysis report is generated, so that the use condition of the development kit in the application is rapidly determined, and the detection efficiency of the application is improved.
On the basis of the technical scheme, the attribute information of the development toolkit comprises a kit name, a file path and a development toolkit name.
On the basis of the above technical solution, the feature library generating module 320 includes:
and the characteristic information determining unit is used for determining the characteristic information of each development tool package by carrying out Hash calculation on the file path and the name of the development tool package in each attribute information.
On the basis of the above technical solution, the feature library generating module 320 includes:
and the reuse rate determining unit is used for determining the reuse rate of the development toolkits according to the characteristic information of each development toolkit.
And the characteristic information adding unit is used for adding the development toolkit and the corresponding characteristic information to the development toolkit characteristic library when the reuse rate reaches a preset threshold value.
On the basis of the above technical solution, before the feature library generating module 320, the method further includes:
and the information receiving unit is used for receiving the company and the function of each development toolkit which are input externally.
And the version determining unit is used for judging whether the development kit has version updating relative to the set development kit feature library, and if so, determining the version information of the development kit.
Accordingly, the feature library generation module 320 includes:
and the feature library generating unit is used for generating a development tool kit feature library based on one or more of feature information, version information, the company and the function of the development tool kit.
On the basis of the above technical solution, after the feature library generating module 320, the method further includes:
and the characteristic information determining unit of the application to be analyzed is used for analyzing the attribute information of each development toolkit in the application to be analyzed and determining the characteristic information of each development toolkit.
And the analysis report generating unit is used for matching the characteristic information of each development kit in the development kit characteristic library and determining the development kit analysis report of the application to be analyzed.
On the basis of the technical scheme, the development kit analysis report comprises identification information and version information of each development kit in the target application.
The development kit processing device provided by the embodiment of the invention can execute the development kit processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the development kit processing apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 4, electronic device 12 is embodied in the form of a general purpose computing electronic device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and sample data acquisition by running the program stored in the system memory 28, for example, implementing steps of a development kit processing method provided in this embodiment, where the development kit processing method includes:
respectively obtaining development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit;
determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
Of course, those skilled in the art can understand that the processor may also implement the technical solution of the sample data obtaining method provided in any embodiment of the present invention.
EXAMPLE five
The fifth embodiment provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements, for example, the steps of the development kit processing method provided in this embodiment, where the development kit processing method includes:
respectively obtaining development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit;
determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A development kit processing method, comprising:
respectively obtaining development toolkits in each sample application, and analyzing each development toolkit to obtain attribute information of each development toolkit;
determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits, and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
2. The method of claim 1, wherein the attribute information of the development kit comprises a package name, a file path, and a development kit name.
3. The method of claim 2, wherein determining the characterization information of the development kit based on at least one of the attribute information of the development kit comprises:
and determining the characteristic information of each development tool package by performing hash calculation on the development tool package file path and the development tool package name in each attribute information.
4. The method according to claim 1, wherein the generating a development kit feature library according to the feature information of each development kit comprises:
determining the reuse rate of the development toolkits according to the characteristic information of each development toolkit;
and when the reuse rate reaches a preset threshold value, adding the development toolkit and the corresponding feature information to a development toolkit feature library.
5. The method of claim 1, further comprising, prior to generating a development kit feature library from the feature information of each of the development kits:
receiving companies and functions of each development toolkit which are input externally; and/or the presence of a gas in the gas,
judging whether the version of the development toolkit is updated relative to a set development toolkit feature library, and if so, determining the version information of the development toolkit;
correspondingly, generating a development toolkit feature library according to the feature information of each development toolkit comprises:
and generating a development tool kit feature library based on one or more of feature information, version information, company and function of the development tool kit.
6. The method of claim 1, further comprising, after generating a development kit feature library from the feature information of each of the development kits:
analyzing attribute information of each development tool package in an application to be analyzed, and determining characteristic information of each development tool package;
and matching the characteristic information of each development tool kit in the development tool kit characteristic library to determine a development tool kit analysis report of the application to be analyzed.
7. The method of claim 6, wherein the development kit analysis report includes identification information and version information for each development kit in the target application.
8. A development kit processing apparatus, comprising:
the attribute information acquisition module is used for respectively acquiring the development toolkits in each sample application and analyzing each development toolkit to obtain the attribute information of each development toolkit;
and the feature library generating module is used for determining feature information of the development toolkits based on at least one item of attribute information of the development toolkits and generating a development toolkit feature library according to the feature information of each development toolkit, wherein the development toolkit feature library comprises the identification and the feature information of each development toolkit and is used for matching the development toolkits for the application to be analyzed.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the development kit processing method of any of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the development kit processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011457999.4A CN112463200A (en) | 2020-12-10 | 2020-12-10 | Development kit processing method and device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011457999.4A CN112463200A (en) | 2020-12-10 | 2020-12-10 | Development kit processing method and device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112463200A true CN112463200A (en) | 2021-03-09 |
Family
ID=74802856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011457999.4A Pending CN112463200A (en) | 2020-12-10 | 2020-12-10 | Development kit processing method and device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112463200A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108037928A (en) * | 2017-12-13 | 2018-05-15 | 北京小米移动软件有限公司 | Software development kit tools SDK detection method and device |
CN108763921A (en) * | 2018-05-29 | 2018-11-06 | 北京迪诺益佳信息科技有限公司 | A kind of method of application software and SDK management and control |
US20190042231A1 (en) * | 2017-08-02 | 2019-02-07 | Accenture Global Solutions Limited | Component management platform |
CN110286939A (en) * | 2019-05-21 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Development approach, device, equipment and the storage medium of Software Development Kit |
CN110727716A (en) * | 2019-10-24 | 2020-01-24 | 北京智游网安科技有限公司 | Identification method for integrated SDK in application, intelligent terminal and storage medium |
CN110806978A (en) * | 2019-10-31 | 2020-02-18 | 吉林亿联银行股份有限公司 | Defect management method and device for third-party component |
CN110990833A (en) * | 2019-10-31 | 2020-04-10 | 重庆小雨点小额贷款有限公司 | SDK safety detection method and related equipment |
CN111124486A (en) * | 2019-12-05 | 2020-05-08 | 任子行网络技术股份有限公司 | Method, system and storage medium for discovering android application to refer to third-party tool |
-
2020
- 2020-12-10 CN CN202011457999.4A patent/CN112463200A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190042231A1 (en) * | 2017-08-02 | 2019-02-07 | Accenture Global Solutions Limited | Component management platform |
CN108037928A (en) * | 2017-12-13 | 2018-05-15 | 北京小米移动软件有限公司 | Software development kit tools SDK detection method and device |
CN108763921A (en) * | 2018-05-29 | 2018-11-06 | 北京迪诺益佳信息科技有限公司 | A kind of method of application software and SDK management and control |
CN110286939A (en) * | 2019-05-21 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Development approach, device, equipment and the storage medium of Software Development Kit |
CN110727716A (en) * | 2019-10-24 | 2020-01-24 | 北京智游网安科技有限公司 | Identification method for integrated SDK in application, intelligent terminal and storage medium |
CN110806978A (en) * | 2019-10-31 | 2020-02-18 | 吉林亿联银行股份有限公司 | Defect management method and device for third-party component |
CN110990833A (en) * | 2019-10-31 | 2020-04-10 | 重庆小雨点小额贷款有限公司 | SDK safety detection method and related equipment |
CN111124486A (en) * | 2019-12-05 | 2020-05-08 | 任子行网络技术股份有限公司 | Method, system and storage medium for discovering android application to refer to third-party tool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111506900B (en) | Vulnerability detection method and device, electronic equipment and computer storage medium | |
CN110674047B (en) | Software testing method and device and electronic equipment | |
CN114328208A (en) | Code detection method and device, electronic equipment and storage medium | |
CN111324441A (en) | Operating environment switching method and device, computer equipment and storage medium | |
CN110659210A (en) | Information acquisition method and device, electronic equipment and storage medium | |
CN110688111A (en) | Configuration method, device, server and storage medium of business process | |
CN109388568B (en) | Code testing method and device | |
CN114281663A (en) | Test processing method, test processing device, electronic equipment and storage medium | |
CN112069052A (en) | Abnormal object detection method, device, equipment and storage medium | |
CN111506904B (en) | Method and device for online bug repair | |
CN111124541B (en) | Configuration file generation method, device, equipment and medium | |
CN110716859A (en) | Method for automatically pushing test cases for modified codes and related device | |
CN108628909B (en) | Information pushing method and device | |
CN110908882A (en) | Performance analysis method and device of application program, terminal equipment and medium | |
CN111382017A (en) | Fault query method, device, server and storage medium | |
CN110674491B (en) | Method and device for real-time evidence obtaining of android application and electronic equipment | |
CN111399843B (en) | Method, system and electronic equipment for mapping SQL running information to SQL file | |
CN114338846B (en) | Message testing method and device | |
CN112463200A (en) | Development kit processing method and device, electronic device and storage medium | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN114090514A (en) | Log retrieval method and device for distributed system | |
CN111367791B (en) | Method, device, medium and electronic equipment for generating test case | |
CN111741046B (en) | Data reporting method, data acquisition method, device, equipment and medium | |
CN114443721A (en) | Data processing method and device, electronic equipment and storage medium | |
CN115729797A (en) | Code similarity function detection method and device, electronic equipment 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 |