Risk detection method and device, storage medium and electronic equipment

By obtaining and analyzing comprehensive data of the target application, judging its operating environment and conducting security verification, it solves the problem of bad user violations in Android emulator technology and ensures the security and user experience of the application software.

CN118709183AInactive Publication Date: 2024-09-27广州三七极耀网络科技有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410772921.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing Android emulator technology is used, bad users may commit violations through multiple openings and scripts, resulting in hidden risks in the application software running environment that are difficult to accurately identify and prevent.

Method used

By obtaining the comprehensive application data of the target application, including device parameters and user operation behavior data, input it into the preset application environment detection model to determine whether it is an Android emulator environment, and display the security verification interface when it is determined to be an emulator environment. Perform user verification and ultimately risk detection.

Benefits of technology

It achieves accurate judgment and risk detection of the operating environment of application software, prevents bad users from performing illegal operations through Android emulators, and protects the normal operation and user experience of application software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709183A
    Figure CN118709183A
Patent Text Reader

Abstract

The invention discloses a risk detection method and device, a storage medium and electronic equipment, and the method specifically comprises the steps: determining an application environment detection result for a target application according to the obtained comprehensive application data corresponding to the target application; and then, under the condition that the operation environment of the target application is determined to be an Android simulator environment according to the application environment detection result, displaying a security verification interface to the user, so that the user performs security verification based on the security verification interface to obtain a security verification result corresponding to the target application. And finally, performing risk detection on the target application according to the security verification result, and determining a risk detection result for the target application. According to the method, whether the target application is in a safe simulator environment or not can be accurately judged, whether the target application is normally operated under manual active operation or not can be accurately recognized, normal operation of the target application is effectively protected, and meanwhile the use experience and equity of rights of normal users are indirectly guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a risk detection method, device, storage medium and electronic device. Background Art

[0002] At present, with the rapid development of computer technology, Android emulator technology is becoming more and more mature. The emergence of this technology effectively solves the problem of how applications developed based on mobile terminals can be run and used on other terminal devices (such as computers, notebooks, etc.), bringing a certain degree of convenience to users and application developers.

[0003] Although Android emulator technology has strong applicability and convenience, this technology also has some obvious defects when used. Among them, one of the more serious impacts is that many bad users use the convenience of Android emulators to conduct a large number of repeated violations. For example, multiple Android emulators are opened at the same time in a terminal device, and a large number of repeated order-brushing behaviors are performed on a certain online shopping software using a pre-set script program. For another example, illegal behaviors such as cracking and cheating game application software through Android emulators seriously undermine the balance of the game. The emergence of such problems has seriously affected the normal operation of various application software and created risks to the operating environment of the application software.

[0004] Therefore, how to accurately identify whether the operating environment of the application software is risky is an urgent problem to be solved. Summary of the invention

[0005] This specification provides a risk detection method, device, storage medium and electronic device to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This specification provides a risk detection method, including:

[0008] Acquire comprehensive application data corresponding to the target application, wherein the comprehensive application data contains device parameters corresponding to the device on which the target application runs, and user operation behavior data for the target application;

[0009] Inputting the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, and the application environment detection result is used to indicate whether the operating environment of the target application is an Android simulator environment;

[0010] In the case where it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, a security verification interface is displayed to the user through the target application to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface;

[0011] According to the security verification result, risk detection is performed on the target application.

[0012] Optionally, the step of obtaining the comprehensive application data corresponding to the target application specifically includes:

[0013] When the target application is detected to be started, the device parameters corresponding to the device on which the target application is running are obtained, and after the target application runs for a set time, the user's operation behavior data for the target application within the set time is obtained.

[0014] Optionally, before the step of inputting the comprehensive application data into a preset application environment detection model so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, the method further includes:

[0015] Query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result;

[0016] The step of inputting the comprehensive application data into a preset application environment detection model so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data specifically includes:

