CN113509733A - Method and system for detecting android game client running in cloud mobile phone environment - Google Patents

Method and system for detecting android game client running in cloud mobile phone environment Download PDF

Info

Publication number
CN113509733A
CN113509733A CN202110424960.0A CN202110424960A CN113509733A CN 113509733 A CN113509733 A CN 113509733A CN 202110424960 A CN202110424960 A CN 202110424960A CN 113509733 A CN113509733 A CN 113509733A
Authority
CN
China
Prior art keywords
directory file
android
game client
file information
mobile phone
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.)
Withdrawn
Application number
CN202110424960.0A
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.)
Fujian Tianyi Network Technology Co ltd
Original Assignee
Fujian Tianyi Network 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 Fujian Tianyi Network Technology Co ltd filed Critical Fujian Tianyi Network Technology Co ltd
Priority to CN202110424960.0A priority Critical patent/CN113509733A/en
Publication of CN113509733A publication Critical patent/CN113509733A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/75Enforcing rules, e.g. detecting foul play or generating lists of cheating players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player

Abstract

The invention provides a method for detecting an android game client running in a cloud mobile phone environment, which comprises the following steps: step S1, operating the game client, reading all directory file information under the game client operating environment; step S2, comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; if all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment; the cheating of the game player is prevented.

Description

