CN103019764B - The detection method of Andriod resource bag installability and system - Google Patents

The detection method of Andriod resource bag installability and system Download PDF

Info

Publication number
CN103019764B
CN103019764B CN201210460467.5A CN201210460467A CN103019764B CN 103019764 B CN103019764 B CN 103019764B CN 201210460467 A CN201210460467 A CN 201210460467A CN 103019764 B CN103019764 B CN 103019764B
Authority
CN
China
Prior art keywords
different
resource
sdk
android
system version
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.)
Active
Application number
CN201210460467.5A
Other languages
Chinese (zh)
Other versions
CN103019764A (en
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.)
Shenzhen easou world Polytron Technologies Inc
Original Assignee
Shenzhen Yisou Science & Technology Development 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 Shenzhen Yisou Science & Technology Development Co Ltd filed Critical Shenzhen Yisou Science & Technology Development Co Ltd
Priority to CN201210460467.5A priority Critical patent/CN103019764B/en
Publication of CN103019764A publication Critical patent/CN103019764A/en
Application granted granted Critical
Publication of CN103019764B publication Critical patent/CN103019764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to internet detection technique, provide a kind of detection method of Android resource bag installability, comprise installation Android simulator, configure according to different system version and start different SDK, the numbering of correspondence is stored by system version grouping by the SDK of all startups; Extract the information of resource bag, be created on the installation under each different system version according to each resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag not being apk by resource bag suffix name changes to apk suffix; Utilize multithreading startup to call cmd window to the installation bat file of different system version to start to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.This programme avoids has downloaded the situation that rear installation is unsuccessful and cannot unload.<!--1-->

Description