[0017] When it is determined according to the query result that the operating environment of the target application is not an Android simulator environment, the comprehensive application data is input into the application environment detection model so that the application environment detection model obtains the application environment detection result according to the comprehensive application data.

[0018] Optionally, when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, before the step of displaying a security verification interface to the user through the target application, the method further includes:

[0019] Query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result;

[0020] The step of displaying a security verification interface to the user through the target application when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment specifically includes:

[0021] When it is determined that the operating environment of the target application is an Android simulator environment based on the query results and the application environment detection results, a security verification interface is displayed to the user through the target application.

[0022] Optionally, the step of determining that the operating environment of the target application is an Android simulator environment according to the query result and the application environment detection result specifically includes:

[0023] When it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator include the device parameters corresponding to the device on which the target application is running, or when it is determined according to the application environment detection result that the running environment of the target application is an Android simulator environment, it is determined that the running environment of the target application is an Android simulator environment.

[0024] Optionally, the method further includes:

[0025] When it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator do not include the device parameters corresponding to the device on which the target application is running, and when it is determined according to the application environment detection result that the running environment of the target application is the Android simulator environment, the device parameters corresponding to the device on which the target application is running are determined as the device parameters simulated by the Android simulator and saved.

[0026] Optionally, when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, the step of displaying a security verification interface to the user through the target application to obtain a security verification result for the target application based on a security verification operation performed by the user in the security verification interface specifically includes:

[0027] When it is determined that the operating environment of the target application is an Android emulator environment based on the application environment detection result, a security verification interface is displayed to the user through the target application, and a screenshot instruction is generated to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface and the desktop interface displayed on the screen of the device running the target application captured by the screenshot instruction, wherein the screenshot instruction is generated based on the user's authorized operation.

[0028] This specification provides a risk detection device, including:

[0029] An acquisition module, used to acquire comprehensive application data corresponding to a target application, wherein the comprehensive application data contains device parameters corresponding to a device on which the target application runs, and user operation behavior data for the target application;

[0030] An environment detection module, used for inputting the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, and the application environment detection result is used to indicate whether the operating environment of the target application is an Android simulator environment;

[0031] A security verification module, for displaying a security verification interface to the user through the target application when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, so as to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface;

[0032] The risk detection module is used to perform risk detection on the target application according to the security verification result.

[0033] This specification provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the risk detection method described above is implemented.

[0034] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the risk detection method is implemented when the processor executes the program.

[0035] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0036] It can be seen from the above method that in the risk detection method provided in this specification, the application environment detection result for the target application is determined based on the comprehensive application data corresponding to the target application obtained. Then, when it is determined that the operating environment of the target application is an Android simulator environment based on the application environment detection result, the security verification interface is displayed to the user, so that the user performs security verification based on the security verification interface and determines the security verification result corresponding to the target application. Finally, based on the security verification result, the target application is subjected to risk detection to determine the risk detection result for the target application.

[0037] From the above content, it can be seen that the risk detection method provided in this specification can determine the application environment detection results based on the comprehensive application data corresponding to the target application, and determine whether to perform security verification based on the application environment detection results. Then, perform risk detection on the operating environment of the target application based on the security verification results. Determine the corresponding risk detection results. This method can accurately determine whether the target application is in a secure simulator environment, and can also accurately identify whether the target application is in normal operation, and whether there may be some abnormal operations such as script hanging, illegal registration, etc. This method can greatly avoid the occurrence of bad users using Android simulators to perform illegal operations, which not only protects the normal operation of the target application, but also guarantees the user experience and rights fairness of other normal users. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0039] Figure 1 A schematic diagram of a risk detection method provided in this specification;

[0040] Figure 2 A schematic diagram of the overall process architecture of a risk detection method provided in this specification;

[0041] Figure 3 A schematic diagram of a risk detection device provided in this specification;

