The invention discloses a method, a device, a device and a storage medium for detecting the running environment of a Android application program. This method includes: getting the actual values of the preset parameters of the current running environment of the Android application through the JNI layer; transmitting the online execution instructions of the Android application and the actual values to the backstage server. By obtaining the CPU type of the current running environment of the Android application, the actual value of the ro.product.name value in the system file, the state of the battery and the number of the sensors, and transferring the online execution instructions and actual values of the Android application to the background server, and comparing with the target value, the Android application is determined. In order to solve the problem that hackers forge mobile terminal users through the Android simulator and tamper with the application data, the purpose of ensuring the security of the user's payment information is achieved.
【技术实现步骤摘要】
检测Android应用程序运行环境的方法、装置、设备及存储介质
本专利技术实施例涉及信息安全技术,尤其涉及一种检测Android应用程序运行环境的方法、装置、设备及存储介质。
技术介绍
随着移动互联网的发展,手机银行已经走入大众生活,使用手机银行进行转账支付变得非常普遍。通过在电脑上模拟安卓操作系统,并能安装、使用和卸载Android应用的安卓模拟器在市场上已经很普遍,它能修改各种移动终端配置参数,同时,黑客通过安卓模拟器在电脑上不仅能伪造移动终端用户,还能篡改应用数据达到自己非法的目的。为了保证手机银行的应用程序在使用过程中的安全,需确认手机银行的应用程序是在移动终端上运行,还是在电脑上的安卓模拟器中运行。因此,手机银行的应用程序运行环境安全可靠性的确认,能保证用户的资金安全。目前安卓模拟器的检测都是在客户端进行,并通过检测IMEI(InternationalMobileEquipmentIdentity,国际移动设备身份码)信息或CPU(CentralProcessingUnit,中央处理器)进行安卓模拟器的检测。其中,若检测IMEI信息,但是安卓模拟器的IMEI信息是可以修改的;若检测CPU,但是一些x86手机的CPU也是inter(英特尔),进而用户在使用Android应用程序时,并不能精准的检测出手机银行的应用程序当前所运行的环境是否安全。
技术实现思路
本专利技术提供一种检测Android应用程序运行环境的方法、装置、设备及存储介质,以实现保证Android应用程序运行环境的安全可靠性,并保证用户的支付信息安全。第一方面,本专利技术实施例提供了一种 ...
【技术保护点】
一种检测Android应用程序运行环境的方法,其特征在于,包括:通过JNI层获取Android应用程序当前运行环境的预设参数的实际值;将Android应用程序的在线执行指令和所述实际值关联传输至后台服务器。
【技术特征摘要】
1.一种检测Android应用程序运行环境的方法,其特征在于,包括:通过JNI层获取Android应用程序当前运行环境的预设参数的实际值;将Android应用程序的在线执行指令和所述实际值关联传输至后台服务器。2.根据权利要求1所述的方法,其特征在于,在所述将Android应用程序的在线执行指令和所述实际值关联传输至后台服务器之前,还包括:对所述预设参数的实际值进行加密。3.根据权利要求1所述的方法,其特征在于,所述预设参数,包括:CPU类型、系统文件中ro.product.name值、电池状态和传感器个数。4.一种检测Android应用程序运行环境的方法,其特征在于,包括:接收关联的Android应用程序的在线执行指令和当前运行环境的预设参数的实际值;将所述预设参数的实际值与所述预设参数的目标值进行比对校验;根据比对校验结果确认是否响应所述在线执行指令。5.根据权利要求4所述的方法,其特征在于,所述预设参数,包括:CPU类型、系统文件中ro.product.name值、电池状态和传感器个数。6.根据权利要求4所述的方法,其特征在于,所述根据比对校验结果确认是否响应所述在线执行指令,包括:若所述预设参数的实际值与相对应的所述预设参数的目标值一致,则确定所述Android应用程序在移动...
【专利技术属性】
技术研发人员:谈剑锋,宋小燕,杨德光,姜立稳,
申请(专利权)人:上海众人网络安全技术有限公司,
类型:发明
国别省市:上海,31
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。