Application processing method, device, electronic device, system and storage medium
By combining static analysis and dynamic analysis methods, a sensitive function detection set of the application is generated, which solves the problems of low efficiency and insufficient accuracy of sensitive function detection in the existing technology, and achieves more efficient and comprehensive detection results.
Patent Information
- Application Number
- CN202110104147.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-26
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-01-26
AI Technical Summary
In the existing technology, manual detection of sensitive functions in application installation packages has problems such as low efficiency, insufficient intuition, and inaccurate detection results, especially when static detection methods cannot accurately capture unused sensitive functions.
Using a method that combines static analysis and dynamic analysis, the static analysis sensitive function call set is obtained by decompiling the installation package, and the dynamic analysis sensitive function call set is obtained through the test device while the application is running, to generate more accurate and comprehensive sensitive function detection set.
It improves the efficiency and accuracy of sensitive function detection, ensures more comprehensive detection results, avoids the limitations of manual detection, and enhances the capture of sensitive function usage.
Smart Images

Figure CN112784272B
Abstract
Description
Technical Field
[0001] The present invention relates to computer technology, and in particular to an application processing method, device, electronic device, system and storage medium. Background Art
[0002] The legal compliance department of an enterprise needs to perform a compliance review of the installation package of an application. In the process of implementing the present invention, the inventors found that during the review process, it is necessary to manually inspect the files obtained by decompiling the installation package to determine which sensitive functions are called in the application. The so-called sensitive functions refer to functions that call sensitive permissions. Sensitive permissions may include permissions involving user privacy information (such as address books, text messages, etc.), permissions involving sensitive operating capabilities (such as cameras, microphones, etc.), etc. The method of manually detecting sensitive functions is not intuitive enough and has low detection efficiency. In addition, the method of detecting sensitive functions by manually inspecting the files obtained by decompiling the installation package is a static detection method that does not take into account the usage of sensitive functions. When the sensitive functions are not used, this detection method still has the problem of inaccurate detection results. Summary of the invention
[0003] Embodiments of the present invention provide an application processing method, device, electronic device, system and storage medium, which can improve the detection efficiency of sensitive functions and make the detection results more accurate and comprehensive.
[0004] In a first aspect, an embodiment of the present invention provides an application processing method, the method comprising:
[0005] Decompile the installation package of the target application to obtain the target file;
[0006] Determine a static analysis sensitive function call set of the target application program according to the target file and a first preset sensitive function library;
[0007] Acquire a dynamic analysis sensitive function call set of the target application from a test device, wherein the dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application;
[0008] A sensitive function detection set is generated for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set.
[0009] In a second aspect, an embodiment of the present invention provides another application processing method, including:
[0010] Running the target application, and determining whether the target application calls a sensitive function according to a second preset sensitive function library during the running process;
[0011] When the target application calls the sensitive function, generating a dynamic analysis sensitive function call set according to the sensitive function;
[0012] The dynamic analysis sensitive function call set is sent to a server.
[0013] In a third aspect, an embodiment of the present invention provides an application processing device, including:
[0014] A decompilation module is used to decompile the installation package of the target application to obtain the target file;
[0015] A first determination module, used to determine a static analysis sensitive function call set of the target application according to the target file and a first preset sensitive function library;
[0016] An acquisition module, used for acquiring a dynamic analysis sensitive function call set of the target application from a test device, wherein the dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application;
[0017] The first generating module is used to generate a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set.
[0018] In a fourth aspect, an embodiment of the present invention provides another application processing device, including:
[0019] A second determination module is used to run the target application and determine whether the target application calls a sensitive function according to a second preset sensitive function library during the running process;
[0020] A second generating module is used to generate a dynamic analysis sensitive function call set according to the sensitive function when the target application calls the sensitive function;
[0021] A sending module is used to send the dynamic analysis sensitive function call set to a server.
[0022] In a fifth aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, an application processing method as described in any one of the embodiments of the present invention is implemented.
[0023] In a sixth aspect, an embodiment of the present invention further provides an application processing system, a terminal, a server for executing an application processing method as described in any one of the embodiments of the present invention, and a test device for executing an application processing method as described in any one of the embodiments of the present invention.
[0024] In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements an application processing method as described in any one of the embodiments of the present invention.
[0025] In an embodiment of the present invention, the installation package of the target application can be decompiled to obtain the target file; the static analysis sensitive function call set of the target application is determined according to the target file and the first preset sensitive function library; the dynamic analysis sensitive function call set of the target application is obtained from the test device, and the dynamic analysis sensitive function call set is determined by the test device during the operation of the target application according to the second preset sensitive function library; a sensitive function detection set is generated for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set. In an embodiment of the present invention, the sensitive functions called by the target application can be automatically detected, and a sensitive function detection set is generated for the target application, which improves the efficiency of sensitive function detection compared to the manual detection method; and in the detection process, a sensitive function detection set is generated for the target application according to the static analysis sensitive function call set determined by the server itself and the dynamic analysis sensitive function call set determined by the test device during the operation of the application, and static detection methods and dynamic detection methods are used at the same time, and the dynamic detection results and static detection results are combined to make the detection results more accurate and comprehensive.
[0026] In addition, during static detection, static detection results of different dimensions are obtained based on the decompiled code files of different formats and the preset sensitive function libraries of different dimensions. The static detection results of different dimensions are combined to avoid missed detections and improve the comprehensiveness of the static detection results.
[0027] Furthermore, during dynamic detection, the application is run in a sandbox program and different running scenarios are switched, which improves the comprehensiveness of the dynamic detection results; the hook function is used to generate a dynamic analysis sensitive function call set to accurately capture the usage of sensitive functions and improve the accuracy of the dynamic detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flowchart of the application processing method provided by an embodiment of the present invention.
[0029] Figure 2 It is a flowchart of the permission audit method provided by an embodiment of the present invention.
[0030] Figure 3 It is another flowchart diagram of the application processing method provided by an embodiment of the present invention.
[0031] Figure 4 It is a structural diagram of an application processing device provided by an embodiment of the present invention.
[0032] Figure 5 It is another structural schematic diagram of the application processing device provided by an embodiment of the present invention.
[0033] Figure 6 It is a structural diagram of an application processing system provided by an embodiment of the present invention.
[0034] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0036] Figure 1 The present invention provides a flowchart of an application processing method provided in an embodiment of the present invention. The method can be executed by an application processing device provided in an embodiment of the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in a server. The following embodiments will be described by taking the device integrated in a server as an example. Figure 1 , the method may specifically include the following steps:
[0037] Step 101, decompile the installation package of the target application to obtain the target file.
[0038] For example, the target application may refer to an application that needs to be tested for sensitive functions. The target application may be an Android (mobile operating system developed by Google) application or an IOS (mobile operating system developed by Apple). The target application is an Android application. Specifically, a decompilation tool may be used to decompile the installation package of the target application to obtain a target file. The installation package of the target application may be an APK (Android application package) package or a Software Development Kit (SDK) package. Decompilation tools such as apktool, dex2jar, jd-gui, jadx, AXMLPrinter2, etc. The target file may include at least one of a register language smali code file and a source code file. The source code file may be, for example, a java file, a kotlin file, etc.
[0039] For example, you can use apktool or AXMLPrinter2 to decompile the installation package and parse it to get the classes.dex file, etc.; use baksmali to decompile the classes.dex file to get the smali code file; use dex2jar to parse the decompiled classes.dex file into a file with the suffix .jar, and use jd-gui to parse the .jar file into a java file to get the source code file.
[0040] Step 102: Determine a static analysis sensitive function call set of the target application program according to the target file and a first preset sensitive function library.
[0041] The static analysis sensitive function call set includes sensitive functions called by the target application obtained by the static analysis method. The sensitive function may include one or more functions. The static analysis method is an analysis method that does not run the target application.
[0042] For example, sensitive functions can refer to functions that call sensitive permissions, and sensitive permissions can include permissions involving user privacy information (such as contacts, text messages, etc.), permissions involving sensitive operating capabilities (such as cameras, microphones, etc.), etc. Permissions in the Android system are clearly divided into normal permissions (Normal Permission) and dangerous permissions (Dangerous Permission), and dangerous permissions belong to sensitive permissions.
[0043] For ease of management, the Android system organizes permissions with similar functions, such as the read_EXTERNAL_STORAGE permission and the write_EXTERNAL_STORAGE permission, into several permission groups. All permissions in the same group will be granted at the same time. In actual applications, the following two situations may occur:
[0044] (1) If an application requests a dangerous permission that has been declared in the global configuration file AndroidManifest.xml, and the application has not yet obtained any permissions in the permission group to which the dangerous permission belongs, the system will pop up a dialog box asking the user to agree to grant the permissions in the permission group (but will not specify which permission in the group).
[0045] (2) If an application requests a dangerous permission that has been declared in the global configuration file AndroidManifest.xml, and the application has already obtained any permission in the permission group to which the dangerous permission belongs, the system will immediately approve the request without any interaction with the user.
[0046] The difference between ordinary permissions and dangerous permissions can be seen from whether the permission will infringe on the user's privacy. Permissions such as setting the system time zone basically do not involve the user's privacy, so it is a common permission, while permissions such as reading contact information will obviously touch the user's private data, so it is a dangerous permission.
[0047] In a specific implementation, the first preset sensitive function library can be established in advance according to the following method:
[0048] (1) Obtain feature information of a preset sensitive function.
[0049] The preset sensitive function may be any function marked as a sensitive function, and the preset sensitive function includes a large number of sensitive functions. The characteristic information of the preset sensitive function may include the name of the preset sensitive function, the class name of the class to which the preset sensitive function belongs, the description information of the preset sensitive function, the name of the sensitive permission corresponding to the preset sensitive function, etc., which is not specifically limited here.
[0050] For example, a web crawler can be used to crawl feature information of a preset sensitive function, and then the feature information of the preset sensitive function crawled by the web crawler can be obtained; alternatively, the feature information of the preset sensitive function can be collected manually, for example, the feature information of the preset sensitive function can be manually sorted out, and then the sorted feature information of the preset sensitive function can be uploaded to the server through a terminal, and then the feature information of the preset sensitive function uploaded by the terminal can be obtained; in addition, the feature information of the preset sensitive function crawled by the web crawler and the feature information of the preset sensitive function uploaded by the terminal can be obtained at the same time, which is not specifically limited here.
[0051] (2) Create a preset sensitive function library based on the feature information of the preset sensitive function.
[0052] For example, query information may be constructed according to feature information of a preset sensitive function, and a preset sensitive function library may be created according to the constructed query information; for example, the constructed query information may be stored in a preset database, thereby obtaining a preset sensitive function library.
[0053] Specifically, when determining the sensitive functions called by the target application, query information can be extracted from a preset sensitive function library, and the query information can be used to query the target file to obtain the sensitive functions called by the target application. The queried sensitive functions may include one or more, and a static analysis sensitive function call set is generated for the target application based on the sensitive functions obtained from the query.
[0054] Step 103: Acquire a dynamic analysis sensitive function call set of the target application from the test device. The dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application.
[0055] The dynamic analysis sensitive function call set includes sensitive functions called by the target application program obtained by a dynamic analysis method. The sensitive function may include one or more functions. The dynamic analysis method is an analysis method for running the target application program.
[0056] For example, a sandbox program can be installed on the test device, and the target application can be run in the sandbox program, so as to use the sandbox program to provide an isolated environment for the operation of the target application, so as to facilitate the detection of sensitive functions. During the operation of the target application, it is determined whether the target application calls a sensitive function according to the second preset sensitive function library. When the target application calls a sensitive function, a pre-written hook function is executed, and the hook function is used to write the sensitive function into the preset set to obtain a dynamic analysis sensitive function call set, and then the dynamic analysis sensitive function call set is sent to the server, and the server receives the dynamic analysis sensitive function call set.
[0057] For example, the test device may be a computer device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc. that has a storage unit and a microprocessor installed therein and has computing capabilities.
[0058] Step 104: Generate a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set.
[0059] For example, the dynamic analysis sensitive function call set can be removed from the static analysis sensitive function call set to obtain a suspected sensitive function detection set, where the suspected sensitive function detection set includes sensitive functions suspected to be called by the target application.
[0060] For example, the intersection of the static analysis sensitive function call set and the dynamic analysis sensitive function call set may be calculated to obtain a definite sensitive function detection set, wherein the definite sensitive function detection set includes sensitive functions called by a definite target application.
[0061] In a specific implementation, the server can execute the application processing method provided by the embodiment of the present invention, perform sensitive function detection on the installation packages of each application in advance, generate a sensitive function detection set based on the detection results, and store the sensitive function detection set generated for each application. When a sensitive function detection request for a target application is received from a terminal, the storage can be queried to obtain the corresponding sensitive function detection set, and the obtained sensitive function detection set can be fed back to the terminal.
[0062] Alternatively, upon receiving a sensitive function detection request for a target application sent by the terminal, the server may execute the application processing method provided in the embodiment of the present invention, generate a sensitive function detection set for the target application, and feed back the sensitive function detection set to the terminal.
[0063] The terminal can display the sensitive function detection set fed back by the server. The legal and compliance department of the enterprise can learn about the sensitive functions called by the target application by viewing the sensitive function detection set.
[0064] In an embodiment of the present invention, sensitive functions called by a target application can be automatically detected, and a sensitive function detection set can be generated for the target application, which improves the efficiency of sensitive function detection compared to manual detection methods; and in the detection process, a sensitive function detection set is generated for the target application based on a static analysis sensitive function call set determined by the server itself and a dynamic analysis sensitive function call set determined by the test device during the operation of the application, and static detection methods and dynamic detection methods are used at the same time, and the dynamic detection results are combined with the static detection results, so that the detection results are more accurate and comprehensive.
[0065] In a specific embodiment, the first preset sensitive function library may include at least one of a smali sensitive function library, a source code sensitive function library, and a source code reflection sensitive function library, and the static analysis sensitive function call set may include any one of the smali sensitive function call set, the source code sensitive function call set, and the source code reflection sensitive function call set, or the union of any two, or the union of the three.
[0066] Among them, the data in the smali sensitive function library, the source code sensitive function library, and the source code reflection sensitive function library all represent preset sensitive functions. The number of preset sensitive functions represented in these three libraries can be the same or different. It can be understood that these three libraries use different data formats to represent preset sensitive functions from different dimensions.
[0067] For example, the smali sensitive function library can use a list of preset sensitive functions to represent preset sensitive functions. The list of names can be as follows:
[0068] r'Landroid / telephony / TelephonyManager;->getNetworkOperator|getDeviceId|getPhoneType|getSubscriberId|getLine1Number|getCellLocation|listen|getSimOperator
[0069] The character r' in the above expression is used to prevent character escape, L indicates that this is an object type, android / telephony / TelephonyManager is the Java package name, getNetworkOperator, getDeviceId, getPhoneType, getSubscriberId, getLine1Number, getCellLocation, listen, and getSimOperator represent the names of different sensitive functions.
[0070] For example, the smali sensitive function call set can be obtained as follows:
[0071] The smali code file is queried according to the smali sensitive function library to obtain a smali sensitive function call set. For example, the function name in the smali code file can be matched with the name list of the sensitive function in the smali sensitive function library, and the smali sensitive function call set can be created according to the names of the matched sensitive functions.
[0072] For example, the source code sensitive function library can use strings to represent preset sensitive functions. The strings can be divided into two types. One type of string is used to query classes (that is, to query the class name of the class to which the sensitive function belongs). This type of string can be called a first string; the other type of string is used to query sensitive functions (that is, to query the name of the sensitive function). This type of string can be called a second string.
[0073] Taking the sensitive function whose description information is "recording audio" as an example, the first string can be expressed as:
[0074] 'string1':'android.media.MediaRecorder', where android.media.MediaRecorder is the class name;
[0075] Then the second string can be represented as:
[0076] 'string2':'setAudioSource', where setAudioSource is the name of the sensitive function.
[0077] For example, the source code sensitive function call set can be obtained as follows:
[0078] The source code file is queried according to the source code sensitive function library to obtain a source code sensitive function call set. For example, data matching the first string, the second string, or both the first string and the second string may be queried in the source code file, and a source code sensitive function call set may be created according to the matching data.
[0079] Taking the example of searching for data matching both the first string (string 1) and the second string (string 2) in the source code file, the implementation code of the query method may be as follows:
[0080]
[0081] For example, the source code reflection sensitive function library can use regular expressions to represent preset sensitive functions. Regular expressions can be divided into two types. One type of regular expression is used to query classes (that is, to query the class name of the class to which the sensitive function belongs). This type of regular expression can be called a first regular expression; the other type of regular expression is used to query sensitive functions (that is, to query the name of the sensitive function). This type of regular expression can be called a second regular expression.
[0082] Taking the sensitive function whose description information is "HTTP network connection" as an example, the first regular expression can be expressed as:
[0083] 'regex1':r'HttpURLConnection|org\.apache\.http', where HttpURLConnection and org.apache.http are class names;
[0084] Then the second regular expression can be expressed as:
[0085] 'regex2':r'openConnection|connect|HttpRequest', where openConnection, connect, and HttpRequest are the names of sensitive functions.
[0086] The character r' in the above expression is used to prevent character escape. If a special character such as '\t' appears in the string, '\t' will be escaped without r', but '\t' can retain its original appearance after r' is added. The backslash \ is used to prevent a single character from being escaped, and the character r' is used when multiple backslash escapes are required.
[0087] There may be multiple class names in the first regular expression, which are connected by |. The class name is generally the package name imported in the decompiled source code file; there may be multiple sensitive function names in the second regular expression, which are connected by |.
[0088] For example, the source code reflection sensitive function call set can be obtained as follows:
[0089] The source code file is queried according to the source code reflection sensitive function library to obtain a source code reflection sensitive function call set. For example, data matching the first regular expression, the second regular expression, or both the first regular expression and the second regular expression may be queried in the source code file, and a source code reflection sensitive function call set is created according to the matching data.
[0090] In a specific embodiment, taking the example of searching for the first target data matching both the first regular expression (regular expression 1) and the second regular expression (regular expression 2) in the source code file, the implementation code of the query method may be as follows:
[0091]
[0092] In the specific implementation, by querying the source code file through the source code reflection sensitive function library, the sensitive functions called through the Java reflection mechanism can be obtained, which improves the comprehensiveness of sensitive function detection.
[0093] In the specific implementation, when performing static analysis, when the static analysis sensitive function call set takes the union of at least two of the smali sensitive function call set, the source code sensitive function call set, and the source code reflection sensitive function call set, it is equivalent to performing sensitive function detection from different dimensions, which can improve the comprehensiveness of the detection results.
[0094] In a specific embodiment, during static analysis, when the source code file is queried according to the source code sensitive function library to obtain the source code sensitive function call set, the position information of each sensitive function in the source code sensitive function call set in the source code file can also be obtained, and the sensitive functions can be marked in the source code file according to the position information (for example, highlighted, displayed differently, etc.).
[0095] When querying the source code file according to the source code reflection sensitive function library to obtain the source code reflection sensitive function call set, the location information of each sensitive function in the source code reflection sensitive function call set in the source code file can also be obtained, and the sensitive functions can be marked in the source code file according to the location information (for example, highlighting, distinguishing, etc.).
[0096] When both the source code sensitive function library and the source code reflection sensitive function library are used, the union of the location information obtained by the two methods may be taken, and the sensitive functions may be marked in the source code file according to the union.
[0097] In a specific embodiment, when the dynamic analysis obtains the dynamic analysis sensitive function call set of the target application from the test device, the running characteristic information of the target application intercepted by the hook function during the generation process of the dynamic analysis sensitive function call set can also be obtained from the test device. The running characteristic information may include a function call stack, a class name, description information, etc., wherein the function call stack includes the original code line number that is run when the sensitive function is called, and the sensitive function can be marked in the original code file of the target application according to the original code line number.
[0098] It should be noted that there are certain differences between the original code in the original code file of the target application and the source code in the decompiled source code file. By marking sensitive functions in the source code file and in the original code file respectively, and sending the marked files as detection results to the terminal, it is convenient for managers to view the code call locations of sensitive functions in a differentiated manner, which is convenient for managers to conduct compliance audits.
[0099] In a specific embodiment, the permission review can also be performed in combination with the detected sensitive functions that are determined to be called and the permissions that have been applied for, as shown in the following example: Figure 2 As shown, the following steps are included:
[0100] Step 201, obtaining sensitive permissions corresponding to sensitive functions in a sensitive function detection set.
[0101] For example, there is a corresponding relationship between sensitive functions and sensitive permissions. For example, the sensitive permission corresponding to the sensitive function requestLocationUpdates is ACCESS_FINE_LOCATION, the sensitive permission corresponding to the sensitive function Camera.open is CAMERA, and the sensitive permission corresponding to the sensitive function setAudioSource is RECORD_AUDIO. The sensitive permissions corresponding to the sensitive functions in the sensitive function detection set can be obtained based on the corresponding relationship.
[0102] Step 202: Obtain application permissions from a global configuration file obtained by decompiling the installation package of the target application.
[0103] For example, the global configuration file AndroidManifest.xml file can be obtained by decompiling the installation package of the target application using apktool or AXMLPrinter2. The global configuration file AndroidManifest.xml file is the configuration manifest file of the application, which contains the basic information, component information, permission information, etc. of the application. The basic information of the application includes: the package name PackageName of the application, the version code VersionCode, the version name VersionName, whether debugging is allowed android:debuggable, the application icon android:icon, the process name android:process of the application, whether multi-process is allowed android:multiprocess, etc., the SDK version required in the application, the metadata attribute meta-data attribute, where the meta-data attribute includes the name of the metadata item android:name, a reference to a resource android:resource, and the value assigned to this item android:value, etc. The component information of the application includes: the class information and declaration information of the four major components Activity, service service, broadcast receiver BroadcastReceiver and content provider ContentProvider, etc. The permission information of an application, for example: system predefined permissions uses-permission, custom permissions permission, permission groups permission-grouppermissions, permission trees permission-tree, etc.
[0104] Specifically, the system predefined permission uses-permission can be obtained from the global configuration file, where uses-permission is the permission that the application applies for from the system.
[0105] Step 203, generating a permission review report based on the sensitive permissions and the applied permissions.
[0106] For example, the method of generating a permission audit report may be as follows:
[0107] (1) Search for target permissions based on the matching relationship between sensitive permissions and requested permissions.
[0108] For example, you can search for permissions that do not match sensitive permissions in the application permissions to obtain redundant application permissions, that is, to find permissions that exist in the application permissions but do not exist in the sensitive permissions. Redundant application permissions are usually permissions that have been applied for but not used, and are non-compliant permissions.
[0109] You can search for permissions that do not match the applied permissions in sensitive permissions to obtain redundant permissions, that is, to find permissions that exist in sensitive permissions but not in applied permissions. Redundant permissions are usually permissions that are not applied for but used, and are non-compliant permissions.
[0110] You can search for permissions in sensitive permissions that match the applied permissions but have no authorization request information configured, and obtain illegal usage permissions. That is, you can search for permissions that exist in both sensitive permissions and applied permissions but have no permission notification information configured. Illegally used permissions are usually permissions that have been applied for and used but no authorization has been requested from the user or the user has not been notified of the usage. They are non-compliant permissions.
[0111] (2) Generate a permission audit report based on the target permissions.
[0112] For example, the target permissions may be marked with an audit mark, which includes but is not limited to redundant application permissions, redundant use permissions, illegal use permissions, non-compliant permissions, etc., thereby obtaining a permission audit report.
[0113] For example, for an application for permission A, if the sensitive permissions do not include permission A, that is, there is no function calling permission A in the source code, then permission A is not used, which is an excessive application and is considered a non-compliant permission.
[0114] For another example, for an application for permission A, if permission A is included in sensitive permissions, that is, there is a function that calls permission A in the source code, and the application has not yet obtained any permission in the permission group to which permission A belongs, in this case, there needs to be clear permission notification information to notify the user. If there is no clear permission notification information to notify the user, it is illegal use and is regarded as non-compliant permission.
[0115] For example, for a certain sensitive permission B, permission B does not belong to the applied permissions, that is, it is not applied but called, which is redundant use and is regarded as a non-compliant permission.
[0116] In a specific implementation, the permission audit report can also be sent to the terminal. The administrator can learn about the permission compliance status by viewing the permission audit report, which facilitates the administrator's audit of the application.
[0117] It should be noted that combining the sensitive functions in the sensitive function detection set and the applied permissions for permission review can improve the accuracy of the permission review results. In actual applications, permission review can also be combined with the sensitive functions in the suspected sensitive function detection set and the applied permissions. No specific limitation is made here.
[0118] It should be understood that although Figure 1 , 2The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0119] Figure 3 Another flowchart of the application processing method provided by the embodiment of the present invention is provided. The method can be executed by the application processing device provided by the embodiment of the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in a test device. The following embodiments will be described by taking the device integrated in the test device as an example. Figure 3 , the method may specifically include the following steps:
[0120] Step 301 , running a target application, and determining whether the target application calls a sensitive function according to a second preset sensitive function library during the running process.
[0121] For example, a sandbox program may be installed on a test device, and a target application may be run in the sandbox program, so that the sandbox program can be used to provide an isolated environment for the running of the target application, thereby facilitating sensitive function detection.
[0122] In the specific implementation, when running the target application in the sandbox program, you can switch to different scenarios to achieve comprehensive detection of sensitive functions. Different scenarios include: foreground scenario, Home button switching to background scenario, Home button switching to foreground scenario, lock screen scenario, unlock scenario, communication scenario, device restart scenario, etc.
[0123] During the operation of the target application, it is determined whether the target application calls a sensitive function based on the second preset sensitive function library. For example, during the operation, it is possible to monitor whether the function called by the target application belongs to the second preset sensitive function library. When the function called by the target application belongs to the second preset sensitive function library, it is determined that the target application has called a sensitive function.
[0124] In a specific implementation, the method for creating the second preset sensitive function library may be similar to the method for creating the first preset sensitive function library, which will not be described in detail here. The second preset sensitive function library may be created by a specific server and sent to the test device, or may be created by the test device itself.
[0125] Step 302: When the target application calls a sensitive function, a dynamic analysis sensitive function call set is generated according to the sensitive function.
[0126] For example, when the target application calls a sensitive function, a pre-written hook function can be executed. The hook function can be used to write the sensitive function into a preset set to obtain a dynamic analysis sensitive function call set. The hook function can be used to accurately capture the usage of the sensitive function, thereby improving the accuracy of the dynamic detection results.
[0127] Step 303: Send the dynamic analysis sensitive function call set to the server.
[0128] Specifically, after the dynamic sensitive function call set is sent to the server, the server may generate a sensitive function detection set for the target application according to the static analysis sensitive function call set generated by itself and the dynamic analysis sensitive function call set.
[0129] In addition, when the target application calls a sensitive function, the hook function can also be used to intercept the running characteristic information of the target application. The running characteristic information may include a function call stack, a class name, a description information, etc., wherein the function call stack includes the original code line number when the sensitive function is called. The running characteristic information is sent to the server so that the server can mark the sensitive function in the original code file of the target application according to the original code line number.
[0130] In an embodiment of the present invention, sensitive functions called by a target application can be automatically detected, and a sensitive function detection set can be generated for the target application, which improves the efficiency of sensitive function detection compared to manual detection methods; and in the detection process, a sensitive function detection set is generated for the target application based on a static analysis of the sensitive function call set and a dynamic analysis of the sensitive function call set, and the dynamic detection results and the static detection results are combined to make the detection results more accurate and comprehensive.
[0131] Figure 4 FIG. 1 is a structural diagram of an application processing device provided by an embodiment of the present invention, and the device is suitable for executing the application processing method provided by an embodiment of the present invention. Figure 4 As shown, the device may specifically include:
[0132] A decompile module 401 is used to decompile the installation package of the target application to obtain a target file;
[0133] A first determination module 402, configured to determine a static analysis sensitive function call set of the target application program according to the target file and a first preset sensitive function library;
[0134] An acquisition module 403 is used to acquire a dynamic analysis sensitive function call set of the target application from a test device, wherein the dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application;
[0135] The first generating module 404 is used to generate a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set.
[0136] In one embodiment, the target file includes at least one of a smali code file and a source code file;
[0137] The first preset sensitive function library includes at least one of a smali sensitive function library, a source code sensitive function library, and a source code reflection sensitive function library;
[0138] The static analysis sensitive function call set includes any one of a smali sensitive function call set, a source code sensitive function call set, a source code reflection sensitive function call set, or a union of any two of them, or a union of the three.
[0139] In one embodiment, the smali sensitive function call set is obtained by:
[0140] The smali code file is queried according to the smali sensitive function library to obtain the smali sensitive function call set.
[0141] In one embodiment, the source code sensitive function call set is obtained by:
[0142] The source code file is queried according to the source code sensitive function library to obtain the source code sensitive function call set.
[0143] In one embodiment, the source code reflection sensitive function call set is obtained by:
[0144] The source code file is queried according to the source code reflection sensitive function library to obtain the source code reflection sensitive function call set.
[0145] In one embodiment, the first generating module 404 generates a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set, including:
[0146] The dynamic analysis sensitive function call set is removed from the static analysis sensitive function call set to obtain a suspected sensitive function detection set.
[0147] In one embodiment, the first generating module 404 generates a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set, including:
[0148] The intersection of the static analysis sensitive function call set and the dynamic analysis sensitive function call set is calculated to obtain a determined sensitive function detection set.
[0149] In one embodiment, the first generating module 404 is further configured to:
[0150] Obtaining sensitive permissions corresponding to the sensitive functions in the determined sensitive function detection set;
[0151] Obtain application permissions from the global configuration file obtained by decompiling the target application's installation package;
[0152] Generate a permission audit report based on the sensitive permissions and the applied permissions.
[0153] In one embodiment, the device further comprises:
[0154] The interactive module is used to receive a sensitive function detection request for the target application sent by the terminal, and send the sensitive function detection set to the terminal.
[0155] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0156] The device of the embodiment of the present invention can automatically detect sensitive functions called by the target application and generate a sensitive function detection set for the target application, which improves the efficiency of sensitive function detection compared to manual detection methods; and in the detection process, a sensitive function detection set is generated for the target application based on the static analysis sensitive function call set determined by the server itself and the dynamic analysis sensitive function call set determined by the test equipment during the application running process, and static detection methods and dynamic detection methods are adopted at the same time, and the dynamic detection results are combined with the static detection results, so that the detection results are more accurate and comprehensive.
[0157] Figure 5FIG. 1 is another structural diagram of an application processing device provided by an embodiment of the present invention, and the device is suitable for executing the application processing method provided by an embodiment of the present invention. Figure 5 As shown, the device may specifically include:
[0158] A second determination module 501 is used to run the target application and determine whether the target application calls a sensitive function according to a second preset sensitive function library during the running process;
[0159] A second generating module 502 is used to generate a dynamic analysis sensitive function call set according to the sensitive function when the target application calls the sensitive function;
[0160] The sending module 503 is used to send the dynamic analysis sensitive function call set to the server.
[0161] In one embodiment, the second determining module 501 runs the target application, including:
[0162] The target application is run in a sandbox program.
[0163] In one embodiment, the second determination module 501 determines whether the target application calls a sensitive function according to a second preset sensitive function library during operation, including:
[0164] During the running process, monitoring whether the function called by the target application belongs to the second preset sensitive function library;
[0165] When the function called by the target application belongs to the second preset sensitive function library, it is determined that the target application has called the sensitive function.
[0166] In one embodiment, the second generating module 502 generates a dynamic analysis sensitive function call set according to the sensitive function, including:
[0167] The dynamic analysis sensitive function call set is obtained by running the hook function to write the sensitive function into a preset set.
[0168] The device of the embodiment of the present invention can automatically detect sensitive functions called by the target application and generate a sensitive function detection set for the target application, which improves the efficiency of sensitive function detection compared to manual detection methods; and in the detection process, a sensitive function detection set is generated for the target application based on the static analysis sensitive function call set and the dynamic analysis sensitive function call set, and the dynamic detection results and the static detection results are combined to make the detection results more accurate and comprehensive.
[0169] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the application processing method provided in any of the above embodiments is implemented.
[0170] An embodiment of the present invention further provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the application processing method provided in any of the above embodiments is implemented.
[0171] Figure 6 An exemplary system architecture to which the application processing method or application processing device according to the embodiment of the present invention can be applied is shown.
[0172] like Figure 6 As shown, the system architecture may include a terminal 601, a server 602 for executing the application processing method of the embodiment of the present invention, and a test device 603 for executing the application processing method of the embodiment of the present invention.
[0173] The terminal 601, the server 602, and the test device 603 include a network between each other, the network is used to provide a medium for the communication link, and the network may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. Among them, the interaction between various devices can refer to the description of the previous embodiment, which will not be repeated here.
[0174] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of an electronic device suitable for implementing an embodiment of the present invention. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0175] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0176] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0177] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.
[0178] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0179] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0180] The modules and / or units involved in the embodiments of the present invention may be implemented in software or hardware. The modules and / or units described may also be set in a processor, for example, it may be described as: a processor includes a decompilation module, a first determination module, an acquisition module, and a first generation module; or it may be described as: a processor includes a second determination module, a second generation module, and a sending module. The names of these modules do not, in some cases, constitute limitations on the modules themselves.
[0181] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: decompiling the installation package of the target application to obtain the target file; determining the static analysis sensitive function call set of the target application based on the target file and the first preset sensitive function library; obtaining the dynamic analysis sensitive function call set of the target application from the test device, and the dynamic analysis sensitive function call set is determined by the test device during the operation of the target application according to the second preset sensitive function library; generating a sensitive function detection set for the target application based on the static analysis sensitive function call set and the dynamic analysis sensitive function call set.
[0182] Alternatively, when the above one or more programs are executed by a device, the device includes: running a target application, and determining whether the target application calls a sensitive function according to a second preset sensitive function library during the running process; when the target application calls the sensitive function, generating a dynamic analysis sensitive function call set according to the sensitive function; and sending the dynamic analysis sensitive function call set to a server.
[0183] According to the technical solution of the embodiments of the present invention, sensitive functions called by the target application can be automatically detected, and a sensitive function detection set can be generated for the target application, which improves the efficiency of sensitive function detection compared to manual detection methods; and in the detection process, a sensitive function detection set is generated for the target application based on the static analysis of the sensitive function call set and the dynamic analysis of the sensitive function call set, and static detection methods and dynamic detection methods are used at the same time, and the dynamic detection results are combined with the static detection results, so that the detection results are more accurate and comprehensive.
[0184] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An application processing method, characterized in that: include: Decompiling the installation package of the target application to obtain a target file, wherein the target file includes a source code file; Determining a static analysis sensitive function call set of the target application according to the target file and a first preset sensitive function library, wherein the first preset sensitive function library includes a source code sensitive function library and / or a source code reflection sensitive function library, and correspondingly, the static analysis sensitive function call set includes a source code sensitive function call set and / or a source code reflection sensitive function call set; Acquire a dynamic analysis sensitive function call set and a function call stack of the target application from a test device, wherein the dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application, the sensitive functions in the dynamic analysis sensitive function call set are functions called by the target application that belong to the second preset sensitive function library, and the function call stack includes the original code line number that the target application runs to when calling the sensitive function; Generate a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set; Obtaining location information of each sensitive function in the static analysis sensitive function call set in the source code file, and marking the sensitive function in the source code file according to the location information; Marking sensitive functions in the original code file of the target application according to the original code line number; There are differences between the original code in the original code file of the target application and the source code in the source code file.
2. The application processing method according to claim 1, characterized in that: The target file also includes a smali code file; The first preset sensitive function library also includes a smali sensitive function library; The static analysis sensitive function call set also includes a smali sensitive function call set.
3. The application processing method according to claim 2, characterized in that: The smali sensitive function call set is obtained in the following way: The smali code file is queried according to the smali sensitive function library to obtain the smali sensitive function call set.
4. The application processing method according to claim 2, characterized in that: The source code sensitive function call set is obtained in the following way: The source code file is queried according to the source code sensitive function library to obtain the source code sensitive function call set.
5. The application processing method according to claim 2, characterized in that: The source code reflection sensitive function call set is obtained in the following way: The source code file is queried according to the source code reflection sensitive function library to obtain the source code reflection sensitive function call set.
6. The application processing method according to any one of claims 1 to 5, characterized in that: Generating a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set includes: The dynamic analysis sensitive function call set is removed from the static analysis sensitive function call set to obtain a suspected sensitive function detection set.
7. The application processing method according to any one of claims 1 to 5, characterized in that: Generating a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set includes: The intersection of the static analysis sensitive function call set and the dynamic analysis sensitive function call set is calculated to obtain a determined sensitive function detection set.
8. The application processing method according to claim 7, characterized in that: The method further comprises: Obtaining sensitive permissions corresponding to the sensitive functions in the determined sensitive function detection set; Obtaining application permissions from a global configuration file obtained by decompiling the installation package of the target application; Generate a permission audit report based on the sensitive permissions and the applied permissions.
9. The application processing method according to claim 1, characterized in that: The method further comprises: Receiving a sensitive function detection request for the target application sent by a terminal; The sensitive function detection set is sent to the terminal.
10. An application processing method, characterized in that: include: Running the target application, and determining whether the target application calls a sensitive function according to a second preset sensitive function library during the running process; When the target application calls the sensitive function, a dynamic analysis sensitive function call set is generated according to the sensitive function, wherein the sensitive functions in the dynamic analysis sensitive function call set are functions belonging to the second preset sensitive function library among the functions called by the target application; Sending the dynamic analysis sensitive function call set and function call stack to a server, wherein the function call stack includes the original code line number to which the target application runs when calling the sensitive function, so that the server marks the sensitive function in the original code file of the target application according to the original code line number; The source code file obtained by decompiling the installation package of the target application has sensitive function markings made by the server in the source code file according to the position information of each sensitive function in the static analysis sensitive function call set in the source code file, the static analysis sensitive function call set includes a source code sensitive function call set and / or a source code reflection sensitive function call set, the source code sensitive function call set is determined by the server according to the source code file and the source code sensitive function library, and the source code reflection sensitive function call set is determined by the server according to the source code file and the source code reflection sensitive function library; There are differences between the original code in the original code file of the target application and the source code in the source code file.
11. The application processing method according to claim 10, characterized in that: The running target application comprises: The target application is run in a sandbox program.
12. The application processing method according to claim 10, characterized in that: The running target application comprises: The target application is run in different scenarios.
13. The application processing method according to claim 10, characterized in that: The determining whether the target application calls a sensitive function according to a second preset sensitive function library during the running process includes: During the running process, monitoring whether the function called by the target application belongs to the second preset sensitive function library; When the function called by the target application belongs to the second preset sensitive function library, it is determined that the target application has called the sensitive function.
14. The application processing method according to any one of claims 10 to 13, characterized in that: Generating a dynamic analysis sensitive function call set according to the sensitive function includes: The dynamic analysis sensitive function call set is obtained by running the hook function to write the sensitive function into a preset set.
15. An application processing device, characterized in that: include: A decompile module, used to decompile the installation package of the target application to obtain a target file, wherein the target file includes a source code file; A first determination module, configured to determine a static analysis sensitive function call set of the target application according to the target file and a first preset sensitive function library, wherein the first preset sensitive function library includes a source code sensitive function library and / or a source code reflection sensitive function library, and correspondingly, the static analysis sensitive function call set includes a source code sensitive function call set and / or a source code reflection sensitive function call set; an acquisition module, used for acquiring a dynamic analysis sensitive function call set and a function call stack of the target application from a test device, wherein the dynamic analysis sensitive function call set is determined by the test device according to a second preset sensitive function library during the running of the target application, the sensitive functions in the dynamic analysis sensitive function call set are functions called by the target application that belong to the second preset sensitive function library, and the function call stack includes the original code line number to which the target application runs when calling the sensitive function; A first generating module is used to generate a sensitive function detection set for the target application according to the static analysis sensitive function call set and the dynamic analysis sensitive function call set; obtain the position information of each sensitive function in the static analysis sensitive function call set in the source code file, and mark the sensitive function in the source code file according to the position information; Marking sensitive functions in the original code file of the target application according to the original code line number; There are differences between the original code in the original code file of the target application and the source code in the source code file.
16. An application processing device, characterized in that: include: A second determination module is used to run the target application and determine whether the target application calls a sensitive function according to a second preset sensitive function library during the running process; A second generating module is used to generate a dynamic analysis sensitive function call set according to the sensitive function when the target application calls the sensitive function, wherein the sensitive functions in the dynamic analysis sensitive function call set are functions belonging to the second preset sensitive function library among the functions called by the target application; A sending module, configured to send the dynamic analysis sensitive function call set and function call stack to a server, wherein the function call stack includes the original code line number to which the target application runs when calling the sensitive function, so that the server marks the sensitive function in the original code file of the target application according to the original code line number; The source code file obtained by decompiling the installation package of the target application has sensitive function markings made by the server in the source code file according to the position information of each sensitive function in the static analysis sensitive function call set in the source code file, the static analysis sensitive function call set includes a source code sensitive function call set and / or a source code reflection sensitive function call set, the source code sensitive function call set is determined by the server according to the source code file and the source code sensitive function library, and the source code reflection sensitive function call set is determined by the server according to the source code file and the source code reflection sensitive function library; There are differences between the original code in the original code file of the target application and the source code in the source code file.
17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the application processing method as described in any one of claims 1 to 9 is implemented, or when the processor executes the program, the application processing method as described in any one of claims 10 to 14 is implemented.
18. An application processing system, characterized in that: The invention comprises a terminal, a server for executing the application processing method as claimed in any one of claims 1 to 9, and a test device for executing the application processing method as claimed in any one of claims 10 to 14.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the application processing method as described in any one of claims 1 to 9, or when the program is executed by a processor, it implements the application processing method as described in any one of claims 10 to 14.