[0042] Figure 4 A method provided in this specification corresponding to Figure 1 Schematic diagram of the structure of an electronic device. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0044] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0045] Figure 1 A flow chart of a risk detection method provided in this specification includes the following steps:

[0046] S101: Obtain comprehensive application data corresponding to a target application.

[0047] S102: Inputting the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data.

[0048] At present, Android simulator technology is becoming more and more perfect with the rapid development of science and technology, which has brought great convenience to mobile application developers and users. However, while Android simulators bring convenience, they also allow bad users to take advantage of the opportunity. At this stage, some users take advantage of the flexibility of Android simulators, implement multiple operations and cooperate with automated scripts to conduct large-scale repeated violations of application software. For example, a large number of orders are placed on shopping platforms, and game application software is illegally cracked and cheated. All kinds of behaviors seriously interfere with the normal operation and order maintenance of applications. These improper behaviors have caused a certain degree of risk hazards to the operating environment of application software. Therefore, it is crucial to accurately detect risks in the operating environment of application software.

[0049] To this end, this specification provides a risk detection method, wherein the execution subject adopted by the method provided in this specification can be a terminal device such as a desktop computer, a laptop computer, or a server. In addition, the execution subject of this specification can also be a subject in the form of software, such as a client installed in a terminal device. For the sake of convenience, this specification only takes the server as the execution subject to describe the risk detection method provided.

[0050] Based on this, the server using the risk detection method provided in this specification can determine the application environment detection result corresponding to the target application based on the comprehensive application data of the target application to determine whether the target application is in the Android simulator environment. And when it is determined that the target application is in the Android simulator environment, security verification is performed on the user to determine the security verification result. Then, based on the obtained security verification result, risk detection is performed on the target application.

[0051] Among them, the application scenario of the server's risk detection for the target application can be determined according to actual needs. For example, when performing data analysis on the online shopping platform software, the server can determine whether the user is in the Android simulator environment when registering or using the online shopping platform software based on the comprehensive application data obtained, and determine whether there are risks in the application environment through security verification, so that bad accounts can be detected and sanctioned in time to avoid the occurrence of a large number of illegal account registrations, repeated orders, etc. For another example, when performing statistical analysis on the data generated by the target application, the server can determine which data in the comprehensive data may be generated by the target application in a risky environment based on the comprehensive application data corresponding to the target application, so as to eliminate such data and ensure the authenticity and reliability of the data source when conducting a unified analysis of the target application later.

[0052] In this specification, the server can obtain the comprehensive application data corresponding to the target application, and input the comprehensive application data into the preset application environment detection model, so that the application environment detection model can determine the application environment detection result for the target application based on the comprehensive application data. Among them, the comprehensive application data corresponding to the above-mentioned target application can specifically include the device parameters corresponding to the device based on which the target application is running, and the operation behavior data performed by the user on the target application.

[0053] Specifically, after monitoring the start of the target application, the server can directly collect the device parameters corresponding to the device on which the target application is based when running. It should be noted that, assuming that a certain target application is started in the Android simulator in the computer device, the device parameters that the server can obtain should be the mobile device environment simulated by the Android simulator, rather than the device parameters corresponding to the computer device. The device parameter data can specifically include but is not limited to: Android system version parameters, mobile terminal hardware parameters (such as mobile terminal processor model, running memory size, camera parameters, etc.), network connection status (such as WIFI connection, mobile data connection), etc.

[0054] Next, the server can collect and save the operation behavior data of the target application when the user uses the target application within a preset time. The operation behavior data obtained can specifically include but is not limited to: user manual click operation behavior data, user manual sliding operation behavior data, gyroscope usage record data, etc.

[0055] Taking the user's manual sliding operation behavior data as an example, in a normal mobile terminal device, the user's manual sliding operation behavior data can accurately record the position changes, force size and even multi-touch situations of the touch points when the user uses the target application. However, in the Android simulator environment of a non-mobile terminal device, when the user uses the target application with the cursor, the user's manual sliding operation behavior data obtained may be significantly different from the same type of data in a normal mobile terminal device in terms of data accuracy and data type. For example, it is impossible to record force changes and there are delays in data recording time.