Method and system for detecting android game client running in cloud mobile phone environment
Technical Field
The invention relates to the technical field of game safety, in particular to a method and a system for detecting that an android game client runs in a cloud mobile phone environment.
Background
The rapid development of android mobile terminal games greatly attracts a group of users who specially want to obtain benefits and cheat in games, and often the users need to operate the games synchronously by running a plurality of game clients, so that the cloud mobile phone becomes the best selection scheme of the users. Because cloud handsets are less costly than a portion of real handsets and are easier to operate. There are many cloud handsets on the market such as: a cloudy mobile phone, a red finger cloud mobile phone, a Baidu cloud mobile phone, a Hema cloud mobile phone, and so on. The cloud mobile phones are developed secondarily based on the android primary system, and all the cloud mobile phones utilize the client for running the game on the cloud mobile phones to obtain profits and the client for running the game on the cloud mobile phones to cheat, so that great influence is brought to the safety of the game client and the profits of the balanced game of the game. Therefore, whether the game client running environment is operated in a cloud mobile phone environment or a real mobile phone environment needs to be identified and detected. The cloud mobile phones in the market also perform an anti-detection scheme such as hiding the packet name and hiding the attribute. Therefore, the difficulty that the android game client runs on the cloud mobile phone to be detected to be an countermeasure is also a matter needing to be solved for long-term continuous countermeasure.
Disclosure of Invention
In order to overcome the problems, the invention aims to provide a method for detecting whether an android game client runs in a cloud mobile phone environment, which can accurately detect whether the game client of an android mobile terminal runs in the cloud mobile phone environment.
The invention is realized by adopting the following scheme: a method for detecting that an android game client runs in a cloud mobile phone environment comprises the following steps:
step S1, operating the game client, reading all directory file information under the game client operating environment;
step S2, comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; if all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
Further, the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev _ devices _ system _ cpu/power", "/var/lib", and "/dev/dri".
Further, the step S1 is further specifically: starting a game client, and acquiring all directory File information under the current game client running environment through a File class, wherein the File class acquisition mode is as follows: instantiating an object through a File class, reading all directory File information of an android system under a current installation game client through the File class object, and reading all directory File information in a mode of circulating one directory File and one sub-directory File.
Further, the step S2 is further specifically: comparing and judging all directory File information and android directory File information of the android mobile phone system through an existing function of the android system with File classes, wherein the comparison and judgment mode is as follows: the exists function judges all the obtained directory file information and all the read first-layer directories of the android cloud mobile phone system firstly, judges all the first-layer directories, judges second-layer directory information if the first-layer directories exist, and so on, and judges that the directory file information exists only if each layer directory information exists; all directory file information is judged in this manner.
The invention discloses a system for detecting that an android game client runs in a cloud mobile phone environment, which comprises a directory file reading module and a directory file comparison module;
the directory file reading module reads all directory file information under the game client running environment when the game client runs;
the comparison directory file module is used for comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; if all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
Further, the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev _ devices _ system _ cpu/power", "/var/lib", and "/dev/dri".
Further, the implementation manner of the module for reading the directory file is further specifically that: starting a game client, and acquiring all directory File information under the current game client running environment through a File class, wherein the File class acquisition mode is as follows: instantiating an object through a File class, reading all directory File information of an android system under a current installation game client through the File class object, and reading all directory File information in a mode of circulating one directory File and one sub-directory File.
Further, the comparison directory File module compares and judges all directory File information and android directory File information of the android mobile phone system through an existing function of the android system with File classes, wherein the comparison and judgment mode is as follows: the exists function judges all the obtained directory file information and all the read first-layer directories of the android cloud mobile phone system firstly, judges all the first-layer directories, judges second-layer directory information if the first-layer directories exist, and so on, and judges that the directory file information exists only if each layer directory information exists; all directory file information is judged in this manner.
The invention has the beneficial effects that: the game client of the android mobile terminal needs to check current environment information during operation, whether a certain risk exists in the current game client operation environment needs to be obtained according to the check, certain distinguishing setting is carried out on the game client operation environment risk rule, a game player is prevented from illegally obtaining benefits or cheating, and whether the game client of the android mobile terminal operates in a cloud mobile phone environment can be accurately detected.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
Fig. 2 is a schematic block diagram of the system of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Referring to fig. 1, a method for detecting that an android game client runs in a cloud mobile phone environment according to the present invention includes the following steps:
step S1, operating the game client, reading all directory file information under the game client operating environment;
step S2, comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev/shm", "/system _ devices _ cpu/power", "/var/lib", and "/dev/dri". If all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
The invention is further illustrated below with reference to a specific embodiment:
a method for detecting that an android game client runs in a cloud mobile phone environment is provided, and the method comprises the following steps:
1. starting an android game client, and acquiring all directory File information under the current operating environment through File types when the game client is operated; the File type acquisition mode is as follows: the instantiation object is carried out through the File class, all directory File information of the android system under the current game client side is read through the File class object (because the File class is provided by the android system, the File class has the authority to directly read all directory File information under the android system), and all directory File information is read in a mode of circulating one directory File and one sub-directory File.
2. Comparing and judging all the obtained directory File information with android directory File information of an android cloud mobile phone system through an existing function of an android system with files; whether "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev/shmoo", "/system _ cpu/power", "/var/lib", and "/dev/dri" exist under the current game client is judged, directory file information specific to the eight cloud mobile phone environments is judged, as long as one of the eight specific directory files exists under the current client operation environment is judged, the current operation environment is judged to be operated in the cloud mobile phone environment, otherwise, the current game client operation environment is not in the cloud mobile phone environment. The File-type object reads and judges directory File information, and the directory File information is judged firstly by all the acquired directory File information and all the read first-layer directories of the android cloud mobile phone system, for example, the unique File directory information of/cpu/power, namely, the directory File information is judged firstly by judging the/cpu/directory information, if the directory exists, and then judging the second-layer directory information/power/only two layers of directory information exist, the directory File information exists. Other directory file information is also judged in the same manner.
Referring to fig. 2, a system for detecting that an android game client runs in a cloud mobile phone environment according to the present invention includes a directory file reading module and a directory file comparison module;
the directory file reading module reads all directory file information under the game client running environment when the game client runs;
the comparison directory file module is used for comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev/shm", "/system _ devices _ cpu/power", "/var/lib", and "/dev/dri". If all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
The implementation manner of the module for reading the directory file is further specifically as follows: starting a game client, and acquiring all directory File information under the current game client running environment through a File class, wherein the File class acquisition mode is as follows: instantiating an object through a File class, reading all directory File information of an android system under a current installation game client through the File class object, and reading all directory File information in a mode of circulating one directory File and one sub-directory File.
The comparison directory File module compares and judges all directory File information and android directory File information of the android mobile phone system through an existing function of the android system with files, wherein the comparison and judgment mode is as follows: the exists function judges all the obtained directory file information and all the read first-layer directories of the android cloud mobile phone system firstly, judges all the first-layer directories, judges second-layer directory information if the first-layer directories exist, and so on, and judges that the directory file information exists only if each layer directory information exists; all directory file information is judged in this manner.
In summary, the present invention provides a directory method for reading a current client operating environment in an android environment, including: and traversing through File classes carried by the system to acquire all directory File information of the current environment. The method for judging and detecting the operation of the current game client in the cloud mobile phone environment in the android environment comprises the following steps: traversing and comparing eight special cloud mobile phone directory files of directory file information and/cpu/power,/power _ supply/battery,/proc/1/map _ files,/dev/queue,/dev/shm,/system _ devices _ system _ cpu/power,/var/lib,/dev/dri in the current environment, wherein the current environment runs in the cloud mobile phone environment as long as the directory file information in the current environment has the special android directory file of the cloud mobile phone environment, and otherwise, the current environment does not run in the cloud mobile phone environment; therefore, whether the android mobile terminal game client runs in the cloud mobile phone environment or not can be accurately detected.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.