The detection method of Andriod resource bag installability and system
Technical field
The present invention relates to Internet resources detection technique, particularly a kind of detection method of Andriod resource bag installability and system.
Background technology
Android device rapid development in recent years, in 2011, Android device increased 250%, and have average every day 850,000 new equipments to be activated, the whole world has 300,000,000 Android device.The average monthly download of Android application is simultaneously up to 1,000,000,000 times, and the number of applications in Android market has become the ecosystem of a rapid growth more than 450,000, Android.
Along with the increase of application, search engine can include all resources of different android provider of different android producer, also have the various resources on android website, have the android resource installation kit of magnanimity like this, but the resource bag of these magnanimity may not tested through various different Android system through the change of other people or developer, installation kit is allowed to issue in this case, find situation about cannot install after making a lot of installation kit downloads, like this will have a strong impact on the use of user.Also likely there is part android resource installation kit, in the process of developer's exploitation, be likely provided with the attribute of part, just cannot unload after making installation kit installation, so also have a strong impact on the impression of user.
Summary of the invention
The technical matters that the present invention solves there are provided a kind of detection method and system of Andriod resource bag installability, to find situation about cannot install in system after solving downloaded resources bag, and the situation that cannot unload after installing, fundamentally solve the worry of user.
For solving the problem, the invention provides a kind of detection method of Android resource bag installability, comprising
Android simulator is installed, configures different SDK according to different android system versions, and start the SDK of different system version, the numbering of correspondence is stored by system version grouping by the SDK of all startups;
Extract the information of resource bag, be created on the installation under each different system version according to each different resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag Change All not being apk by resource bag suffix name is apk suffix;
Utilize multithreading startup to call cmd window to the installation bat file of different system version to start to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.
Above-mentioned method, further, also comprises,
By the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record.
Above-mentioned method, further, also comprises,
The resource bag installed and unload under the tools catalogue being arranged on Android simulator is deleted.
Above-mentioned method, wherein, during the SDK of described startup different system version, each system version starts at least 3 SDK.
Above-mentioned method, wherein, describedly specifically to comprise under the catalogue of resource Bao Fangzhi Android simulator,
Under resource bag being copied from remote directory to the tools catalogue of Android simulator.
Present invention also offers a kind of detection system of Android resource bag installability, comprise,
Start module, for after installation Android simulator, configure different SDK according to different android system versions, and start the SDK of different system version, the numbering of correspondence is stored by system version grouping by the SDK of all startups;
Extraction module, for extracting the information of resource bag, be created on the installation under each different system version according to each different resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag Change All not being apk by resource bag suffix name is apk suffix;
Execution module, calls cmd window for utilizing multithreading startup to the installation bat file of different system version and starts to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.
Above-mentioned system, further, also comprises,
Memory module, for by the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record.
Above-mentioned system, further, also comprises,
Cleaning module, for will be arranged on Android simulator tools catalogue under the resource bag installed and unload delete.
Above-mentioned system, wherein, during the SDK of described startup different system version, each system version starts at least 3 SDK.
Above-mentioned system, wherein, described extraction module is used for specifically comprising under the catalogue of resource Bao Fangzhi Android simulator, under resource bag being copied from remote directory to the tools catalogue of Android simulator.
Adopt technical scheme of the present invention, utilize the mode of Auto-mounting and detection, greatly enhance efficiency, avoid and downloaded the situation that rear installation is unsuccessful and cannot unload, improve the experience of user, the problem that whether resource bag can be installed and can unload under current system version cannot be known before solving, improve the susceptibility of user.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is first embodiment of the invention process flow diagram;
Fig. 2 is second embodiment of the invention system construction drawing.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearly, understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, it is first embodiment of the invention process flow diagram, provide a kind of detection method of Andriod resource bag installability, the method is run on computers, and that uses computing machine tells that the function of calculation function and robotization has been come, and this mode also will be installed SDK simulator and be run in windows operating system, also need the support of network and the support of database program simultaneously, and support the jdk of java language, specifically comprise
Step S101, installs Android simulator under windows, and carries out starting and configuring; Configure different SDK according to different android system versions, and start the SDK of different system version, the numbering of correspondence is stored by system version grouping by the SDK of all startups;
Particularly, described Android simulator can be SDKManager, is a kind of software development environment simulation softward; SDK is the abbreviation of SoftwareDevelopmentKit, and Chinese i.e. " SDK (Software Development Kit) ".Described different android system version can be such as 1.5,1.6,2.1 etc., and adopt different android system versions can test with same wrapping on different versions, see and can successfully install.The SDK starting different system version is that each system version starts 3 SDK.
Step S102, extract the information of resource bag, the bat file installed and unload under being created on each different system version according to each different resource bag, and by under the catalogue of resource Bao Fangzhi Android simulator, be not that the bag Change All of apk is apk suffix by the suffix name of resource bag;
Particularly, from database, the information of resource bag is taken out;
The bat file installed and unload under being created on each different system version by each different resource bag;
Under resource bag being copied from remote directory to the tools catalogue of Android simulator (SDKManager), described resource bag refers to, the resource bag (apk bag) that android installs;
By the bag that the suffix name of resource bag is not apk, Change All is apk suffix; This step performs in trace routine, because installing under android simulator must be take apk as the installation kit of suffix, the bag of other suffix cannot be installed, and to have part bag to be zip in our resource bag be suffix, correct one's mistakes and could install normally, the bag that android simulator normal mounting is all can be made.
Step S103, utilizes multithreading startup to call cmd window to the installation bat file of the generation of different editions and starts to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of the generation of different editions and starts to perform, and record unloaded state;
Wherein, the state that different editions comes all keeps a record, then is updated in database, a corresponding state of version.
Step S104, by the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record;
Described multiple state all can be recorded to database, time user downloads, user can be pointed out, which version can successful installation, unsuccessful version, replaces, if can not find bag to replace with other successful installation kit of same resource, suggestion user does not download the bag that can not install, and unloaded state is not supplied to user.
Step S105, deletes the resource bag installed and unload under the tools catalogue being arranged on Android simulator.
As described in Figure 2, be second embodiment of the invention system construction drawing, provide a kind of detection system of Android resource bag installability, comprise,
Start module 201, for after installation Android simulator, configure different SDK according to different android system versions, and start the SDK of different system version, the numbering of correspondence is stored by system version grouping by the SDK of all startups;
Extraction module 202, for extracting the information of resource bag, be created on the installation under each different system version according to each different resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag Change All not being apk by resource bag suffix name is apk suffix;
Execution module 203, calls cmd window for utilizing multithreading startup to the installation bat file of different system version and starts to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.
Memory module 204, for by the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record.
Cleaning module 205, for will be arranged on Android simulator tools catalogue under the resource bag installed and unload delete.
In said system, during the SDK of described startup different system version, each system version starts at least 3 SDK.
In said system, described extraction module is used for specifically comprising under the catalogue of resource Bao Fangzhi Android simulator, under resource bag being copied from remote directory to the tools catalogue of Android simulator.
Above-mentioned explanation illustrate and describes a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.

Claims (10)