[0056] It should be noted that, assuming that within the preset time, the user has not performed any active operation or the target application has not collected any operation behavior data, the server can wait until the preset time of the next cycle to obtain data, or collect data after monitoring the user to perform active operations. In addition, in addition to obtaining operation behavior data according to the preset collection time, the server can also perform quantitative collection according to a preset operation behavior data volume threshold. Specifically, the server can monitor and collect operation behavior data at all times after the target application is started, and store the collected operation behavior data in a preset storage space. When the storage space stores enough operation behavior data to meet the volume threshold, the server can package the operation behavior data stored in the storage space in a unified manner, and input it into the preset application environment detection model together with the device parameter data previously collected when the target application was started, so as to carry out the subsequent risk detection process.

[0057] Furthermore, after the server determines the comprehensive application data of the target application through the above steps, the comprehensive application data can be input into the application environment detection model, so that the application environment detection model can determine the device parameter characteristic data corresponding to the terminal device where the target application is located based on the device parameter data in the comprehensive application data, and determine the user behavior characteristic data corresponding to the target application based on the user behavior record data in the comprehensive application data.

[0058] Then, the application environment detection model can determine the comprehensive feature data corresponding to the target application based on the determined device parameter feature data and user behavior feature data. Then, based on the comprehensive feature data and the historical feature data of each Android simulator in the history record, determine the similarity between the comprehensive feature data and each historical feature data. According to the preset similarity threshold, determine whether the operating environment of the target application is an Android simulator environment, and generate the application environment detection result for the target application.

[0059] In addition, in this specification, before inputting the acquired comprehensive application data into the preset application environment detection model and determining the application environment detection result corresponding to the target application, the server can also directly query whether the device parameters simulated by the Android simulator with known historical records in advance contain the device parameters corresponding to the device based on which the target application is running previously acquired, and generate the corresponding query result. The query result is used to indicate whether the device parameters corresponding to the device based on which the target application is running are the device parameters simulated by the known Android simulator.

[0060] Then, when it is determined based on the generated query results that the device parameters corresponding to the device on which the target application is running are not the device parameters simulated by the known Android emulator, that is, when the query results indicate that the running environment of the target application is not an Android emulator environment, the server can input the acquired comprehensive application data into the preset application environment detection model, thereby determining the application environment detection result corresponding to the target application through the application environment detection model.

[0061] If the device parameters corresponding to the device on which the target application is running are determined to be the device parameters simulated by the known Android simulator according to the generated query results, the server can directly skip the above-mentioned process of determining the application environment detection results through the application environment detection model, and directly determine that the target application's operating environment is the Android simulator environment. By querying the device parameters before inputting the comprehensive application data into the application environment detection model, the detection efficiency of the target application's operating environment can be effectively improved. After determining that the target application's operating environment is the Android simulator environment according to the query results, there is no need to input the comprehensive application data into the application environment detection model. Direct data query can save a lot of time compared to model detection, which greatly improves the detection efficiency of the target application's operating environment.

[0062] It should be noted that the order of the above-mentioned query result determination process and the process of determining the application environment detection result through the application environment detection model is not strictly limited in this specification. It can be that the query result determination process is first performed as in the above steps, and then it is determined whether to determine the application environment detection result through the application environment detection model according to the query result. Of course, the two data processing processes can also be performed at the same time, or the application environment detection result is first determined through the application environment detection model, and then the query result for the target application is determined.

[0063] Specifically, taking the example of first determining the application environment detection result through the application environment detection model and then determining the query result for the target application, the server can determine the application environment detection result through the application environment detection model, and then query the device parameters simulated by the Android simulator with known historical records in advance according to the device parameters corresponding to the device on which the target application runs, so as to obtain the query result.