Claims (8)

1. A method for detecting that an android game client runs in a cloud mobile phone environment is characterized by comprising the following steps: the method comprises the following steps:
step S1, operating the game client, reading all directory file information under the game client operating environment;
step S2, comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; if all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
2. The method of claim 1, wherein the method comprises the steps of: the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev/shm", "/system _ devices _ cpu/power", "/var/lib", and "/dev/dri".
3. The method of claim 1, wherein the method comprises the steps of: the step S1 further includes: starting a game client, and acquiring all directory File information under the current game client running environment through a File class, wherein the File class acquisition mode is as follows: instantiating an object through a File class, reading all directory File information of an android system under a current installation game client through the File class object, and reading all directory File information in a mode of circulating one directory File and one sub-directory File.
4. The method of claim 1, wherein the method comprises the steps of: the step S2 further includes: comparing and judging all directory File information and android directory File information of the android mobile phone system through an existing function of the android system with File classes, wherein the comparison and judgment mode is as follows: the exists function judges all the obtained directory file information and all the read first-layer directories of the android cloud mobile phone system firstly, judges all the first-layer directories, judges second-layer directory information if the first-layer directories exist, and so on, and judges that the directory file information exists only if each layer directory information exists; all directory file information is judged in this manner.
5. A system for detecting that an android game client runs in a cloud mobile phone environment is characterized in that: the system comprises a directory file reading module and a directory file comparison module;
the directory file reading module reads all directory file information under the game client running environment when the game client runs;
the comparison directory file module is used for comparing and judging all the obtained directory file information with the android directory file information of the android cloud mobile phone system; if all directory file information in the current game client running environment is the same as any one of the android directory file information, judging that the game client runs in the cloud mobile phone environment; otherwise, the current game client running environment is not in the cloud mobile phone environment.
6. The system of claim 5, wherein the system is configured to detect that the android game client is running in a cloud mobile phone environment, and is further configured to: the android directory file information includes "/cpu/power", "/power _ supply/battery", "/proc/1/map _ files", "/dev/queue", "/dev/shm", "/system _ devices _ cpu/power", "/var/lib", and "/dev/dri".
7. The system of claim 5, wherein the system is configured to detect that the android game client is running in a cloud mobile phone environment, and is further configured to: the implementation manner of the directory file reading module is further specifically that: starting a game client, and acquiring all directory File information under the current game client running environment through a File class, wherein the File class acquisition mode is as follows: instantiating an object through a File class, reading all directory File information of an android system under a current installation game client through the File class object, and reading all directory File information in a mode of circulating one directory File and one sub-directory File.
8. The system of claim 5, wherein the system is configured to detect that the android game client is running in a cloud mobile phone environment, and is further configured to: the comparison directory File module compares and judges all directory File information and android directory File information of the android mobile phone system through an existing function of the android system with files, wherein the comparison and judgment mode is as follows: the exists function judges all the obtained directory file information and all the read first-layer directories of the android cloud mobile phone system firstly, judges all the first-layer directories, judges second-layer directory information if the first-layer directories exist, and so on, and judges that the directory file information exists only if each layer directory information exists; all directory file information is judged in this manner.
CN202110424960.0A 2021-04-20 2021-04-20 Method and system for detecting android game client running in cloud mobile phone environment Withdrawn CN113509733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110424960.0A CN113509733A (en) 2021-04-20 2021-04-20 Method and system for detecting android game client running in cloud mobile phone environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110424960.0A CN113509733A (en) 2021-04-20 2021-04-20 Method and system for detecting android game client running in cloud mobile phone environment

Publications (1)

Publication Number Publication Date
CN113509733A true CN113509733A (en) 2021-10-19

Family

ID=78062349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110424960.0A Withdrawn CN113509733A (en) 2021-04-20 2021-04-20 Method and system for detecting android game client running in cloud mobile phone environment

