CN107729750A - With reference to configuration information and the Android simulator detection method and device of ardware feature - Google Patents

With reference to configuration information and the Android simulator detection method and device of ardware feature Download PDF

Info

Publication number
CN107729750A
CN107729750A CN201710922749.5A CN201710922749A CN107729750A CN 107729750 A CN107729750 A CN 107729750A CN 201710922749 A CN201710922749 A CN 201710922749A CN 107729750 A CN107729750 A CN 107729750A
Authority
CN
China
Prior art keywords
android
detected
program
simulator
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710922749.5A
Other languages
Chinese (zh)
Inventor
阚志刚
陈彪
刘志豪
孙俊飞
方宁
卢佐华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bang Bang Safety Technology Co Ltd
Original Assignee
Beijing Bang Bang Safety Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bang Bang Safety Technology Co Ltd filed Critical Beijing Bang Bang Safety Technology Co Ltd
Priority to CN201710922749.5A priority Critical patent/CN107729750A/en
Publication of CN107729750A publication Critical patent/CN107729750A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/552Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The purpose of the embodiment of the present application is to provide the Android simulator detection method and device of a kind of combination configuration information and ardware feature, and wherein method includes:After terminal device runs Android program to be detected, it is determined that whether the Android system of the operation Android program to be detected has the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default sensor installation requirement;If the Android system has the specific configuration information, and the terminal device meets the sensor installation requirement, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected is operated in Android simulator.It can detect whether Android application program is operated in Android simulator by the embodiment of the present application, ensure the safety in utilization of Android application program.

Description