[0064] Then, when it is determined according to the generated query results that the device parameters simulated by the pre-saved Android simulators contain the device parameters corresponding to the device on which the target application is running, or when it is determined according to the application environment detection results that the target application's running environment is an Android simulator environment, the server can determine that the target application's running environment is an Android simulator environment. When it is determined according to the generated query results that the device parameters simulated by the pre-saved Android simulators do not contain the device parameters corresponding to the device on which the target application is running, and when it is determined according to the application environment detection results that the target application's running environment is not an Android simulator environment, the server can determine that the target application's running environment is not an Android simulator environment, but a normal mobile terminal.

[0065] Simply put, only when both the application environment detection result and the query result indicate that the target application's operating environment is not an Android emulator environment, can the server determine that the target application's operating environment is not an Android emulator environment; and when either the application environment detection result or the query result indicates that the target application's operating environment is an Android emulator environment, the server can determine that the target application's operating environment is an Android emulator environment.

[0066] In addition, in this specification, regardless of whether the query results and the application environment detection results are generated simultaneously or sequentially, when it is determined based on the generated query results that the device parameters simulated by the pre-saved Android simulator do not contain the device parameters corresponding to the device based on which the target application is running, and it is determined based on the generated application environment detection results that the target application's running environment is an Android simulator environment, the server can determine the device parameters corresponding to the device based on which the target application is running as the device parameters simulated by the Android simulator, and save them as a type of device parameter in the pre-saved device parameters simulated by the Android simulator. This method can be used to update the device parameters simulated by the Android simulator that have been historically saved in real time, which can effectively ensure the accuracy and real-time nature of the generated query results, thereby improving the detection efficiency of the target application's running environment.

[0067] It should be noted that the specific model category of the application environment detection model mentioned in the above process is not strictly limited in this specification. Mathematical models with certain data feature extraction capabilities such as Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), and Siamese Neural Network (Siamese Neural Network) can be used, which can be flexibly set according to actual application scenarios and application requirements.

[0068] S103: When it is determined that the operating environment of the target application is an Android emulator environment according to the application environment detection result, a security verification interface is displayed to the user through the target application to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface.

[0069] In this specification, when it is determined that the operating environment of the target application is an Android emulator environment, the server can display a security verification interface to the user through the target application, so that the user can perform security verification through the displayed security verification interface, and the server can determine the security verification result for the target application.

[0070] Specifically, after determining that the target application's operating environment is an Android simulator environment, the server can display a security verification interface to the user through the target application, such as manually inputting a verification code, clicking on patterns in the order of icons, performing human-machine image verification, etc. The user can complete the security verification by performing the corresponding manual operations, and the server can generate the corresponding security verification results based on whether the user passes the security verification link.

[0071] Assuming that the user fails to successfully pass the security verification link, or does not perform any active operations in the security verification link at all, the server can determine that the security verification result is a verification failure based on the user behavior data collected in the security verification result, and judge that the target application is in an abnormal operating environment at this time; if the user successfully passes the security verification link, the server can determine that the security verification result is a verification success, and although the target application is running in the Android emulator environment, it is in a normal operating environment.

[0072] The specific implementation time of the security verification link is not strictly limited in this specification. It can be that when the target application's operating environment is determined to be an Android simulator environment, the server immediately displays the security verification interface to the user through the target application for security verification. In addition, after the server determines that the target application's operating environment is an Android simulator environment, it can continuously monitor the target application's operation. For example, when it is detected that the target application has no active user operation for a long time, or when the target application has repeated the same operation, which is obviously an abnormal human operation, the server can display the security verification interface to the user through the target application for security verification when such a situation occurs.

[0073] In addition, in this specification, while the server displays the security verification interface to the user through the target application and performs security verification, it can also generate a screenshot instruction for the device on which the target application is running. Based on the generated screenshot instruction, the server can capture the desktop interface displayed on the device screen of the device running the target application, and then determine the security verification result for the target application based on the user's operation record data on the security verification interface and the desktop interface screenshot image.

