Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for crawling Android mobile phone App data

An Android mobile phone and data technology, the redundancy applied in the operation is used for data error detection, electrical digital data processing, response error generation, etc. It can solve problems such as inability to be crawled, avoid abnormal exits, and reduce maintenance. cost effect

Inactive Publication Date: 2018-05-29
CHENGDU REMARK TECH CO LTD +1
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in most cases, crawler technology is a crawler solution based on web pages. Apps running on Android phones are considered uncrawlable, so there is no App crawler solution based on the Android mobile phone platform.

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 for crawling Android mobile phone App data
  • Method for crawling Android mobile phone App data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] A method for crawling Android mobile phone App data mainly includes the following steps:

[0026] Step A1: Run the App to be crawled on the Android phone, and obtain the control elements of the App through the uiautomatorviewer tool provided in the Android SDK in the Android phone;

[0027] Step A2: Bind the ID of the control that needs to be crawled, and record the ID of the control through the interface control structure displayed on uiautomatorviewer and the text information on each control;

[0028] Step A3: Obtain the data in the App according to the written crawler program, and then transfer it to the server for storage through https.

[0029] Such as figure 1 As shown, the present invention sends a crawler command through the crawler App, and the data of the third-party App crawled by the crawler App is shown, and the data is uploaded to the mobile phone in a centralized manner; there can be multiple third-party Apps, and the third-party App includes A third-pa...

Embodiment 2

[0032] A method of crawling Android mobile App data, such as figure 2 Shown, the present invention mainly comprises the following steps:

[0033] The first step is to use the uiautomatorviewer tool provided in the Android SDK to obtain the interface element logo of the App;

[0034] Connect the mobile phone with the app to be crawled to the computer via usb, and use the adb shell command to start the uiautomatorviewer program under the Android SDK directory tools; at this time, you can view the interface layout and control structure;

[0035] The second step is to specify the ID of the control to be crawled, and determine which text content on the control to crawl through the interface control structure displayed on the uiautomatorviewer and the text information on each control, and record the ID of the control.

[0036] The third step is to write a crawler program according to the properties of each control, as follows:

[0037] Click on the "Profile" button:

[0038] Ui...

Embodiment 3

[0043] A method for crawling Android mobile phone App data mainly includes the following steps:

[0044] The first step is to install the app that needs to be crawled and obtain the control elements through uiautomatorviewer, which is mainly divided into the following two aspects:

[0045] a. Obtain the package name of the crawled App through a third-party tool, and use it as the entrance to automatically crawl the App;

[0046] b. Obtain the interface elements of the crawled App through the uiautomatorviewer tool in the Android SDK Tool, and establish a relationship as a binding ID. How to start Uiautomatorviewer: directly run the command line $Android / sdk / tools / bin / uiautomatorviewer in the SDK tools in the shell;

[0047] The second step is to write a crawler executable file based on the Android platform; through the unique logo of the interface elements obtained by uiautomatorviewer in the first step, bind the interface elements that need to be crawled with uiautomator, an...

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 for crawling Android mobile phone App data. The method comprises the steps of obtaining control parameters of an App through a uiautomatorviewer tool provided by an Android SDK in an Android mobile phone, then binding interface control elements in the App through an Android test framework uiautomator, and automatically crawling data in the App; and finally throughcommunication of an Android client and a server, realizing permanent backup of the crawled data. According to an Android mobile phone automatic crawler technology, the App data is automatically crawled based on visible elements of an Android platform interface, so that unnecessary maintenance cost is reduced; and the method has relatively high practicality.

Description

technical field [0001] The invention belongs to the technical field of mobile phone App data crawling, and in particular relates to a method for crawling Android mobile phone App data. Background technique [0002] With the improvement of our country's economy and technological level, mobile phones have become an indispensable tool for everyone's life; a large number of mobile phone apps have been developed on the market, which facilitates people's basic necessities of life. However, the monitoring of mobile phone data has become the primary issue of national network security; the background monitoring of mobile App data is still at a primary level. Currently, crawler technology is generally used to collect App data and conduct background monitoring. [0003] However, in most cases, crawler technology is a crawler solution based on web pages. Apps running on Android phones are considered uncrawlable, so there is no App crawler solution based on the Android mobile phone platf...

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/14
CPCG06F11/1438G06F11/1458G06F11/302G06F11/3093G06F2201/865
Inventor 辜鹏程宣继托
Owner CHENGDU REMARK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products