Country Status (1)

Country Link
CN (1) CN113509733A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025775A (en) * 2007-01-19 2007-08-29 华为技术有限公司 Method, system and device for preventing network game from extenally hanging software
CN104156638A (en) * 2014-06-06 2014-11-19 国家计算机网络与信息安全管理中心 Implementation method of extended signature for Android system software
CN104217137A (en) * 2014-08-29 2014-12-17 广东欧珀移动通信有限公司 Method and device for identifying whether intelligent terminal system is changed
US20150052253A1 (en) * 2014-09-22 2015-02-19 Weaved, Inc. Multi-server fractional subdomain dns protocol
CN109865293A (en) * 2017-12-05 2019-06-11 上海花事电子商务有限公司 A kind of intelligent mobile game social platform anti-cheating system and method
CN111957050A (en) * 2020-08-19 2020-11-20 福建天晴在线互动科技有限公司 Game client running environment detection method and system based on input device
CN112569605A (en) * 2020-12-28 2021-03-30 福建省天奕网络科技有限公司 Method and system for detecting android running in modifier environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025775A (en) * 2007-01-19 2007-08-29 华为技术有限公司 Method, system and device for preventing network game from extenally hanging software
CN104156638A (en) * 2014-06-06 2014-11-19 国家计算机网络与信息安全管理中心 Implementation method of extended signature for Android system software
CN104217137A (en) * 2014-08-29 2014-12-17 广东欧珀移动通信有限公司 Method and device for identifying whether intelligent terminal system is changed
US20150052253A1 (en) * 2014-09-22 2015-02-19 Weaved, Inc. Multi-server fractional subdomain dns protocol
CN109865293A (en) * 2017-12-05 2019-06-11 上海花事电子商务有限公司 A kind of intelligent mobile game social platform anti-cheating system and method
CN111957050A (en) * 2020-08-19 2020-11-20 福建天晴在线互动科技有限公司 Game client running environment detection method and system based on input device
CN112569605A (en) * 2020-12-28 2021-03-30 福建省天奕网络科技有限公司 Method and system for detecting android running in modifier environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网易易盾: "知物由学 | 浅谈网易易盾云真机检测", pages 1 - 13, Retrieved from the Internet <URL:https://t.cj.sina.com.cn/articles/view/5788944942/1590c4a2e00100o8g9?finpagefr=p_104> *

Similar Documents

Publication Publication Date Title
CN106845240A (en) A kind of Android malware static detection method based on random forest
CN101755271A (en) Method and apparatus for managing access privilege in cldc osgi environment
CN109062667B (en) Simulator identification method, simulator identification equipment and computer readable medium
CN109561085A (en) A kind of auth method based on EIC equipment identification code, server and medium
CN105069354A (en) Attack tree model based Android software hybrid detection method
KR20110128632A (en) Method and device for detecting malicious action of application program for smartphone
CN110704104B (en) Application counterfeiting detection method, intelligent terminal and storage medium
CN107623738A (en) A kind of WebView bridge joint mouth stain mappings and analysis method towards Android application
CN103198243A (en) Method and device for identifying emulational application programs
CN103366116B (en) The anticipation system of the application program potential threat of mobile terminal, method and device
CN108090360A (en) The Android malicious application sorting technique and system of a kind of Behavior-based control feature
CN112492605A (en) Network security protection method and system for mobile base station of Internet of things
CN111523097B (en) App brush user identification method, device and storage medium based on Android system
CN109391620A (en) Method for building up, system, server and the storage medium of abnormal behaviour decision model
CN113509733A (en) Method and system for detecting android game client running in cloud mobile phone environment
CN107450951B (en) Application processing method and device, storage medium and terminal
CN103902906A (en) Mobile terminal malicious code detecting method and system based on application icon
CN109101435A (en) The multi partition recognition methods of movable storage device and system, car-mounted terminal
CN108932146A (en) Page display method, device and computer readable storage medium
CN110838929B (en) System error checking method and system error checking device
CN113656291B (en) Dynamic calling method for software script engine
CN111957050A (en) Game client running environment detection method and system based on input device
CN112569605A (en) Method and system for detecting android running in modifier environment
CN114091028A (en) Android application information leakage detection method based on data flow
CN113987489A (en) Method and device for detecting unknown threat of network, electronic equipment and storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211019