Method and device for identifying Android real machine and simulator and storage medium

A technology of simulators and machines, applied in computer security devices, instruments, and detecting faulty computer hardware, etc., can solve problems such as inability to judge

Active Publication Date: 2020-07-03
卓望数码技术(深圳)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, in the prior art, by customizing the flashing package or modifying the operating system in some well-known frameworks (such as Xposed Framework), the parameters read out by the above-mentioned judgment conditions in the simulator environment are the parameters of the real machine, which makes it impossible to judge according to the above-mentioned judgment conditions Whether it is a real machine or an emulator

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for identifying Android real machine and simulator and storage medium
  • Method and device for identifying Android real machine and simulator and storage medium
  • Method and device for identifying Android real machine and simulator and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] see figure 1 , figure 1 It is a schematic flow diagram of an embodiment of the method for identifying an Android real machine and an emulator according to the present invention, figure 1 The methods include:

[0035] Step S11: Execute a specific CPU instruction on the recognized machine installed with the Android operating system and set a specific judgment condition. If the judgment condition is met, it is judged that the recognized machine is an emulator.

[0036] In step S11, a library file of a specific CPU instruction and an executable program file for executing a specific CPU instruction can be loaded on the identified machine, whether an exception occurs by loading the library file and executing the executable program file, and executing the executable program file Check whether the result of the program file is abnormal to judge whether the recognized machine is a simulator.

[0037] see figure 2 , figure 2 yes figure 1 A schematic flowchart of an embodi...

Embodiment 2

[0088] see Figure 4 , Figure 4 It is a structural schematic diagram of an embodiment of the device for identifying an Android real device and an emulator according to the present invention. Figure 4 The device includes a CPU type acquiring and judging module 41 and a CPU instruction executing and judging module 42. The CPU type acquiring and judging module 41 is used for reading the CPU type of the identified machine, and if the CPU type is X86 type, it is judged that the identified machine is an emulator. The CPU instruction execution and judging module 42 is used to execute specific CPU instructions on the identified machine and set specific judging conditions. If the judging conditions are met, it is judged that the identified machine is an emulator.

[0089] The CPU instruction execution and judging module 42 includes: the first library file loading and judging unit 421, the first library file function execution and judging unit 422, the first library file return valu...

Embodiment 3

[0103] The present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make a computer execute the method according to Embodiment 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for identifying an Android real machine and a simulator and a storage medium. The identification method comprises the following steps: executing a specificCPU instruction on an identified machine provided with an Android operating system, setting a specific judgment condition, and if the judgment condition is met, judging the identified machine as a simulator. According to the method and the device, the problem that in the prior art, specific parameters and functions are modified in an operating system and a system bottom layer framework, so that anapplication layer reads false parameters or false function results, and misjudgment of identifying a real machine and a simulator is caused is solved.

Description

technical field [0001] The invention relates to the field of Android application software, in particular to a method, device and storage medium for identifying an Android real machine and an emulator. Background technique [0002] Simulator: It can simulate the operating environment of non-X_86 platform terminals on the computer, so that users can also experience non-X_86 platform games and applications on the computer. It can simulate non-X_86 platform operating systems on the computer, and can install, Use and uninstall non-X_86 platform application software, and has the characteristics of simplicity, convenience, and low cost. Commonly used emulators include Android emulators. [0003] so file: A shared dynamic link library file in the linux system, similar to a DLL file. [0004] Android APP developers generally need to carry out channel promotion to push the APP to the market. During the channel promotion, they may encounter bad channels to install the APP into the si...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F11/26G06F21/55
CPCG06F11/3093G06F11/261G06F21/554
Inventor 刘华友黄海龙陈超
Owner 卓望数码技术(深圳)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products