[0074] The server can determine whether the user is likely to run multiple target applications at the same time when using the target application, i.e., multiple application openings, based on the captured desktop image. The server can also determine whether the user is likely to use script applications to affect the normal operation of the target application when using the target application, based on the captured desktop image.

[0075] The specific determination process may be that the server determines the application running status of the device on which the target application is running based on the application display bar in the captured desktop image (for example, the running application display bar at the bottom or lower right of the desktop of a computer device in a Windows system), determines whether the user may run multiple target applications at the same time when using the target application through the device, and can also determine whether the user may use script applications to affect the normal operation of the target application when using the target application through the device based on the recorded historical trusted application icons. When any of the above situations is determined to exist, regardless of whether the user passes the security verification interface normally, the server can directly determine that the security verification result of the target application in the device is verification failure, and the target application's operating environment is abnormal.

[0076] It should be noted that the process in which the server can obtain the desktop image of the device where the target application is located by generating a screenshot command is performed with the authorization of the user. Only when the user temporarily agrees or opens the corresponding authority can the server generate the corresponding screenshot command in the security verification link to capture the desktop image of the running device.

[0077] S104: Perform risk detection on the target application according to the security verification result.

[0078] In this specification, the server may perform risk detection on the target application according to the security verification result determined in the above steps, thereby determining the risk detection result corresponding to the target application.

[0079] Specifically, when it is determined based on the security verification results that the target application's operating environment is an Android simulator environment, and the user has not passed the security verification link, that is, when the target application's operating environment is an abnormal environment, the server can determine that the target application may be running in an abnormal state, such as using a script to run it offline, or being maliciously manipulated by other programs. In this case, the risk detection results determined by the server for such target applications are used to indicate that the target application's operating environment is a high-risk environment. Regarding subsequent processing operations for high-risk target applications, the server can automatically ban, punish, and take other measures against user accounts or IP addresses in such risk situations, or record application data and account information and return it to the target application developer, so that the developer can conduct further application operation compliance inspections based on the collected user data.

[0080] When the target application's operating environment is determined to be an Android simulator environment based on the security verification result, and the user successfully passes the security verification link, that is, the target application's operating environment is a normal and secure environment, the server can determine that the target application may be running normally in the Android simulator, but there are still potential operating risks, and the corresponding risk detection result indicates that the target application's operating environment is a low-risk environment. In this case, the server can mark and record this type of target application and conduct regular monitoring to ensure that the normal operation of this type of target application in this case is true.

[0081] In addition to the above two situations, when the application environment detection results previously generated by the application environment detection model and the generated query results both indicate that the operating environment of the target application is not an Android emulator environment, the server does not need to actively perform security verification on the user, and can directly determine that the target application is running in a normal mobile terminal device, and can directly generate a risk detection result indicating that the operating environment of the target application is a risk-free environment.

[0082] In summary, in order to facilitate understanding of the overall process architecture of the risk detection method provided in this specification, the following is a schematic diagram of the overall process architecture of the risk detection method for introduction and explanation, such as Figure 2 shown.

[0083] Figure 2 The following is a schematic diagram of the overall process architecture of a risk detection method provided in this specification.

[0084] like Figure 2 As shown in the content, the server can obtain the comprehensive application data corresponding to the target application, and the comprehensive application data includes device parameters and operation behavior data. Then, the server can input the comprehensive application data into the application environment detection model to obtain the application environment detection result. At the same time, the server can also determine the corresponding query result based on the device parameters. Next, the server can determine whether the operating environment of the target application is an Android simulator environment based on the application environment detection result and the query result. When it is determined that the operating environment of the target application is an Android simulator environment, the server can display the security verification interface to the user through the target application to obtain the security verification result. Finally, the server can determine the risk level of the operating environment of the target application based on whether the user successfully passes the security verification, whether it is low risk or high risk. When it is previously determined that the operating environment of the target application is not an Android simulator environment, the server can directly determine that the corresponding risk detection result of the target application is risk-free.

