CN106557572A - A kind of extracting method and system of Android application program file - Google Patents
A kind of extracting method and system of Android application program file Download PDFInfo
- Publication number
- CN106557572A CN106557572A CN201611038243.XA CN201611038243A CN106557572A CN 106557572 A CN106557572 A CN 106557572A CN 201611038243 A CN201611038243 A CN 201611038243A CN 106557572 A CN106557572 A CN 106557572A
- Authority
- CN
- China
- Prior art keywords
- application program
- android application
- program file
- mobile client
- file
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/113—Details of archiving
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
- G06F16/184—Distributed file systems implemented as replicated file system
- G06F16/1844—Management specifically adapted to replicated file systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses the extracting method and system of a kind of Android application program file, are related to networking technology area.For the Android application program file in mobile client is transferred to computer, the method comprises the steps the present invention:Android application program file is obtained from the data subregions of mobile client and the SD card subregion of mobile client is stored in, then the Android application program file in SD card subregion is transferred to into computer.The present invention need not obtain the root authority of mobile client, just can rapidly from the data subregions of mobile client extract Android application program file, and be transferred on computer and facilitate developer to check, drastically increase the development efficiency of Android application program, development cost is reduced, and is applied to various mobile clients.
Description
The present invention relates to networking technology area, is specifically related to a kind of extracting method of Android application program file and is
System.
Background technology
In the exploitation and debugging process of Android application program, developer needs Jing often to check that operating in mobile phone etc. moves
The data of the application program storage in client.Data point in mobile client of all data all default storages of application program
In area in the bag of application program file under one's name, the bag name of each application program is well-determined.If developer
Highest control authority root without Android mobile phone, in addition to the application, other application and ARIXTRA debug bridge (Android
Debug Bridge) data of the application program that cannot store in directly accessing data subregions of ADB instruments, developer do not have
Have permission the data for checking the application program.In order to read these data, developer needs to write substantial amounts of code manually in fact
The targets such as the reading and disk detection of existing application data, when occurring abnormal in the reading process of application data, open
The workload of the personnel of sending out is big, spends the time more, causes the debugging of application program and development efficiency relatively low, and development cost increases
Plus.
The content of the invention
For defect present in prior art, present invention is primarily targeted at providing a kind of Android application program file
Extracting method, another object of the present invention is to provide a kind of extraction system of application data, without the need for obtaining mobile visitor
The root authority at family end, just rapidly from the data subregions of mobile client can extract Android application program file, and pass
It is defeated on computer to facilitate developer to check, the development efficiency of Android application program is drastically increased, development cost is reduced,
And it is applied to various mobile clients.
The present invention provides a kind of extracting method of Android application program file, for by the ARIXTRA application in mobile client
Program file is transferred to computer, comprises the steps:Android application program text is obtained from the data subregions of mobile client
Part is simultaneously stored in the SD card subregion of mobile client, then the Android application program file in SD card subregion is transferred to computer.
On the basis of above-mentioned technical proposal, obtain Android application program file and be stored in the SD card subregion of mobile client
Be included in the internal memory of mobile client and create the buffer zone of predefined size, by the data in Android application program file according to
The predefined size is stored in the buffer zone in batches, and writes SD card subregion from the buffer zone.
On the basis of above-mentioned technical proposal, obtain Android application program file and be stored in the SD card subregion of mobile client
When also including reading and storing Android application program file appearance exception, stop reading and storing operating, and in mobile client
Upper display abnormal information.
On the basis of above-mentioned technical proposal, obtain Android application program file and be stored in the SD card subregion of mobile client
Also include that the data in all Android application program files are write after SD card subregion from the buffer zone, by linux system text
In the Android application program file of the data write SD card subregion in part read-write cache area, and show in mobile client
The Android application program file success of the data write SD card subregion in linux system file read-write buffer area is unsuccessfully believed
Breath.
On the basis of above-mentioned technical proposal, bridge ADB instruments are debugged by the ARIXTRA application journey in SD card subregion by ARIXTRA
Preface part is transferred to computer.
On the basis of above-mentioned technical proposal, methods described also includes:Obtain Android application program file and be stored in shifting
Before the SD card subregion of dynamic client, judge and show whether whether full and Android application program file is for SD card subregion
It is empty.
On the basis of above-mentioned technical proposal, SD card subregion whether full and Android application program file is judged and shows
Whether it is empty, which includes the store path for detecting SD card subregion respectively and the storage size of free time, and ARIXTRA application journey
The store path and size of preface part;If the idle storage size is 0 or the idle storage size
Less than the size of Android application program file, show that SD card subregion is full in mobile client;Judge Android application program text
Whether the size of part is 0, if so, shows Android application program file in mobile client for sky;If it is not, in SD card subregion
Create for storing the catalogue of Android application program file.
On the basis of above-mentioned technical proposal, create in SD card subregion for storing the catalogue of Android application program file
Including the bag name for obtaining Android application program, all catalogues in SD card subregion are detected, title is deleted with Android application program
Bag name identical catalogue, and create in SD card subregion for storing the catalogue of Android application program file.
The present invention also provides a kind of extraction system of Android application program file, for the ARIXTRA in mobile client is answered
Computer is transferred to program file, including:
Extraction module, for Android application program file is obtained from the data subregions of mobile client and mobile visitor is stored in
The SD card subregion at family end;
Transport module, for the Android application program file in SD card subregion is transferred to computer.
On the basis of above-mentioned technical proposal, the system also include detection module, the detection module be used for judge and
Show whether whether full and Android application program file is empty to SD card subregion;
The detection module is used for the store path and the storage size of free time for detecting SD card subregion respectively, Yi Jian
The store path and size of tall and erect application file;If the idle storage size is 0 or the idle storage
Size of the space size less than Android application program file, shows that in mobile client SD card subregion is full;Judge that ARIXTRA should
Whether be 0 with the size of program file, if so, Android application program file is shown in mobile client for sky;If it is not, in SD
Create in card subregion for storing the catalogue of Android application program file.
Compared with prior art, advantages of the present invention is as follows:
(1) present invention need not obtain the root authority of mobile client, just can rapidly from the data of mobile client
Android application program file is extracted in subregion, and is transferred on computer and is facilitated developer to check, drastically increase ARIXTRA
The development efficiency of application program, reduces development cost, and is applied to various mobile clients.
(2) present invention creates buffer zone in the internal memory of mobile client, by buffer zone by Android application program
Data in file are stored in SD card subregion, it is to avoid frequently I/O operation, improve reading and the storage efficiency of data.
(3) present invention can be full in SD card subregion before obtaining Android application program file and being stored in SD card subregion
And in the case that Android application program file is for sky, point out developer to delete the partial data in SD card subregion, Yi Jian
Tall and erect application file is not space-time, then enters to be about to the operation that Android application program file is stored in SD card subregion, it is to avoid during waste
Between, further improve the development efficiency of Android application program.
Description of the drawings
Fig. 1 is the extracting method flow chart of first embodiment of the invention Android application program file;
Fig. 2 is the particular flow sheet of step S100;
Fig. 3 is that any one Android application program file is stored in the concrete of the SD card subregion of mobile client in step S200
Flow chart;
Fig. 4 is the extracting method flow chart of second embodiment of the invention Android application program file;
Fig. 5 is the extraction system schematic diagram of embodiment of the present invention Android application program file.
Specific embodiment
Term explanation:
Bag name:It is the unique identifier of an application program, typically one character string.
Data subregions:The kernel of Android mobile phone is Linux system, and data subregions are the one of the file system of Linux system
Individual subregion, is generally used for storing the related data information of application program.
root:The rights management of Android mobile phone, the highest control authority of root acute pyogenic infection of finger tip Android mobile phones.
Application programming interface (Application Programming Interface) API:It is that some pre-define
Function, it is therefore an objective to application program and developer are provided and are able to access the ability of one group of routine based on certain software or hardware, and
Source code need not be accessed again.
Byte:Byte is a kind of measurement unit that computer information technology is used for meter store capacity, also illustrates that some meters
Data type and language character in calculation machine programming language.
ARIXTRA debugs bridge (Android Debug Bridge) ADB instruments:Easily can be existed by ADB instruments
Monitoring service (DDMS) is debugged by ARIXTRA in Eclipse and debugs Android application program, ADB instruments are using monitoring Socket TCP
The mode of the ports such as 5554 allows IDE and Qemu to communicate, the network port that ADB instruments can be daemon related under default situations, so
When Eclipse is run, ADB tool processes will automatic running.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, first embodiment of the invention provides a kind of extracting method of Android application program file, for inciting somebody to action
Android application program file in mobile client is transferred to computer, comprises the steps:
S100 judges and shows that whether whether full and Android application program file is for the SD card subregion of mobile client
It is empty.
Step S100 includes:Judge and show whether whether full and Android application program file is sky to SD card subregion,
Which includes detecting respectively the storage size of the store path of SD card subregion and free time, and Android application program file is deposited
Storage path and size;If the storage size of free time is 0 or the storage size of free time is less than Android application program text
The size of part, shows that in mobile client SD card subregion is full;Whether the size for judging Android application program file is 0, if
It is to show that Android application program file is sky in mobile client;If it is not, create in SD card subregion should for storing ARIXTRA
With the catalogue of program file.
Shown in Figure 2, step S100 is specifically included:
S101 obtains the store path of SD card subregion.
The api function Environment.getExternalStorageDirectory provided by Android operation system
() obtains the store path of SD card subregion, wherein, Environment. is one of Android operation system offer globally available
Environment obtains entrance, can just obtain depositing for SD card subregion by its internalist methodology getExternalStorageDirectory
Storage path.
The size and the quantity of freed data blocks of individual data block in S102 detection SD card subregions, and calculate acquisition SD card point
The storage size of the free time in area, basis formula:Size * of idle storage size=individual data block is idle
The quantity of data block.
The store path of the SD card subregion of acquisition is passed to into StatFs classes, StatFs classes are the acquisition catalogues that Java is provided
The class of lower directory information, and the store path of SD card subregion is stored in variable sf, sf is a variable, and acute pyogenic infection of finger tip catalogue is related
Information, this makes it possible to the directory information of the store path of acquisition SD card subregion.
The size of individual data block, getBlockSize can be got by the getBlockSize methods in variable sf
Method is the method for obtaining individual data block size, and the unit of data block size is byte byte, carrys out labelling using blockSize
Individual data block size.
File under the store path of SD card subregion can be obtained by the getAvailableBlocks methods in variable sf
The quantity of the freed data blocks of folder, getAvailableBlocks methods are the methods of the quantity for obtaining freed data blocks, are used
FreeBlocks carrys out the quantity of mark idle data block.
Obtain idle storage size, basis formula:Idle storage size=individual data block
Quantity=the blockSize*freeBlocks of size * freed data blocks, i.e., be multiplied by space number by the size of individual data block
According to the quantity of block, it becomes possible to get the storage size of free time, idle storage size is marked as
freeSpace。
S103 judges whether the storage size of free time is 0, if so, into S104;If it is not, entering S105.
S104 shows that in mobile client SD card subregion is full, terminates.
If storage size freeSpace of free time is 0, that is, SD card is full, and this when cannot be by ARIXTRA
Application file is copied in SD card subregion, and SD card partitioned storage space can only be pointed out full, needs to delete in SD card subregion
Partial data enters to be about to the operation that Android application program file is stored in SD card subregion again.
The store path and size of S105 detection Android application program files.
The store path of Android application program file is obtained from the data subregions of mobile client, if the storage of free time is empty
Between size freeSpace be 0, this when detection Android application program store path in file, judge file
In Android application program file in whether have data, and record the size of Android application program file.
Detection method is as follows:
Traveled through using the All Files under file of the endless form to Android application program, if it find that file
Folder, then may proceed to enter into the operation for carrying out traveling through All Files under its sub-folder.
If it find that file, obtains this document size by getFileSize methods, getFileSize methods are Java
Acquisition file size method, and record the size of Android application program file.
S106 judges whether the storage size of free time is less than the size of Android application program file, if so, enters
S104;If it is not, entering S107.
If the storage size of free time, cannot be by Android application program less than the size of Android application program file
File copy can only point out SD card partitioned storage space full in SD card subregion, need to delete the partial data in SD card subregion
Operated again.
S107 judges whether the size of Android application program file is 0, if so, into S108;If it is not, entering S109.
If the All Files size under the file of Android application program is more than 0, false (vacation), table are directly returned
There are data in the file for showing Android application program.
If being 0 without file or All Files size under the file of Android application program, true (true) can be returned,
Represent that Android application program file does not have data.
S108 shows Android application program file in mobile client for sky, end.
If Android application program file is sky, then avoid the need for carrying out any extraction operation, in mobile client
Directly eject information and inform developer, inside Android application program file, there is no any data, Android application program file
For empty information.
S109 is created for storing the catalogue of Android application program file in SD card subregion.
Creating in SD card subregion includes obtaining Android application program for the catalogue for storing Android application program file
Bag name, detects all catalogues in SD card subregion, deletes the bag name identical catalogue of title and Android application program, and in SD card
Create in subregion for storing the catalogue of Android application program file.Comprise the following steps that:
If whether Android application program file is not sky, then next can judge SD card subregion before stored mistake
Android application program file.
A) Android application program bag name is obtained, Android application program bag name is the unique identifier of Android application program, its
Real is exactly a string special character strings, and usual naming method is similar to the forms such as com.douyu.tv.air.Obtain ARIXTRA application journey
Sequence bag name is the function getPackageName by calling Android operation system to provide, and getPackageName functions are to obtain
The function of bag name, it becomes possible to obtain the bag name of the Android application program.
B) all catalogues of searching loop SD card subregion, obtain the directory name character string of all catalogues of SD card subregion, lead to
Whether cross equals methods identical with Android application program bag name to compare the directory name of all catalogues of SD card subregion.equals
Method is character string comparison function, and character string is identical to be returned very, differs return false.
C) if it find that there is the bag name identical catalogue of title and Android application program on SD card subregion, illustrate to grasp at this
An Android application program file was copied before making once, what the inside was deposited is the historical data of Android application program file,
We should carry out deletion action to historical data first, can delete the catalogue file by calling remove methods, delete
After completing, the corresponding catalogue of mkdir function creation bag names is called manually.Remove methods are for the function that deltrees
Method, mkdir functions are the functions for createing directory.
If d) there is no the bag name identical catalogue of title and Android application program on SD card subregion, mkdir is directly invoked
Function is creating the corresponding catalogue of Android application program bag name.
The present invention can obtaining Android application program file and before being stored in SD card subregion, SD card subregion it is full and
In the case that Android application program file is for sky, points out developer to delete the partial data in SD card subregion, and ARIXTRA should
It is not space-time with program file, then enters to be about to the operation that Android application program file is stored in SD card subregion, it is to avoid loses time, enter
One step improves the development efficiency of Android application program.
S200 from the data subregions of mobile client obtains Android application program file and is stored in the SD of mobile client
Card subregion.
Step S200 includes:
The buffer zone of predefined size is created in the internal memory of mobile client, by the data in Android application program file
Be stored in buffer zone according to predefined size in batches, and SD card subregion is write from buffer zone.
After the buffer zone of predefined size is created in the internal memory of mobile client, in the data subregions of mobile client
Android application program file store path in, travel through Android application program All Files folder under All Files, for
Any one file, in order to be hereinafter described conveniently, this document is named as file, shown in Figure 3, and concrete operations are as follows:
S201 reads the data for being less than predefined size from file f ile as current data.
Current data is stored in buffer zone by S202, and the ARIXTRA application journey created under SD card subregion is write from buffer zone
In the corresponding catalogue of sequence bag name.
Whether S203 includes the end mark of file f ile in judging current data, if so, terminate;If it is not, entering S204.
If current data includes the end mark of file f ile, then this when is all by what is read in buffer zone
All in write file files, so the reading of this file f ile and ablation process are just completed data.
S204 data less than predefined size after current data are read from file f ile as renewal after work as
Front data, into S202.
If the end mark in current data not including file f ile, the reading and storage of the data of supporting paper file do not have
There is end, continue repeat step S202 and S203, circulation execution is gone down.
The benefit of the buffer zone of predefined size can be to be effectively reduced frequently I/O operation (read-write operation of file),
Expire when buffer zone can just carry out I/O operation, if no buffer zone, then be written to SD card point after reading data at once
Area, causes I/O operation very frequent, as I/O operation is, than relatively time-consuming operation, to ultimately result in acquisition Android application program file
And be stored in SD card subregion process it is less efficient.
The present invention creates buffer zone in the internal memory of mobile client, by buffer zone by application file
Data are stored in SD card subregion, it is to avoid frequently I/O operation, improve reading and the storage efficiency of data.
Step S200 also includes:
When reading and store Android application program file appearance exception, stop reading and storing operating, and in mobile client
Abnormal information is shown on end.Suggestion re-starts the operation of step S210.
Step S200 also includes:
Data in all Android application program files are write after SD card subregion, by linux system file from buffer zone
In the Android application program file of the data write SD card subregion in read-write cache area, and Linux is shown in mobile client
The Android application program file success of the data write SD card subregion in system file read-write cache area or failure information.
The kernel of Android system uses Linux system, so being described herein as from actual linux kernel system going out
Send out and be described.As Linux system has cache policy to file read-write, in order to guarantee the caching of file, own
Data in Android application program file call sync orders from after the write SD card subregion success of buffer zone, sync orders
Major function is to notify linux kernel updating system file read-write buffer area, linux kernel receive after the order can at once by
All the elements in linux system file read-write buffer area are all written in the corresponding document of SD card subregion, thus at once
The data being able to ensure that in all Android application program files are intactly written in the file of SD card subregion.
When reading and store Android application program file appearance exception, and in linux system file read-write buffer area
When the Android application program file of data write SD card subregion fails, give developer corresponding information, it is to avoid during waste
Between, further improve the development efficiency of Android application program.
Android application program file in SD card subregion is transferred to computer by S300.
Bridge ADB instruments are debugged by ARIXTRA the Android application program file in SD card subregion is transferred to into computer.
Android application program file is obtained from the data subregions of mobile client and is stored in after SD card subregion, next will
Android application program file is transferred on computer, this transmitting procedure needs the ADB instruments provided by Google google,
Can be by the Android application program file stored on SD card subregion by the command forms for ordering adb pull/sdcard/ bag names
It is transferred on computer.
The present invention need not obtain the root authority of mobile client, just can rapidly from the data subregions of mobile client
Middle extraction Android application program file, and be transferred on computer and facilitate developer to check, drastically increase ARIXTRA application
The development efficiency of program, reduces development cost, and is applied to various mobile clients.
Shown in Figure 4, which is the second embodiment of the present invention, and which with the difference of first embodiment is:
Step S100 in first embodiment is not carried out, the directly acquisition ARIXTRA application from the data subregions of mobile client
Program file is simultaneously stored in the SD card subregion of mobile client, then the Android application program file in SD card subregion is transferred to calculating
Machine.If pointing out SD card subregion full when Android application program file to be stored in the SD card subregion of mobile client, SD card is deleted
Partial data in subregion enters to be about to the operation that Android application program file is stored in SD card subregion again.Android application program file is deposited
In the corresponding catalogue of Android application program bag name created in entering SD card subregion.If Android application program file is stored in mobile visitor
Prompting during the SD card subregion at family end finds the bag name identical catalogue for having title and Android application program on SD card subregion, then delete
The catalogue enters to be about to the operation that Android application program file is stored in SD card subregion again.
The present invention also provides a kind of extraction system of Android application program file, for the ARIXTRA in mobile client is answered
Computer is transferred to program file, it is shown in Figure 5, including extraction module and transport module.
Extraction module, for Android application program file is obtained from the data subregions of mobile client and mobile visitor is stored in
The SD card subregion at family end.
Transport module, for the Android application program file in SD card subregion is transferred to computer.
The system also includes detection module, and whether full and ARIXTRA should for judging and showing SD card subregion for detection module
Whether it is empty with program file.
Detection module is used for the store path and the storage size of free time for detecting SD card subregion respectively, and ARIXTRA should
With the store path and size of program file;If the storage size of free time is 0 or the storage size of free time is less than
The size of Android application program file, shows that in mobile client SD card subregion is full;Judge Android application program file
Whether size is 0, if so, shows Android application program file in mobile client for sky;If it is not, creating in SD card subregion
For storing the catalogue of Android application program file.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of extracting method of Android application program file, for the Android application program file in mobile client is transmitted
To computer, it is characterised in that comprise the steps:Android application program file is obtained from the data subregions of mobile client
And the SD card subregion of mobile client is stored in, then the Android application program file in SD card subregion is transferred to into computer.
2. the extracting method of Android application program file as claimed in claim 1, it is characterised in that:Obtain Android application program
File is simultaneously stored in the SD card subregion of mobile client and is included in the internal memory of mobile client the buffer zone for creating predefined size,
Data in Android application program file are stored in the buffer zone in batches according to the predefined size, and are delayed from described
Deposit region write SD card subregion.
3. the extracting method of Android application program file as claimed in claim 2, it is characterised in that:Obtain Android application program
File when being stored in the SD card subregion of mobile client and also including reading and store Android application program file and occur abnormal, stops
Read and store operation, and abnormal information is shown in mobile client.
4. the extracting method of Android application program file as claimed in claim 2, it is characterised in that:Obtain Android application program
File is simultaneously stored in data that the SD card subregion of mobile client also includes in all Android application program files from the buffer area
After domain write SD card subregion, the data in linux system file read-write buffer area are write into the Android application program of SD card subregion
In file, and show that the data in linux system file read-write buffer area write the ARIXTRA of SD card subregion in mobile client
Application file success or failure information.
5. the extracting method of Android application program file as claimed in claim 1, it is characterised in that:Bridge is debugged by ARIXTRA
Android application program file in SD card subregion is transferred to computer by ADB instruments.
6. the extracting method of the Android application program file as described in any one of claim 1 to 5, it is characterised in that the side
Method also includes:Before obtaining Android application program file and being stored in the SD card subregion of mobile client, judge and show SD card
Whether whether full and Android application program file is empty to subregion.
7. the extracting method of Android application program file as claimed in claim 6, it is characterised in that:Judge and show SD card point
Whether whether full and Android application program file is empty in area, and which includes store path and the free time for detecting SD card subregion respectively
Storage size, and the store path and size of Android application program file;If the idle storage size
It is 0 or the idle storage size is less than the size of Android application program file, SD is shown in mobile client
Card subregion is full;Whether the size for judging Android application program file is 0, and ARIXTRA application is if so, shown in mobile client
Program file is sky;If it is not, creating in SD card subregion for storing the catalogue of Android application program file.
8. the extracting method of Android application program file as claimed in claim 7, it is characterised in that:Create in SD card subregion
Catalogue for storing Android application program file includes the bag name for obtaining Android application program, all in detection SD card subregion
Catalogue, deletes the bag name identical catalogue of title and Android application program, and create in SD card subregion should for storing ARIXTRA
With the catalogue of program file.
9. a kind of extraction system of Android application program file, for the Android application program file in mobile client is transmitted
To computer, it is characterised in that include:
Extraction module, for Android application program file is obtained from the data subregions of mobile client and mobile client is stored in
SD card subregion;
Transport module, for the Android application program file in SD card subregion is transferred to computer.
10. the extraction system of Android application program file as claimed in claim 9, it is characterised in that:The system also includes
Detection module, the detection module are used to judging and show that whether whether full and Android application program file to be SD card subregion
It is empty;
The detection module is used for the store path and the storage size of free time for detecting SD card subregion respectively, and ARIXTRA should
With the store path and size of program file;If the idle storage size is 0 or the idle memory space
Size of the size less than Android application program file, shows that in mobile client SD card subregion is full;Judge ARIXTRA application journey
Whether the size of preface part is 0, if so, shows Android application program file in mobile client for sky;If it is not, in SD card point
Create in area for storing the catalogue of Android application program file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611038243.XA CN106557572A (en) | 2016-11-11 | 2016-11-11 | A kind of extracting method and system of Android application program file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611038243.XA CN106557572A (en) | 2016-11-11 | 2016-11-11 | A kind of extracting method and system of Android application program file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106557572A true CN106557572A (en) | 2017-04-05 |
Family
ID=58444377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611038243.XA Pending CN106557572A (en) | 2016-11-11 | 2016-11-11 | A kind of extracting method and system of Android application program file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106557572A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664597A (en) * | 2018-05-08 | 2018-10-16 | 深圳市创梦天地科技有限公司 | Data buffer storage device, method and storage medium on a kind of Mobile operating system |
CN111143879A (en) * | 2019-12-26 | 2020-05-12 | 厦门市美亚柏科信息股份有限公司 | Android platform SD card file protection method, terminal device and storage medium |
CN112817862A (en) * | 2021-02-22 | 2021-05-18 | 北京奇艺世纪科技有限公司 | Data processing method, device and equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968724A (en) * | 2010-11-04 | 2011-02-09 | 长安大学 | Method for storing and deleting data of SD card by using embedded ARM processor |
CN101986266A (en) * | 2010-10-22 | 2011-03-16 | 浙江大学 | Method for transplanting Android mobile phone operating system to Atom development board |
CN102831173A (en) * | 2012-07-27 | 2012-12-19 | Tcl集团股份有限公司 | Memory expanding method, device and terminal based on Android system |
KR20130050865A (en) * | 2011-11-08 | 2013-05-16 | 주식회사 제이컴정보 | Caused by the use of smart device internal confidential data leakage prevention & trace system and method |
CN103530180A (en) * | 2013-10-18 | 2014-01-22 | 北京奇虎科技有限公司 | Method and device for switching storage space of application programs |
CN104391695A (en) * | 2014-11-06 | 2015-03-04 | 北京凌阳益辉科技有限公司 | Method for performing synchronous control through external equipment and device thereof |
CN104408053A (en) * | 2014-10-29 | 2015-03-11 | 上海斐讯数据通信技术有限公司 | Mobile-terminal storage-card extending method |
CN106021023A (en) * | 2016-05-20 | 2016-10-12 | 北京奇虎科技有限公司 | Application recovery method and device, and terminal |
-
2016
- 2016-11-11 CN CN201611038243.XA patent/CN106557572A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986266A (en) * | 2010-10-22 | 2011-03-16 | 浙江大学 | Method for transplanting Android mobile phone operating system to Atom development board |
CN101968724A (en) * | 2010-11-04 | 2011-02-09 | 长安大学 | Method for storing and deleting data of SD card by using embedded ARM processor |
KR20130050865A (en) * | 2011-11-08 | 2013-05-16 | 주식회사 제이컴정보 | Caused by the use of smart device internal confidential data leakage prevention & trace system and method |
CN102831173A (en) * | 2012-07-27 | 2012-12-19 | Tcl集团股份有限公司 | Memory expanding method, device and terminal based on Android system |
CN103530180A (en) * | 2013-10-18 | 2014-01-22 | 北京奇虎科技有限公司 | Method and device for switching storage space of application programs |
CN104408053A (en) * | 2014-10-29 | 2015-03-11 | 上海斐讯数据通信技术有限公司 | Mobile-terminal storage-card extending method |
CN104391695A (en) * | 2014-11-06 | 2015-03-04 | 北京凌阳益辉科技有限公司 | Method for performing synchronous control through external equipment and device thereof |
CN106021023A (en) * | 2016-05-20 | 2016-10-12 | 北京奇虎科技有限公司 | Application recovery method and device, and terminal |
Non-Patent Citations (1)
Title |
---|
武安状: "《实用Android系统测量软件开发技术》", 31 May 2014 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664597A (en) * | 2018-05-08 | 2018-10-16 | 深圳市创梦天地科技有限公司 | Data buffer storage device, method and storage medium on a kind of Mobile operating system |
CN111143879A (en) * | 2019-12-26 | 2020-05-12 | 厦门市美亚柏科信息股份有限公司 | Android platform SD card file protection method, terminal device and storage medium |
CN112817862A (en) * | 2021-02-22 | 2021-05-18 | 北京奇艺世纪科技有限公司 | Data processing method, device and equipment and readable storage medium |
CN112817862B (en) * | 2021-02-22 | 2023-09-05 | 北京奇艺世纪科技有限公司 | Data processing method, device, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3532935B1 (en) | Snapshot metadata arrangement for cloud integration | |
EP3532934B1 (en) | Reducing stable data eviction with synthetic baseline snapshot and eviction state refresh | |
US8838875B2 (en) | Systems, methods and computer program products for operating a data processing system in which a file delete command is sent to an external storage device for invalidating data thereon | |
US7624275B2 (en) | Disk drive, control method thereof and disk-falsification detection method | |
US20060037079A1 (en) | System, method and program for scanning for viruses | |
US20090113550A1 (en) | Automatic Filter Generation and Generalization | |
US9275020B2 (en) | Tracking changes among similar documents | |
US9021309B2 (en) | Method and system for creating virtual editable data objects by using a read-only data set as baseline | |
US10445022B1 (en) | Optimization of log-structured merge (LSM) tree-based databases using object solid state drive (SSD) devices | |
CN104598823A (en) | Kernel level rootkit detection method and system in Andriod system | |
CN103559231A (en) | File system quota managing method, device and system | |
WO2021129151A1 (en) | File backup method and apparatus, and terminal device | |
JP2014515858A (en) | Method and apparatus for recombining executing instructions | |
CN101228509B (en) | Device and method for generating binary image | |
CN106557572A (en) | A kind of extracting method and system of Android application program file | |
CN106648977A (en) | Recovery method and device of Android system file | |
CN102693232B (en) | Method and device for cancelling files | |
CN109388617A (en) | A kind of determination method and device of document time stamp confidence level | |
KR102122968B1 (en) | System and method for analyzing of application installation information | |
CN106776296A (en) | Startup method, device and starting device that coverage rate is detected | |
CN116382785B (en) | Method and device for data processing, computing equipment and storage medium | |
Omori et al. | Lightweight Operation History Graph for Traceability on Program Elements | |
CN111796972B (en) | File hot-repair method, device, equipment and storage medium | |
CN111444179B (en) | Data processing method, device, storage medium and server | |
US20220317884A1 (en) | Data collector in an electronic device |
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 |
Application publication date: 20170405 |
|
RJ01 | Rejection of invention patent application after publication |