1. a detection method for Android resource bag installability, it is characterized in that, the method is run on computers, comprises
Android simulator is installed, configures different SDK according to different android system versions, and start the SDK of different system version, the SDK of all startups is pressed system version grouping, the numbering of correspondence is stored;
Extract the information of resource bag, be created on the installation under each different system version according to each different resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag Change All not being apk by resource bag suffix name is apk suffix;
Utilize multithreading startup to call cmd window to the installation bat file of different system version to start to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.
2. method according to claim 1, is characterized in that, also comprises,
By the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record.
3. method according to claim 2, is characterized in that, also comprises,
The resource bag installed and unload under the tools catalogue being arranged on Android simulator is deleted.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, during the SDK of described startup different system version, each system version starts at least 3 SDK.
5. according to the arbitrary described method of claims 1 to 3, it is characterized in that, describedly specifically to comprise under the catalogue of resource Bao Fangzhi Android simulator,
Under resource bag being copied from remote directory to the tools catalogue of Android simulator.
6. a detection system for Android resource bag installability, is characterized in that, this system is run on computers, comprises,
Start module, for after installation Android simulator, configure different SDK according to different android system versions, and start the SDK of different system version, the SDK of all startups is pressed system version grouping, the numbering of correspondence is stored;
Extraction module, for extracting the information of resource bag, be created on the installation under each different system version according to each different resource bag and unload bat file, and by under the catalogue of resource Bao Fangzhi Android simulator, the bag Change All not being apk by resource bag suffix name is apk suffix;
Execution module, calls cmd window for utilizing multithreading startup to the installation bat file of different system version and starts to perform, install rear and record installment state; And/or unloading thread starts, cmd window is called to the unloading bat file of different editions and starts to perform, and record unloaded state.
7. detection system according to claim 6, is characterized in that, also comprises,
Memory module, for by the installment state of all each different editions recorded and unloaded state stored in corresponding database resource record.
8. detection system according to claim 7, is characterized in that, also comprises,
Cleaning module, for will be arranged on Android simulator tools catalogue under the resource bag installed and unload delete.
9. according to the arbitrary described detection system of claim 6 to 8, it is characterized in that, during the SDK of described startup different system version, each system version starts at least 3 SDK.
10. according to the arbitrary described detection system of claim 6 to 8, it is characterized in that, described extraction module is used for specifically comprising under the catalogue of resource Bao Fangzhi Android simulator,
Under resource bag being copied from remote directory to the tools catalogue of Android simulator.
CN201210460467.5A 2012-11-15 2012-11-15 The detection method of Andriod resource bag installability and system Active CN103019764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210460467.5A CN103019764B (en) 2012-11-15 2012-11-15 The detection method of Andriod resource bag installability and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210460467.5A CN103019764B (en) 2012-11-15 2012-11-15 The detection method of Andriod resource bag installability and system

Publications (2)

Publication Number Publication Date
CN103019764A CN103019764A (en) 2013-04-03
CN103019764B true CN103019764B (en) 2016-02-10

Family

ID=47968398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210460467.5A Active CN103019764B (en) 2012-11-15 2012-11-15 The detection method of Andriod resource bag installability and system

Country Status (1)

Country Link
CN (1) CN103019764B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677956B (en) * 2013-12-06 2017-05-31 北京奇虎科技有限公司 A kind of method and apparatus of the application operation of simulation mobile device on the computing device
CN103777999A (en) * 2014-01-09 2014-05-07 深圳市星策网络科技有限公司 Android software simulation method and device
CN104142852A (en) * 2014-08-04 2014-11-12 福州靠谱网络有限公司 Method for achieving graph acceleration of android simulator on computer
CN106293880B (en) * 2016-08-10 2019-12-13 北京奇虎科技有限公司 method and device for running Android application program on Windows system
CN107832092A (en) * 2017-11-24 2018-03-23 四川长虹电器股份有限公司 Suitable for the software platform and processing method of individual demand
CN108881393B (en) * 2018-05-22 2021-03-23 北京达佳互联信息技术有限公司 Data issuing method, device, computer and storage medium
CN111897741B (en) * 2020-09-29 2021-02-19 统信软件技术有限公司 Application software detection method and computing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521134A (en) * 2011-12-21 2012-06-27 中国工商银行股份有限公司 Test information detecting method and test information detecting device based on mainframe
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120191568A1 (en) * 2011-01-21 2012-07-26 Ebay Inc. Drag and drop purchasing bin

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521134A (en) * 2011-12-21 2012-06-27 中国工商银行股份有限公司 Test information detecting method and test information detecting device based on mainframe
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application

Also Published As

Publication number Publication date
CN103019764A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019764B (en) The detection method of Andriod resource bag installability and system
CN102622241B (en) A kind of method for upgrading software and device
CN105138382B (en) A kind of method and terminal of android system upgrading
CN105094913B (en) System, base band firmware and system application upgrade method and device
CN105786538B (en) software upgrading method and device based on android system
TWI649694B (en) Android dynamic framework and method thereof
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN106941672A (en) The method and device of application software abnormality processing
WO2019019668A1 (en) Application startup method and device, computer apparatus, and storage medium
CN101697133A (en) Software upgrading method, software upgrading system and client
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN104484169A (en) Android software user interface generating method and system and Android application system
CN106095621B (en) The restoration methods and system that Launcher is operating abnormally in a kind of Android system
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN103353846A (en) Project automatic-deployment plug-in
CN102346673A (en) Method and device for upgrading mobile phone system
CN102314367A (en) Method for operating application program in Android equipment through PC (Personal Computer) end
CN102012990A (en) Method and device for repairing bugs of third-party software
CN103793248A (en) Method and device for upgrading application program
CN108984198A (en) A kind of upgrade method and device of android system
CN105138352B (en) Method and device for installing application plug-in
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
CN104216751A (en) Loading method and system of functional unit interface resource of application program
CN106201584B (en) Version upgrading method and terminal device
CN108536456A (en) A kind of smart machine upgrade method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518057 C Building 5, Nanshan District software industry base, Shenzhen, Guangdong 403-409, China

Patentee after: Shenzhen easou world Polytron Technologies Inc

Address before: 518026 Guangdong city of Shenzhen province Futian District Binhe Road and CaiTian Road Interchange Union Square Tower A, A5501-A

Patentee before: Shenzhen Yisou Science & Technology Development Co., Ltd.