[0085] From the above content, it can be seen that the risk detection method provided in this specification can determine the application environment detection results and query results based on the comprehensive application data corresponding to the target application, and perform security verification based on the application environment detection results and query results, and perform risk detection on the operating environment of the target application based on the security verification results. This method can accurately determine whether the target application is in a secure simulator environment, and can also accurately identify whether the target application is running normally under human active operation, which greatly avoids the occurrence of bad users using Android simulators to perform illegal operations. While protecting the normal operation of the target application, it also indirectly guarantees the user experience and rights fairness of normal users.

[0086] The above are one or more implementation methods of this specification. Based on the same idea, this specification also provides a corresponding risk detection device, such as Figure 3 shown.

[0087] Figure 3 A schematic diagram of a risk detection device provided in this specification includes:

[0088] The acquisition module 301 is used to acquire comprehensive application data corresponding to the target application, wherein the comprehensive application data contains device parameters corresponding to the device on which the target application runs, and user operation behavior data for the target application;

[0089] An environment detection module 302 is used to input the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, and the application environment detection result is used to indicate whether the operating environment of the target application is an Android simulator environment;

[0090] The security verification module 303 is used to display a security verification interface to the user through the target application when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, so as to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface;

[0091] The risk detection module 304 is used to perform risk detection on the target application according to the security verification result.

[0092] Optionally, the acquisition module 301 is specifically used to, when monitoring the startup of the target application, acquire device parameters corresponding to the device on which the target application is running, and after the target application runs for a set period of time, acquire the user's operation behavior data for the target application within the set period of time.

[0093] Optionally, the environment detection module 302 is specifically used to query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result;

[0094] The environment detection module 302 is specifically used to input the comprehensive application data into the application environment detection model when it is determined according to the query result that the operating environment of the target application is not the Android simulator environment, so that the application environment detection model obtains the application environment detection result according to the comprehensive application data.

[0095] Optionally, the environment detection module 302 is specifically used to query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result;

[0096] The security verification module 303 is specifically used to display a security verification interface to the user through the target application when it is determined that the operating environment of the target application is an Android simulator environment based on the query result and the application environment detection result.

[0097] Optionally, the security verification module 303 is specifically used to determine that the running environment of the target application is an Android simulator environment when it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator include device parameters corresponding to the device on which the target application is running, or when it is determined according to the application environment detection result that the running environment of the target application is an Android simulator environment.

[0098] Optionally, the environment detection module 302 is specifically used to, when it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator do not include the device parameters corresponding to the device on which the target application is running, and when it is determined according to the application environment detection result that the running environment of the target application is the Android simulator environment, determine the device parameters corresponding to the device on which the target application is running as the device parameters simulated by the Android simulator, and save them.

[0099] Optionally, the security verification module 303 is specifically used to, when it is determined according to the application environment detection result that the operating environment of the target application is an Android emulator environment, display a security verification interface to the user through the target application and generate a screenshot instruction, so as to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface and the desktop interface displayed on the screen of the device running the target application captured by the screenshot instruction, wherein the screenshot instruction is generated based on the user's authorized operation.

[0100] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provides risk detection methods.

[0101] This manual also provides Figure 4 The one shown corresponds to Figure 1 A schematic diagram of the electronic device. Figure 4 As shown, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 The risk detection method described.

[0102] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0103] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0104] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0105] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0106] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0107] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0108] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0110] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0111] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0112] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0113] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0114] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0116] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0117] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A risk detection method, characterized in that: include: Acquire comprehensive application data corresponding to the target application, wherein the comprehensive application data contains device parameters corresponding to the device on which the target application runs, and user operation behavior data for the target application; Inputting the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, and the application environment detection result is used to indicate whether the operating environment of the target application is an Android simulator environment; In the case where it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, a security verification interface is displayed to the user through the target application to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface; According to the security verification result, risk detection is performed on the target application.