With reference to configuration information and the Android simulator detection method and device of ardware feature
Technical field
The application is related to Android simulator detection field, more particularly to the Android of a kind of combination configuration information and ardware feature Simulator detection method and device.
Background technology
Android simulator is the simulator software that Android system can be simulated in non-Android system (such as windows systems). Android simulator can simulate Android system running environment in non-Android system, so that operating personnel transport in non-Android system The application of row Android operation system, the installation of Android application program is experienced in non-Android system, uses and unloads.
Developer can facilitate the exploitation of Android application program using Android simulator, however, due to passing through Android mould The various configuration parameters of terminal device can be changed by intending device, therefore hacker can forge multiple terminal devices by Android simulator User, additionally it is possible to the data of Android application program are distorted in Android simulator to reach the purpose of " plug-in ".
Based on this, it is necessary to propose a kind of method to detect whether Android application program is operated in Android simulator, to protect Demonstrate,prove the safety in utilization of Android application program.
The content of the invention
The purpose of the embodiment of the present application is to provide the Android simulator detection side of a kind of combination configuration information and ardware feature Whether method and device, detection Android application program are operated in Android simulator, ensure the safety in utilization of Android application program.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
The embodiment of the present application provides the Android simulator detection method of a kind of combination configuration information and ardware feature, bag Include:
After terminal device runs Android program to be detected, it is determined that the Android system of the operation Android program to be detected is It is no that there is the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default biography Sensor installation requirement;
If the Android system has the specific configuration information, and, the terminal device meets the sensor installation It is required that, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected Operate in Android simulator.
The embodiment of the present application additionally provides the Android simulator detection means of a kind of combination configuration information and ardware feature, bag Include:
Information detecting module, for after terminal device runs Android program to be detected, it is determined that the operation peace to be detected Whether Zhuo Chengxu Android system has the specific configuration information for being used for identifying non-Android simulator, and determines that the terminal is set It is standby whether to meet default sensor installation requirement;
As a result determining module, if there is the specific configuration information for the Android system, and, the terminal device is expired The foot sensor installation requirement, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines institute Android program to be detected is stated to operate in Android simulator.
The embodiment of the present application additionally provides a kind of combination configuration information and the Android simulator detection device of ardware feature, bag Include:
Processor;And
It is arranged to store the memory of computer executable instructions, the computer executable instructions make when executed The processor:
After terminal device runs Android program to be detected, it is determined that the Android system of the operation Android program to be detected is It is no that there is the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default biography Sensor installation requirement;
If the Android system has the specific configuration information, and, the terminal device meets the sensor installation It is required that, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected Operate in Android simulator.
The embodiment of the present application additionally provides a kind of storage medium, for storing computer executable instructions, the computer Executable instruction realizes below scheme when executed:
After terminal device runs Android program to be detected, it is determined that the Android system of the operation Android program to be detected is It is no that there is the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default biography Sensor installation requirement;
If the Android system has the specific configuration information, and, the terminal device meets the sensor installation It is required that, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected Operate in Android simulator.
Android simulator detection method and device in the embodiment of the present application, Android program to be detected are Android application journey Sequence, after terminal device runs Android program to be detected, used it is determined that whether the Android system for running Android program to be detected has In the specific configuration information of the non-Android simulator of mark, and determine whether the terminal device meets that default sensor installation will Ask, if the Android system has specific configuration information, and, the terminal device meets sensor installation requirement, it is determined that to be detected Android program off-duty is in Android simulator, otherwise, it determines Android program to be detected is operated in Android simulator.Due to spy Determine configuration information and can be identified for that non-Android simulator, and run the terminal device of Android simulator and the Android based on Android system The sensor of equipment installation is typically different, therefore passes through the Android simulator detection method and device in the embodiment of the present application, energy It is enough to determine whether Android program to be detected transports based on the specific configuration information and sensor installation situation that identify non-Android simulator Row is in Android simulator, so as to ensure the safety in utilization of Android program to be detected.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, do not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the of the Android simulator detection method of the combination configuration information that the embodiment of the present application provides and ardware feature A kind of schematic flow sheet;
Fig. 2 is the of the Android simulator detection method of the combination configuration information that the embodiment of the present application provides and ardware feature Two kinds of schematic flow sheets;
Fig. 3 is the of the Android simulator detection method of the combination configuration information that the embodiment of the present application provides and ardware feature Three kinds of schematic flow sheets;
Fig. 4 is the of the Android simulator detection means of the combination configuration information that the embodiment of the present application provides and ardware feature A kind of module composition schematic diagram;
Fig. 5 is the of the Android simulator detection means of the combination configuration information that the embodiment of the present application provides and ardware feature Two kinds of module composition schematic diagrams;
Fig. 6 is the knot of the combination configuration information that the embodiment of the present application provides and the Android simulator detection device of ardware feature Structure schematic diagram.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection Scope.
When Android (Android) application program is run in terminal device, if terminal device is the peace based on Android system Tall and erect equipment (such as Android mobile phone), then Android application program is operated in the Android device, if terminal device is not based on Android system, But there is Android simulator, then Android application program is operated in Android simulator.It can be simulated in view of hacker in Android The data of Android application program are distorted in device, safe to use for Android application program brings hidden danger, therefore present applicant proposes Whether the Android simulator detection method and device of a kind of combination configuration information and ardware feature, can detect Android application program Operate in Android simulator, so as to ensure the safety in utilization of Android application program.
Fig. 1 is the of the Android simulator detection method of the combination configuration information that the embodiment of the present application provides and ardware feature A kind of schematic flow sheet, as shown in figure 1, the flow comprises at least following steps:
Step S102, after terminal device runs Android program to be detected, it is determined that running the Android of Android program to be detected Whether system has the specific configuration information for being used for identifying non-Android simulator, and determines whether the terminal device meets to preset Sensor installation requirement;
Wherein, the Android system for running Android program to be detected is the Android system in terminal device;
Step S104, if the Android system has specific configuration information, and, the terminal device meets that sensor installation will Ask, it is determined that Android program off-duty to be detected is in Android simulator, otherwise, it determines Android program to be detected operates in Android In simulator.
Android simulator detection method in the embodiment of the present application, Android program to be detected is Android application program, After terminal device runs Android program to be detected, it is used to identify it is determined that whether the Android system for running Android program to be detected has The specific configuration information of non-Android simulator, and determine whether the terminal device meets default sensor installation requirement, if The Android system has specific configuration information, and, the terminal device meets sensor installation requirement, it is determined that Android journey to be detected Sequence off-duty is in Android simulator, otherwise, it determines Android program to be detected is operated in Android simulator.Due to particular configuration Information can be identified for that non-Android simulator, and run the terminal device of Android simulator and the Android device peace based on Android system The sensor of dress is typically different, therefore by the Android simulator detection method in the embodiment of the present application, it is non-can to be based on mark The specific configuration information and sensor installation situation of Android simulator determine whether Android program to be detected operates in Android simulation In device, so as to ensure the safety in utilization of Android program to be detected.
In the present embodiment, terminal device can be the intelligent terminals such as mobile phone, computer, vehicle-mounted computer.A kind of specific implementation Under scene, the method in the present embodiment is performed by Android program to be detected, and Android program to be detected can be financial class method etc. There is the program of higher safety requirements to running environment, after Android program to be detected starts in terminal device, by this reality Apply the method in example and detect whether the running environment of itself is Android simulator, if, it is determined that it is hidden safety to be present in running environment Suffer from, terminate and run and carry out respective handling, if it is not, then Android normal program operation to be detected.It is to be detected in this application scenarios Android program detects to the running environment of itself, can effectively prevent criminal from being cheated using Android program to be detected The illegal act such as deceive, ensure the property safety of application user.
Under another specific implement scene, the method in the present embodiment is performed by server, and the server can be with end End equipment is interacted, and after Android program to be detected is run in terminal device, server is examined by the method in the present embodiment Survey whether Android program to be detected is operated in Android simulator, run if so, then terminating it and carry out respective handling, if it is not, Then control Android normal program operation to be detected.In this application scenarios, server detects the operation ring of Android program to be detected Whether border is Android simulator, can effectively ensure that the security of Android program execution environments to be detected, ensures application program It is safe for operation.
Because the Android device based on Android system generally there is WIFI (Wireless Fidelity, Wireless Fidelity) to match somebody with somebody Confidence breath, SMS configuration information and RAM card configuration information, and the Android system that Android simulator simulates to obtain does not have There are these configuration informations, therefore the specific configuration information for being provided for identifying non-Android simulator in the present embodiment is matched somebody with somebody including WIFI Confidence breath, SMS configuration information and RAM card configuration information.Based on this, in above-mentioned steps S102, transported in terminal device Row Android program to be detected, after games, it is used to mark it is determined that whether the Android system for running Android program to be detected has Know the specific configuration information of non-Android simulator, be specially:Detect whether the Android system has WIFI configuration informations, short message work( Can configuration information and RAM card configuration information;If it is respectively provided with, it is determined that the Android system has specific configuration information, if not having Any one in WIFI configuration informations, SMS configuration information, RAM card configuration information, it is determined that the Android system does not have There is specific configuration information, so as to be based on specific configuration information, detect whether Android program to be detected is operated in Android simulator.
Further, WIFI configuration informations include WIFI on off states value and WIFI connection attribute information, in the present embodiment, Whether the Android system that above-mentioned detection runs Android program to be detected has WIFI configuration informations, specifically, detecting the Android system Whether system has WIFI on off state values, if so, then determining that the Android system has WIFI configuration informations;Or detect the peace Whether tall and erect system has WIFI connection attribute information, if so, then determining that the Android system has WIFI configuration informations.
WIFI on off states value includes five values, represents that WIFI is opened, WIFI is had already turned on, WIFI is closed respectively Close, WIFI has been switched off, WIFI Status unknowns, WIFI connection attributes information include WIFI titles, router mac address, WIFI Intensity, WIFI connections Virtual network operator id, terminal device connection WIFI after IP address, whether hide wireless network It is one or more in WIFI titles.Field corresponding to WIFI connection attribute information is as shown in table 1 below.
Table 1
Field WIFI connection attribute information
ssid WIFI titles
bssid Router mac address
rssi WIFI intensity
networkid The id of the Virtual network operator of WIFI connections
ip IP address after terminal device connection WIFI
is_hidden_ssid Whether the WIFI title of wireless network is hidden
In view of in Android simulator, WIFI on off states value is all generally WIFI Status unknowns, therefore one In kind specific embodiment, table is monitored in registration first, monitors the WIFI of the Android system of above-mentioned operation Android program to be detected On off state value, if listen on off state value for WIFI is opened, WIFI is had already turned on, WIFI is closed, WIFI Through any one in closing, it is determined that the Android system has WIFI configuration informations, if it is WIFI to listen on off state value Status unknown, then detect whether that the WIFI connection attribute information of the Android system can be obtained, if getting the Android system WIFI connection attribute information, it is determined that the Android system has WIFI configuration informations, if not getting, it is determined that the Android system Without WIFI configuration informations.
In the present embodiment, whether the Android system that detection runs Android program to be detected has SMS configuration information, Specially:Simulation performs short message sending process in the Android system for running Android program to be detected, if simulation performs short message hair Send success, it is determined that the Android system has SMS configuration information, if failure, it is determined that the Android system does not have short message Functional configuration information.
Simulation performs short message sending process:Test whether terminal device has according to the mode of Android transmission short message There is short message sending configuration, register short message sending authority first, then build PendingIntent objects and use GetBroadcast () is broadcasted, finally by PendingIntent, short message content, telephone number (preset telephone number canonical) etc. Content is passed in SmsManager sendTextMessage () method.If in simulation process because some component is not present and Cause exception, it is determined that simulation performs short message sending failure, otherwise, it determines simulation performs short message sending success.
In the present embodiment, whether the Android system that detection runs Android program to be detected has RAM card configuration information, has Body is:Whether detection runs the Android system of Android program to be detected with one or more in following information:In RAM card Deposit information, RAM card storage catalogue information, RAM card directory permission information and RAM card plug state value;If having, really The fixed Android system has RAM card configuration information, conversely, determining that the Android system does not have RAM card configuration information.
In a kind of specific embodiment, it can be opened in the Android system for running Android program to be detected using fopen Function opens path and "/proc/meminfo ", if returning result is not sky, confirms to get the RAM card internal memory of Android system Information, confirm that the Android system has RAM card memory information;Monitor can also be registered and monitor RAM card plug state value, if Snoop results are not sky, then confirm that the Android system has RAM card plug state value.Terminal for running Android simulator For equipment, generally do not have RAM card plug state value, for the Android device based on Android system, generally have interior Deposit card insertion and pull out state value.RAM card in the present embodiment can be SD (Secure Digital Card, secure digital) cards.
It should be noted that the simulator of unmodified customization is (WIFI configuration informations, short without above specific configuration information Telecommunication function configuration information and RAM card configuration information), the simulator for having changed customization may have above specific configuration information, Modification customization refers to modifying to system information for the purpose for escaping detection.
The sensor that terminal device in view of running Android simulator is installed with the Android device based on Android system leads to Chang Butong, for example, operation Android simulator notebook computer generally only install GPS (Global Positioning System, Global positioning system) sensor, and Android device such as Android mobile phone is commonly installed a variety of biographies such as GPS, acceleration, speed, gravity Sensor, such as, Android device such as Android mobile phone is commonly installed with lower sensor:
LTR55X ALSPRX ,-Non Wakeup Secondary (not possessing secondary wake-up)
Rotation Vector ,-Wakeup Secondary (possessing secondary wake-up)
Step Counter ,-Wakeup Secondary (possessing secondary wake-up)
LTR55X ALSPRX ,-Wakeup Secondary (possessing secondary wake-up)
Orientation ,-Wakeup Secondary (possess secondary wake-up)
BMI160Gyroscope ,-Wakeup Secondary (possess secondary wake-up)
BMI160Accelerometer ,-Wakeup Secondary (possess secondary wake-up)
The 20 type sensors such as Game Rotation Vector ,-Wakeup Secondary (possessing secondary wake-up).
Therefore sensor installation list is preset with the present embodiment, the default sensor installation list records are based on Android The type and quantity for the sensor that the Android device of system is commonly installed, table 2 are that one kind of default sensor installation list is shown Meaning.
Table 2
Kind of sensor Quantity/
Image sensor 4
Gravity sensor 2
Velocity sensor 1
Acceleration transducer 1
Position sensor 2
Amount to 10
Based on default sensor installation list, in step S102, determine whether terminal device meets default sensing Device installation requirement, it is specially:Obtain the sensor mount message of terminal device;According to the sensor mount message and default biography Sensor installs list, and whether the quantity of the sensor of detection terminal equipment missing is less than predetermined number threshold value, and terminal device Whether the species of the sensor of missing is less than default species threshold value;If it is respectively less than, it is determined that terminal device meets that sensor is installed It is required that otherwise, it determines terminal device is unsatisfactory for sensor installation requirement.
The sensor mount message of terminal device is obtained, by sensor mount message and the installation list of default sensor Content be compared, determine terminal device missing installation sensor quantity and missing installation sensor species, if The quantity of the sensor of terminal device missing installation is less than predetermined number threshold value, and such as the quantity of missing is 2, less than predetermined number threshold Value 5, and the species of the sensor of terminal device missing installation is less than default species threshold value, such as species of missing is a kind, less than pre- If species threshold value 2, it is determined that the mounted sensor of terminal device and the sensor difference in the installation list of default sensor Less, determine that terminal device meets sensor installation requirement, conversely, determining the mounted sensor of terminal device and default biography Sensor difference in sensor installation list is larger, determines that terminal device is unsatisfactory for sensor installation requirement.Wherein, according to terminal The sensor mount message of equipment can determine the species of the sensor of installing terminal equipment, the quantity and biography of every kind of sensor The total amount of sensor.
Can be every kind of sensor class in above-mentioned default sensor installation list in a kind of specific embodiment Type distributes weight, in particular, according to the significance level or frequency of use of various sensors, for every kind of sensor type distribution power Weight, by sensor mount message compared with the content that default sensor is installed in list, determine installing terminal equipment Weight corresponding to sensor type and each sensor type, by power corresponding to each sensor type of installing terminal equipment Summed again, obtain weighted value corresponding to the sensor type of installing terminal equipment, compare the weighted value and default weight threshold The magnitude relationship of value, if more than default weight threshold, it is determined that terminal device meets sensor installation requirement, otherwise, it determines eventually End equipment is unsatisfactory for sensor installation requirement.Wherein, default weight threshold can be empirically determined in advance weighted value.
In another specific embodiment, predict that Android program to be detected may operate in certain Android simulator In, such as predict that Android program to be detected may be operated in VM virtual machines, then in above-mentioned default sensor installation list At least one sensor related to the Android simulator that this may run is chosen, whether selection is installed in detection terminal equipment Various sensors, if installing terminal equipment has the various sensors of selection, it is determined that terminal device meet sensor installation will Ask, otherwise, it determines terminal device is unsatisfactory for sensor installation requirement.
Wherein, it must run the Android that may be run that the sensor related to the Android simulator that this may run, which refers to, Equipment is usually notebook on the sensor that the terminal device of simulator will not generally be installed, such as the terminal of operation VM virtual machines Computer, generally will not installation rate sensor and acceleration transducer.It is alternatively possible to predefine and every kind of possible operation The related sensor type of Android simulator and record, so as to determine the Android mould with above-mentioned possible operation according to the content of record Intend the related at least one sensor of device.
In above-mentioned steps S104, if the Android system for running Android program to be detected does not have a specific configuration information, and/ Or, terminal device is unsatisfactory for sensor installation requirement, it is determined that Android program to be detected is operated in Android simulator.
It can be seen that Android simulator detection method in Fig. 1 can the configuration information based on the Android system in terminal device, With the sensor installation situation of terminal device, determine whether Android program to be detected transports in terms of configuration information and ardware feature two Row is in Android simulator, however, it is determined that Android program to be detected is operated in Android simulator, illustrates that terminal device has for operation The equipment of Android simulator, however, it is determined that for Android program off-duty to be detected in Android simulator, it is base to illustrate terminal device In the Android device of Android system.
The sensor installation situation of terminal device for terminal device ardware feature one kind, the ardware feature of terminal device It can also be reflected in some specific fields, such as operator's informaiton field, fingerprint collecting fingerprint fields, ProductName Product fields, version model fields and hardware name hardware fields etc., based on this, in the embodiment of the present application, true Before fixed Android program off-duty to be detected is in Android simulator, in addition to:
Whether the information related to Android simulator is included in detection specific fields;
Android program off-duty to be detected is determined in Android simulator, is specially:
If the information related to Android simulator is not included in above-mentioned specific fields, it is determined that Android program to be detected is not transported Row is in Android simulator.
Specific fields include operator's informaiton field (such as operator name field), fingerprint collecting fingerprint words One or more in section, ProductName product fields, version model fields and hardware name hardware fields, with Android The related information of simulator can be the information such as simulator mark.Include operator's informaiton field, fingerprint collecting with specific fields Exemplified by fingerprint fields, ProductName product fields, version model fields and hardware name hardware fields, if Android program off-duty to be detected is in Android simulator, then the operator's informaiton field of terminal device, fingerprint collecting It is any in fingerprint fields, ProductName product fields, version model fields and hardware name hardware fields One does not include the information related to Android simulator, therefore it is determined that Android program off-duty to be detected exists in the present embodiment , can be with the operator's informaiton field of detection terminal equipment, fingerprint collecting fingerprint fields, production before in Android simulator Whether name of an article product fields, version model fields and hardware name hardware fields are comprising related to Android simulator Information, if not including the information related to Android simulator in each field, it is determined that Android program off-duty to be detected exists In Android simulator, if any one field includes the information related to Android simulator, it is determined that Android program fortune to be detected Row is in Android simulator.In the present embodiment, by detecting in specific fields whether include the information related to Android simulator, The accuracy of simulator detection can be improved.
In a kind of specific embodiment, the application executive agent is Android program to be detected, Android program operation to be detected Afterwards, operator's informaiton field, fingerprint collecting fingerprint fields, ProductName product are obtained under the runtime of itself Field, version model fields and hardware name hardware fields, and detect in each field and whether wrap in above manner Containing the information related to Android simulator, to determine whether itself is operated in Android simulator.
Based on above content, the embodiment of the present application additionally provides the Android simulation of a kind of combination configuration information and ardware feature Device detection method flow, Fig. 2 are the Android simulator detection of the combination configuration information that the embodiment of the present application provides and ardware feature Second of schematic flow sheet of method, as shown in Fig. 2 the flow performs after terminal device runs Android program to be detected, Comprise the following steps:
Step S202, judge whether the Android system for running Android program to be detected has and be used to identify non-Android simulator Specific configuration information.
Wherein, the Android system for running Android program to be detected is the Android system in terminal device, if operation is to be checked The Android system for surveying Android program has specific configuration information, then performs step S204, otherwise performs step S210.The step can With the description with reference to abovementioned steps S102, repeat no more here.
Step S204, judges whether terminal device meets default sensor installation requirement.
If satisfied, performing step S206, otherwise, step S210 is performed.The step may be referred to retouching for abovementioned steps S102 State, repeat no more here.
Step S206, detect in specific fields whether include the information related to Android simulator.
If not including, step S208 is performed, otherwise, performs step S210.The step may be referred to it is described above, here It is not repeated.
Step S208, determine Android program off-duty to be detected in Android simulator.
Step S210, determine that Android program to be detected is operated in Android simulator.
In Fig. 2, step S202, step S204, step S206 execution sequence are unrestricted, can be walked according to step S202 Rapid S204 steps S206 order performs, and other orders can also be performed according to step S204 step S206 steps S202 etc., this In do not enumerate.
By the method in Fig. 2, the ardware feature determination of configuration information and terminal device that can be based on terminal device is treated Whether detection Android program is operated in Android simulator, can be ensured by the way of configuration information and ardware feature are combined Determine the accuracy of result.
The ardware feature of terminal device can also be reflected in internal memory neck and SIM (Subscriber Identity Module, client identification module) neck etc., therefore in the present embodiment can also detection terminal equipment whether there is RAM card Groove and sim card slot, if not having internal memory neck and/or sim card slot, it is determined that Android program to be detected operates in Android simulator In.
The ardware feature of terminal device can also be reflected in the distinctive telephone number of simulator, the distinctive simulator of simulator File etc., based on this, the embodiment of the present application additionally provides a kind of combination configuration information and the Android simulator of ardware feature Detection method flow, Fig. 3 are the Android simulator detection side of the combination configuration information that the embodiment of the present application provides and ardware feature The third schematic flow sheet of method, as shown in figure 3, the flow performs after terminal device runs Android program to be detected, wrap Include following steps:
Step S302, judge whether the Android system for running Android program to be detected has and be used to identify non-Android simulator Specific configuration information.
If having specific configuration information, step S304 is performed, otherwise performs step S320.
Step S304, judges whether terminal device meets default sensor installation requirement.
If satisfied, performing step S306, otherwise, step S320 is performed.
Step S306, detect in specific fields whether include the information related to Android simulator.
If not including, step S308 is performed, otherwise, performs step S320.
Whether step S308, detection terminal equipment have the distinctive process communication channel of Android simulator.
The distinctive process communication channel of Android simulator includes "/dev/socket/qemud " and "/dev/qemu_ pipe”."/dev/socket/qemud " and "/dev/qemu_pipe ", if two return values are are opened by opening function Sky, illustrate that terminal device does not have the distinctive process communication channel of Android simulator, perform step S310, otherwise, perform step S320。
Step S310, judges whether terminal device has the distinctive ID of Android simulator (identity, identity).
The distinctive ID of simulator is { " 000000000000000 " }.Whether the ID for judging terminal device is { " 000000000000000 " }, if it is not, determining that terminal device have a distinctive ID of Android simulator, execution step S312 is no Then, step S320 is performed.
Step S312, judges whether terminal device has the distinctive telephone number of Android simulator.
If not having, step S314 is performed, otherwise, performs step S320.
The distinctive telephone number of Android simulator includes:
{"15555215554","15555215556","15555215582","15555215584"
"15555215558","15555215560","15555215562","15555215564",
"15555215566","15555215568","15555215570","15555215572",
"15555215574","15555215576","15555215578","15555215580"}。
Step S314, judges whether terminal device has the distinctive simulator file of Android simulator.
If not having, step S316 is performed, otherwise, performs step S320.
The distinctive simulator file of Android simulator includes:
{"/system/lib/libc_malloc_debug_qemu.so";
"/sys/qemu_trace";
"/system/bin/qemu-props";}.
Step S316, judges whether terminal device has the distinctive IMSI (International of Android simulator Mobile Subscriber Identification Number, international mobile subscriber identity) information.
The distinctive IMSI ID of Android simulator are 310260000000000.Judge terminal device IMSI ID whether be 310260000000000, if it is not, determining that terminal device does not have the distinctive IMSI information of Android simulator, step S318 is performed, Otherwise, step S320 is performed.
Step S318, determine Android program off-duty to be detected in Android simulator.
Step S320, determine that Android program to be detected is operated in Android simulator.
In Fig. 3, step S302 to step S316 order are unrestricted, can be according to execution shown in Fig. 3, can also basis Set-up procedure S302 is needed to step S316 execution sequence.By the method in Fig. 3, confidence can be matched somebody with somebody based on terminal device The multiple hardwares characteristic of breath and terminal device determines whether Android program to be detected is operated in Android simulator, using with confidence The mode that breath and ardware feature are combined can ensure to determine the accuracy of result.
Based on above-mentioned Android simulator detection method, the embodiment of the present invention additionally provides one kind and combines configuration information and hardware The Android simulator detection means of characteristic, the device are able to carry out above-mentioned Android simulator detection method, and Fig. 4 is that the application is real The first module composition schematic diagram of the combination configuration information of example offer and the Android simulator detection means of ardware feature is applied, such as Shown in Fig. 4, the device includes:
Information detecting module 41, for after terminal device runs Android program to be detected, it is determined that operation is described to be detected Whether the Android system of Android program has the specific configuration information for being used for identifying non-Android simulator, and determines the terminal Whether equipment meets default sensor installation requirement;
As a result determining module 42, if there is the specific configuration information for the Android system, and, the terminal device Meet the sensor installation requirement, it is determined that the Android program off-duty to be detected in Android simulator, otherwise, it determines The Android program to be detected is operated in Android simulator.
Alternatively, information detecting module 41 is specifically used for:
Whether the Android system that detection runs the Android program to be detected has Wireless Fidelity WIFI configuration informations, short message Functional configuration information and RAM card configuration information;
If it is respectively provided with, it is determined that the Android system has the specific configuration information.
Alternatively, information detecting module 41 is specifically used for:
Obtain the sensor mount message of the terminal device;
According to the sensor mount message and the installation list of default sensor, the biography that the terminal device lacks is detected Whether the quantity of sensor is less than predetermined number threshold value, and the sensor of terminal device missing species whether be less than it is default Species threshold value;
If it is respectively less than, it is determined that the terminal device meets the sensor installation requirement.
Alternatively, information detecting module 41 also particularly useful for:
Whether the Android system that detection runs the Android program to be detected has WIFI on off state values, if so, then true The fixed Android system has the WIFI configuration informations;
Or
Whether the Android system that detection runs the Android program to be detected has WIFI connection attribute information, if so, then Determine that the Android system has the WIFI configuration informations.
Alternatively, information detecting module 41 also particularly useful for:
Simulation performs short message sending process in the Android system for running the Android program to be detected;
If simulation performs short message sending success, it is determined that the Android system has the SMS configuration information.
Alternatively, information detecting module 41 also particularly useful for:
Whether detection runs the Android system of the Android program to be detected with one or more in following information:
RAM card memory information, RAM card storage catalogue information, RAM card directory permission information and RAM card plug shape State value;
If have, it is determined that the Android system has the RAM card configuration information.
Android simulator detection means in the embodiment of the present application, Android program to be detected is Android application program, After terminal device runs Android program to be detected, it is used to identify it is determined that whether the Android system for running Android program to be detected has The specific configuration information of non-Android simulator, and determine whether the terminal device meets default sensor installation requirement, if The Android system has specific configuration information, and, the terminal device meets sensor installation requirement, it is determined that Android journey to be detected Sequence off-duty is in Android simulator, otherwise, it determines Android program to be detected is operated in Android simulator.Due to particular configuration Information can be identified for that non-Android simulator, and run the terminal device of Android simulator and the Android device peace based on Android system The sensor of dress is typically different, therefore by the Android simulator detection means in the embodiment of the present application, it is non-can to be based on mark The specific configuration information and sensor installation situation of Android simulator determine whether Android program to be detected operates in Android simulation In device, so as to ensure the safety in utilization of Android program to be detected.
Fig. 5 is the of the Android simulator detection means of the combination configuration information that the embodiment of the present application provides and ardware feature Two kinds of module composition schematic diagrams, as shown in figure 5, the device also includes:
Field detection module 51, for it is determined that the Android program off-duty to be detected in Android simulator before, Whether the information related to Android simulator is included in detection specific fields;
As a result determining module 42 is specifically used for, if not including the information related to Android simulator in the specific fields, Then determine the Android program off-duty to be detected in Android simulator.
In the present embodiment, by detecting in specific fields whether include the information related to Android simulator, it is possible to increase The accuracy of simulator detection.
Further, based on above-mentioned Android simulator detection method, the embodiment of the present application additionally provides a kind of combine and configured The Android simulator detection device of information and ardware feature, Fig. 6 are the combination configuration information and hardware that the embodiment of the present application provides The structural representation of the Android simulator detection device of characteristic.
, can be with as shown in fig. 6, Android simulator detection device can produce bigger difference because configuration or performance are different Including one or more processor 601 and memory 602, one or more can be stored with memory 602 Store application program or data.Wherein, memory 602 can be of short duration storage or persistently storage.It is stored in answering for memory 602 One or more modules (diagram is not shown) can be included with program, each module can include detecting Android simulator Series of computation machine executable instruction in equipment.Further, processor 601 could be arranged to communicate with memory 602, The series of computation machine executable instruction in memory 602 is performed on Android simulator detection device.Android simulator detects Equipment can also include one or more power supplys 603, one or more wired or wireless network interfaces 604, one Or more than one input/output interface 605, one or more keyboards 606 etc..
In a specific embodiment, Android simulator detection device includes memory, and one or one with On program, one of them or more than one program storage is in memory, and one or more than one program can wrap Include one or more modules, and can include can to the series of computation machine in Android simulator detection device for each module Execute instruction, and be configured to by one either more than one computing device this or more than one program bag containing being used for Carry out following computer executable instructions:
After terminal device runs Android program to be detected, it is determined that the Android system of the operation Android program to be detected is It is no that there is the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default biography Sensor installation requirement;
If the Android system has the specific configuration information, and, the terminal device meets the sensor installation It is required that, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected Operate in Android simulator.
Alternatively, computer executable instructions when executed, it is determined that the Android system of the operation Android program to be detected Whether system has the specific configuration information for being used for identifying non-Android simulator, including:
Whether the Android system that detection runs the Android program to be detected has Wireless Fidelity WIFI configuration informations, short message Functional configuration information and RAM card configuration information;
If it is respectively provided with, it is determined that the Android system has the specific configuration information.
Alternatively, computer executable instructions when executed, determine whether the terminal device meets default sensing Device installation requirement, including:
Obtain the sensor mount message of the terminal device;
According to the sensor mount message and the installation list of default sensor, the biography that the terminal device lacks is detected Whether the quantity of sensor is less than predetermined number threshold value, and the sensor of terminal device missing species whether be less than it is default Species threshold value;
If it is respectively less than, it is determined that the terminal device meets the sensor installation requirement.
Alternatively, when executed, detection runs the Android system of the Android program to be detected to computer executable instructions Whether system has Wireless Fidelity WIFI configuration informations, including:
Whether the Android system that detection runs the Android program to be detected has WIFI on off state values, if so, then true The fixed Android system has the WIFI configuration informations;
Or
Whether the Android system that detection runs the Android program to be detected has WIFI connection attribute information, if so, then Determine that the Android system has the WIFI configuration informations.
Alternatively, when executed, detection runs the Android system of the Android program to be detected to computer executable instructions Whether system has SMS configuration information, including:
Simulation performs short message sending process in the Android system for running the Android program to be detected;
If simulation performs short message sending success, it is determined that the Android system has the SMS configuration information.
Alternatively, when executed, detection runs the Android system of the Android program to be detected to computer executable instructions Whether system has RAM card configuration information, including:
Whether detection runs the Android system of the Android program to be detected with one or more in following information:
RAM card memory information, RAM card storage catalogue information, RAM card directory permission information and RAM card plug shape State value;
If have, it is determined that the Android system has the RAM card configuration information.
Alternatively, computer executable instructions when executed, it is determined that the Android program off-duty to be detected is being pacified Before in tall and erect simulator, in addition to:
Whether the information related to Android simulator is included in detection specific fields;
The Android program off-duty to be detected is determined in Android simulator, including:
If the information related to Android simulator is not included in the specific fields, it is determined that the Android program to be detected Off-duty is in Android simulator.
Because specific configuration information can be identified for that non-Android simulator, and the terminal device of Android simulator is run with being based on The sensor of the Android device installation of Android system is typically different, therefore is detected by the Android simulator in the embodiment of the present application Equipment, Android program to be detected can be determined based on the specific configuration information and sensor installation situation for identifying non-Android simulator Whether operate in Android simulator, so as to ensure the safety in utilization of Android program to be detected.
In the present embodiment, by detecting in specific fields whether include the information related to Android simulator, it is possible to increase The accuracy of simulator detection.
Further, a kind of storage medium is additionally provided based on above-mentioned Android simulator detection method, the embodiment of the present application, For storing computer executable instructions, in a kind of specific embodiment, the storage medium can be USB flash disk, CD, hard disk etc., The computer executable instructions of storage medium storage can realize below scheme when being executed by processor:
After terminal device runs Android program to be detected, it is determined that the Android system of the operation Android program to be detected is It is no that there is the specific configuration information for being used for identifying non-Android simulator, and determine whether the terminal device meets default biography Sensor installation requirement;
If the Android system has the specific configuration information, and, the terminal device meets the sensor installation It is required that, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines the Android program to be detected Operate in Android simulator.
Alternatively, the storage medium storage computer executable instructions when executed, it is determined that operation it is described to be detected Whether the Android system of Android program has the specific configuration information for being used for identifying non-Android simulator, including:
Whether the Android system that detection runs the Android program to be detected has Wireless Fidelity WIFI configuration informations, short message Functional configuration information and RAM card configuration information;
If it is respectively provided with, it is determined that the Android system has the specific configuration information.
Alternatively, the computer executable instructions of storage medium storage when executed, determine that the terminal device is It is no to meet default sensor installation requirement, including:
Obtain the sensor mount message of the terminal device;
According to the sensor mount message and the installation list of default sensor, the biography that the terminal device lacks is detected Whether the quantity of sensor is less than predetermined number threshold value, and the sensor of terminal device missing species whether be less than it is default Species threshold value;
If it is respectively less than, it is determined that the terminal device meets the sensor installation requirement.
Alternatively, when executed, detection operation is described to be detected for the computer executable instructions of storage medium storage Whether the Android system of Android program has Wireless Fidelity WIFI configuration informations, including:
Whether the Android system that detection runs the Android program to be detected has WIFI on off state values, if so, then true The fixed Android system has the WIFI configuration informations;
Or
Whether the Android system that detection runs the Android program to be detected has WIFI connection attribute information, if so, then Determine that the Android system has the WIFI configuration informations.
Alternatively, when executed, detection operation is described to be detected for the computer executable instructions of storage medium storage Whether the Android system of Android program has SMS configuration information, including:
Simulation performs short message sending process in the Android system for running the Android program to be detected;
If simulation performs short message sending success, it is determined that the Android system has the SMS configuration information.
Alternatively, when executed, detection operation is described to be detected for the computer executable instructions of storage medium storage Whether the Android system of Android program has RAM card configuration information, including:
Whether detection runs the Android system of the Android program to be detected with one or more in following information:
RAM card memory information, RAM card storage catalogue information, RAM card directory permission information and RAM card plug shape State value;
If have, it is determined that the Android system has the RAM card configuration information.
Alternatively, the storage medium storage computer executable instructions when executed, it is determined that the peace to be detected Before Zhuo Chengxu off-duties are in Android simulator, in addition to:
Whether the information related to Android simulator is included in detection specific fields;
The Android program off-duty to be detected is determined in Android simulator, including:
If the information related to Android simulator is not included in the specific fields, it is determined that the Android program to be detected Off-duty is in Android simulator.
Because specific configuration information can be identified for that non-Android simulator, and the terminal device of Android simulator is run with being based on The sensor of the Android device installation of Android system is typically different, therefore by the storage medium in the embodiment of the present application, can Determine whether Android program to be detected is run based on the specific configuration information and sensor installation situation for identifying non-Android simulator In Android simulator, so as to ensure the safety in utilization of Android program to be detected.
In the present embodiment, by detecting in specific fields whether include the information related to Android simulator, it is possible to increase The accuracy of simulator detection.
In the 1990s, the improvement for a technology can clearly distinguish be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And as the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make Special IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but have 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., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, Can is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller include but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with Pure computer readable program code mode realized beyond controller, completely can be by the way that method and step is carried out into programming in logic to make Controller is obtained in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions regards For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity, Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with In the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal Replace, improve etc., it should be included within the scope of claims hereof.

Claims (10)

  1. A kind of 1. Android simulator detection method of combination configuration information and ardware feature, it is characterised in that including:
    After terminal device runs Android program to be detected, it is determined that whether the Android system of the operation Android program to be detected has There is the specific configuration information for identifying non-Android simulator, and determine whether the terminal device meets default sensor Installation requirement;
    If the Android system has the specific configuration information, and, the terminal device meets the sensor installation requirement, The Android program off-duty to be detected is then determined in Android simulator, otherwise, it determines the Android program operation to be detected In Android simulator.
  2. 2. according to the method for claim 1, it is characterised in that it is determined that the Android system of the operation Android program to be detected Whether there is the specific configuration information for being used for identifying non-Android simulator, including:
    Whether the Android system that detection runs the Android program to be detected has Wireless Fidelity WIFI configuration informations, SMS Configuration information and RAM card configuration information;
    If it is respectively provided with, it is determined that the Android system has the specific configuration information.
  3. 3. method according to claim 1 or 2, it is characterised in that determine whether the terminal device meets default biography Sensor installation requirement, including:
    Obtain the sensor mount message of the terminal device;
    According to the sensor mount message and the installation list of default sensor, the sensor that the terminal device lacks is detected Quantity whether be less than predetermined number threshold value, and whether the species of the sensor of terminal device missing is less than default species Threshold value;
    If it is respectively less than, it is determined that the terminal device meets the sensor installation requirement.
  4. 4. according to the method for claim 2, it is characterised in that detection runs the Android system of the Android program to be detected Whether there is Wireless Fidelity WIFI configuration informations, including:
    Whether the Android system that detection runs the Android program to be detected has WIFI on off state values, if so, then determining institute Stating Android system has the WIFI configuration informations;
    Or
    Whether the Android system that detection runs the Android program to be detected has WIFI connection attribute information, if so, then determining The Android system has the WIFI configuration informations.
  5. 5. according to the method for claim 2, it is characterised in that detection runs the Android system of the Android program to be detected Whether there is SMS configuration information, including:
    Simulation performs short message sending process in the Android system for running the Android program to be detected;
    If simulation performs short message sending success, it is determined that the Android system has the SMS configuration information.
  6. 6. according to the method for claim 2, it is characterised in that detection runs the Android system of the Android program to be detected Whether there is RAM card configuration information, including:
    Whether detection runs the Android system of the Android program to be detected with one or more in following information:
    RAM card memory information, RAM card storage catalogue information, RAM card directory permission information and RAM card plug state Value;
    If have, it is determined that the Android system has the RAM card configuration information.
  7. 7. method according to claim 1 or 2, it is characterised in that it is determined that the Android program off-duty to be detected exists Before in Android simulator, in addition to:
    Whether the information related to Android simulator is included in detection specific fields;
    The Android program off-duty to be detected is determined in Android simulator, including:
    If the information related to Android simulator is not included in the specific fields, it is determined that the Android program to be detected is not transported Row is in Android simulator.
  8. A kind of 8. Android simulator detection means of combination configuration information and ardware feature, it is characterised in that including:
    Information detecting module, for after terminal device runs Android program to be detected, it is determined that the operation Android journey to be detected Whether the Android system of sequence has the specific configuration information for being used for identifying non-Android simulator, and determines that the terminal device is It is no to meet default sensor installation requirement;
    As a result determining module, if there is the specific configuration information for the Android system, and, the terminal device meets institute State sensor installation requirement, it is determined that the Android program off-duty to be detected is in Android simulator, otherwise, it determines described treat Detection Android program is operated in Android simulator.
  9. A kind of 9. Android simulator detection device of combination configuration information and ardware feature, it is characterised in that including:
    Processor;And
    It is arranged to store the memory of computer executable instructions, the computer executable instructions make described when executed Processor:
    After terminal device runs Android program to be detected, it is determined that whether the Android system of the operation Android program to be detected has There is the specific configuration information for identifying non-Android simulator, and determine whether the terminal device meets default sensor Installation requirement;
    If the Android system has the specific configuration information, and, the terminal device meets the sensor installation requirement, The Android program off-duty to be detected is then determined in Android simulator, otherwise, it determines the Android program operation to be detected In Android simulator.
  10. A kind of 10. storage medium, for storing computer executable instructions, it is characterised in that the computer executable instructions Below scheme is realized when executed:
    After terminal device runs Android program to be detected, it is determined that whether the Android system of the operation Android program to be detected has There is the specific configuration information for identifying non-Android simulator, and determine whether the terminal device meets default sensor Installation requirement;
    If the Android system has the specific configuration information, and, the terminal device meets the sensor installation requirement, The Android program off-duty to be detected is then determined in Android simulator, otherwise, it determines the Android program operation to be detected In Android simulator.
CN201710922749.5A 2017-09-30 2017-09-30 With reference to configuration information and the Android simulator detection method and device of ardware feature Pending CN107729750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710922749.5A CN107729750A (en) 2017-09-30 2017-09-30 With reference to configuration information and the Android simulator detection method and device of ardware feature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710922749.5A CN107729750A (en) 2017-09-30 2017-09-30 With reference to configuration information and the Android simulator detection method and device of ardware feature

Publications (1)

Publication Number Publication Date
CN107729750A true CN107729750A (en) 2018-02-23

Family

ID=61209676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710922749.5A Pending CN107729750A (en) 2017-09-30 2017-09-30 With reference to configuration information and the Android simulator detection method and device of ardware feature

Country Status (1)

Country Link
CN (1) CN107729750A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712253A (en) * 2018-06-06 2018-10-26 北京美好人生伙伴信息技术有限公司 A kind of recognition methods of forgery mobile terminal and device based on mobile phone sensor fingerprint
CN108920952A (en) * 2018-06-20 2018-11-30 融慧金科金融服务外包(北京)有限公司 A method of Android virtual machine is identified based on device sensor classification precision
CN109062667A (en) * 2018-07-27 2018-12-21 平安科技(深圳)有限公司 A kind of simulator recognition methods, identification equipment and computer-readable medium
CN110457220A (en) * 2019-08-08 2019-11-15 北京智游网安科技有限公司 Simulator detection method, intelligent terminal and storage medium based on android system
CN110990202A (en) * 2019-10-21 2020-04-10 厦门美柚股份有限公司 Method for identifying Android simulator and related equipment
CN112100615A (en) * 2020-09-11 2020-12-18 北京明略昭辉科技有限公司 Equipment identification method and device, storage medium and electronic equipment
CN113902458A (en) * 2021-12-07 2022-01-07 深圳市活力天汇科技股份有限公司 Malicious user identification method and device and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700936A (en) * 2016-01-14 2016-06-22 福州靠谱网络有限公司 Operating method and apparatus for application program of Android simulator
CN106357670A (en) * 2016-10-17 2017-01-25 成都知道创宇信息技术有限公司 Simulator-based android application server side Web vulnerability detection method
CN106648835A (en) * 2016-12-26 2017-05-10 武汉斗鱼网络科技有限公司 Method and system for detecting running of Android application program in Android simulator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700936A (en) * 2016-01-14 2016-06-22 福州靠谱网络有限公司 Operating method and apparatus for application program of Android simulator
CN106357670A (en) * 2016-10-17 2017-01-25 成都知道创宇信息技术有限公司 Simulator-based android application server side Web vulnerability detection method
CN106648835A (en) * 2016-12-26 2017-05-10 武汉斗鱼网络科技有限公司 Method and system for detecting running of Android application program in Android simulator

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LQH: "Android 区别真机和模拟器的几种方法", 《HTTPS://WWW.JB51.NET/ARTICLE/88548.HTM》 *
大杯具: "android识别模拟器与真机的一些方法", 《HTTPS://BLOG.CSDN.NET/ABCD1115313634/ARTICLE/DETAILS/48784251/》 *
无: "基于文件特征的Android模拟器检测", 《HTTPS://WWW.ANQUANKE.COM/POST/ID/85173》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712253A (en) * 2018-06-06 2018-10-26 北京美好人生伙伴信息技术有限公司 A kind of recognition methods of forgery mobile terminal and device based on mobile phone sensor fingerprint
CN108712253B (en) * 2018-06-06 2020-10-13 北京人人云图信息技术有限公司 Counterfeit mobile terminal identification method and device based on fingerprint of mobile phone sensor
CN108920952A (en) * 2018-06-20 2018-11-30 融慧金科金融服务外包(北京)有限公司 A method of Android virtual machine is identified based on device sensor classification precision
CN109062667A (en) * 2018-07-27 2018-12-21 平安科技(深圳)有限公司 A kind of simulator recognition methods, identification equipment and computer-readable medium
WO2020019485A1 (en) * 2018-07-27 2020-01-30 平安科技(深圳)有限公司 Simulator identification method, identification device, and computer readable medium
CN110457220A (en) * 2019-08-08 2019-11-15 北京智游网安科技有限公司 Simulator detection method, intelligent terminal and storage medium based on android system
CN110990202A (en) * 2019-10-21 2020-04-10 厦门美柚股份有限公司 Method for identifying Android simulator and related equipment
CN112100615A (en) * 2020-09-11 2020-12-18 北京明略昭辉科技有限公司 Equipment identification method and device, storage medium and electronic equipment
CN113902458A (en) * 2021-12-07 2022-01-07 深圳市活力天汇科技股份有限公司 Malicious user identification method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN107729749A (en) With reference to system information and the Android simulator detection method and device of ardware feature
CN107729750A (en) With reference to configuration information and the Android simulator detection method and device of ardware feature
TWI712913B (en) Model safety detection method, device and electronic equipment
CN107729121A (en) Simulator detection method and device
EP3780541B1 (en) Identity information identification method and device
CN104516783B (en) Authority control method and device
CN110007952B (en) Data processing method, device, equipment and machine readable medium
CN105491067B (en) Service security verification method and device based on key
CN103440456B (en) The method and device that a kind of application security is assessed
CN109787943A (en) A kind of method and apparatus of resisting abnegation service aggression
WO2020019485A1 (en) Simulator identification method, identification device, and computer readable medium
CN109144665A (en) A kind of simulator recognition methods, identification equipment and computer-readable medium
CN107678833A (en) Simulator detection method and device based on operation system information
CN107329899A (en) A kind of application compatibility method of testing and device
CN109726067A (en) A kind of process monitoring method and client device
WO2015016901A1 (en) Signal tokens indicative of malware
CN107622200A (en) The safety detecting method and device of application program
CN109308263A (en) A kind of small routine test method, device and equipment
CN108027859A (en) Detect the software attacks to the process in computing device
CN107678834A (en) A kind of Android simulator detection method and device based on hardware configuration
CN107741907A (en) With reference to bottom instruction and the simulator detection method and device of system information
CN110263294A (en) The determination method, apparatus and electronic equipment of loss function value
CN106528255A (en) Class loading method and device
CN113987599B (en) Method, device, equipment and readable storage medium for realizing firmware trusted root
CN101888627A (en) Mobile terminal and system data protection method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223