2. The method according to claim 1, characterized in that The step of obtaining the comprehensive application data corresponding to the target application specifically includes: When the target application is detected to be started, the device parameters corresponding to the device on which the target application is running are obtained, and after the target application runs for a set time, the user's operation behavior data for the target application within the set time is obtained.

3. The method according to claim 1, characterized in that Before the step of inputting the comprehensive application data into a preset application environment detection model so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, the method further includes: Query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result; The step of inputting the comprehensive application data into a preset application environment detection model so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data specifically includes: When it is determined according to the query result that the operating environment of the target application is not an Android simulator environment, the comprehensive application data is input into the application environment detection model so that the application environment detection model obtains the application environment detection result according to the comprehensive application data.

4. The method according to claim 1, characterized in that Before the step of displaying a security verification interface to the user through the target application when the target application is determined to be in an Android simulator environment according to the application environment detection result, the method further includes: Query whether the device parameters simulated by the pre-saved Android simulator contain the acquired device parameters corresponding to the device on which the target application is running, and obtain the query result; The step of displaying a security verification interface to the user through the target application when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment specifically includes: When it is determined that the operating environment of the target application is an Android simulator environment based on the query results and the application environment detection results, a security verification interface is displayed to the user through the target application.

5. The method according to claim 4, characterized in that The step of determining that the operating environment of the target application is an Android simulator environment according to the query result and the application environment detection result specifically includes: When it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator include the device parameters corresponding to the device on which the target application is running, or when it is determined according to the application environment detection result that the running environment of the target application is an Android simulator environment, it is determined that the running environment of the target application is an Android simulator environment.

6. The method according to claim 3 or 4, characterized in that The method further comprises: When it is determined according to the query result that the device parameters simulated by the pre-saved Android simulator do not include the device parameters corresponding to the device on which the target application is running, and when it is determined according to the application environment detection result that the running environment of the target application is the Android simulator environment, the device parameters corresponding to the device on which the target application is running are determined as the device parameters simulated by the Android simulator and saved.

7. The method according to claim 1, characterized in that The step of displaying a security verification interface to the user through the target application in the case where it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, so as to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface, specifically includes: When it is determined that the operating environment of the target application is an Android emulator environment based on the application environment detection result, a security verification interface is displayed to the user through the target application, and a screenshot instruction is generated to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface and the desktop interface displayed on the screen of the device running the target application captured by the screenshot instruction, wherein the screenshot instruction is generated based on the user's authorized operation.

8. A risk detection device, characterized in that: include: An acquisition module, used to acquire comprehensive application data corresponding to a target application, wherein the comprehensive application data contains device parameters corresponding to a device on which the target application runs, and user operation behavior data for the target application; An environment detection module, used for inputting the comprehensive application data into a preset application environment detection model, so that the application environment detection model obtains an application environment detection result for the target application according to the comprehensive application data, and the application environment detection result is used to indicate whether the operating environment of the target application is an Android simulator environment; A security verification module, for displaying a security verification interface to the user through the target application when it is determined according to the application environment detection result that the operating environment of the target application is an Android simulator environment, so as to obtain a security verification result for the target application based on the security verification operation performed by the user in the security verification interface; The risk detection module is used to perform risk detection on the target application according to the security verification result.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Malicious behavior trigger system and method for android software capable of simulating user behaviors

    CN106874763A

  • Network man-machine verification method and device, equipment and storage medium

    CN110768980A

  • Investigation and evidence collection method and device convenient for judicial verification

    CN112181447A

  • Android simulator detection method and device

    CN112905301A

  • Simulator detection method and system, storage medium and electronic equipment

    CN113850345A