CN103077059A - Method for judging whether application is matched or not - Google Patents

Method for judging whether application is matched or not Download PDF

Info

Publication number
CN103077059A
CN103077059A CN201310004585XA CN201310004585A CN103077059A CN 103077059 A CN103077059 A CN 103077059A CN 201310004585X A CN201310004585X A CN 201310004585XA CN 201310004585 A CN201310004585 A CN 201310004585A CN 103077059 A CN103077059 A CN 103077059A
Authority
CN
China
Prior art keywords
application program
mobile terminal
version
file
application
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
Application number
CN201310004585XA
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.)
Borqs Beijing Ltd.
Original Assignee
Beijing Borqs Software 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 Beijing Borqs Software Technology Co Ltd filed Critical Beijing Borqs Software Technology Co Ltd
Priority to CN201310004585XA priority Critical patent/CN103077059A/en
Publication of CN103077059A publication Critical patent/CN103077059A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for judging whether an application is matched or not. The method comprises the following steps of: resolving the application, and determining whether the application is legal or not, whether a software version is matched with current mobile terminal equipment or not and whether a current terminal resolution is supported or not; inquiring the application, and judging whether a library file is provided or not, whether a hardware version is specified or not, and whether a specified hardware version is matched with the hardware version of the current mobile terminal equipment or not; and prompting a user of a result. Due to the adoption of the method disclosed by the invention, the user can make a response more quickly by judging whether a possessed application is matched with the conventional equipment or not, the application is installed more conveniently and rapidly, the installation time of the user is saved, and the overall user experience quality is improved.

Description

Judge the method whether application program mates
Technical field
The present invention relates to a kind of mobile terminal device, relate in particular to a kind of installation method of mobile terminal device application program.
Background technology
Along with the development of intelligent mobile terminal equipment, the user can experience colourful user and experience by different application programs is installed.
But, existing application is in the process of installing, can only come simple affirmation program whether can install by judging that whether the current system version is complementary with application version, and to program successful installation whether really, but whether true(-)running is without any assurance after the installation.
This new method is by prejudging the version of system, the screen resolution that system supports, the current hardware version of system, the many-sides such as system language, coupling to program and system has accurately prediction, thereby guarantee that android uses mobile phone terminal, the compatibility of flat-panel devices greatly improves the user and experiences.
Summary of the invention
The deficiency that exists in order to solve prior art, the object of the present invention is to provide a kind of method of judging whether application program mates, before set up applications, the coupling of predicted application program and system accurately guarantees the compatibility of application program and mobile terminal device.
For achieving the above object, a kind of method of judging whether application program mates provided by the invention, the method may further comprise the steps:
1) application programs is resolved, and whether determine procedures is legal, and whether software version and current mobile terminal equipment mate, and whether supports current terminal resolution;
2) inquiry application, and whether whether whether interpretation provides library file, specified hardware version, the hardware version of appointment and the hardware version of current mobile terminal equipment to mate;
3) with results suggest to the user.
Wherein, described step 1) is further comprising the steps:
Resolve the xml file of android apk program, obtain corresponding SDK version information, hardware configuration requirement, system functional requirement, support and compatible screen and resolution information, and the 3D version information that requires system to support, if xml can not be normally resolved or without this file, think that then program is illegal;
Judge whether SDK version information, system functional requirement or 3D version information and mobile terminal device mate;
Judge whether whether application program support and compatible screen and resolution mate with mobile terminal device.
Wherein, described step 2) further comprise:
Library file in the inquiry android apk application program compressed package, and judge whether to provide library file;
If there is library file in the lib file of compressed package, whether inquiry application has specified the CPU version, judges whether the CPU version of appointment is compatible with mobile terminal device CPU.
Wherein, describedly judge whether to provide the step of library file to be: not have library file in the file if only there is the lib file, perhaps do not have the lib file, think that then this application program does not provide library file.
Wherein, described step 3) is further comprising the steps:
SDK version information, system functional requirement and 3D version information and mobile terminal device coupling, and the CPU version of application program appointment and mobile terminal device CPU compatibility are installed this application program, complete rear prompting successful installation;
SDK version information, system functional requirement or 3D version information and mobile terminal device coupling, or application program do not provide library file, and the reason that prompting is corresponding failed finishes the installation of this application program.
The method of judging whether application program mates of the present invention, more accurately control being installed and feeding back the android platform program, whether the user can mate existing equipment to the program that has can meet with a response more timely, and accurately know concrete reason, find to move the situation of also not knowing concrete reason behind the installation procedure of having avoided present a large number of users to run into, so that application program is easier for installation, fast, saved user's plenty of time, simultaneously to the developer in software compatibility, installation user experience aspect proposes requirements at the higher level, is conducive to the raising of program total quality.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of instructions, and together with embodiments of the present invention, is used for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is according to the method flow diagram of judging whether application program mates of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
Fig. 1 is according to the method flow diagram of judging whether application program mates of the present invention, below with reference to Fig. 1, the method for judging whether application program mates of the present invention is described in detail:
At first, in step 101, application programs is resolved, whether determine procedures is legal, android apk application program includes the AndroidManifest.xml file, if AndroidManifest.xml cannot be normally resolved or without this file, think that then program is illegal, the reason that prompting is corresponding failed finishes the installation of this application program;
By to the AndroidManifest.xml document analysis, from AndroidManifest.xml, obtain corresponding SDK version information (uses-sdk), hardware configuration requires (uses-configuration), system functional requirement (uses-feature), support and compatible screen and resolution information (supports-screens, and the 3D version information (supports-gl-texture) that requires system to support compatible-screens);
In step 102, judge whether whether the SDK version information of application program mate with mobile terminal device, be complementary and then carry out next step; Do not mate and then forward step 110 to;
In step 103, judge whether whether the system functional requirement of application program mate with mobile terminal device, be complementary and then carry out next step; Do not mate and then forward step 110 to;
In step 104, judge that whether whether application program support and compatible screen and resolution mate with mobile terminal device, are complementary and then carry out next step; Do not mate and then forward step 110 to;
In step 105, judge whether whether the 3D version information of application program requirement system support mate with mobile terminal device, be complementary and then carry out next step; Do not mate and then forward step 110 to;
In step 106, the library file in the inquiry android apk application program compressed package, particular location is at the lib of compressed package file;
Whether in step 107, judging provides library file in the application program compressed package, if there is library file in the lib file of compressed package, then carries out next step; Do not have library file in the file if only there is the lib file, perhaps do not have the lib file, think that then this installation procedure does not provide library file, forward step 110 to;
In step 108, whether inquiry application has specified CPU version (such as x86, arm, armv5, armv7 etc.), judges whether the application program library file is compatible with CPU, and compatibility then carry out step 109; Otherwise forward step 110 to;
In step 109, this application program is installed, complete rear prompting successful installation;
In step 110, this application program and mobile terminal device do not mate, and the reason that prompting is corresponding failed finishes the installation of this application program.
The method of judging whether application program mates of the present invention can be in the installation process of application program (particularly android application program), to installation process with the problem that may run into after installing, gives the user the fastest and feed back accurately.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment the present invention is had been described in detail, for a person skilled in the art, it still can be made amendment to the technical scheme of aforementioned each embodiment record, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. method of judging whether application program mates, the method may further comprise the steps:
1) application programs is resolved, and whether determine procedures is legal, and whether software version and current mobile terminal equipment mate, and whether supports current terminal resolution;
2) inquiry application, and whether whether whether interpretation provides library file, specified hardware version, the hardware version of appointment and the hardware version of current mobile terminal equipment to mate;
3) with results suggest to the user.
2. the method for judging whether application program mates according to claim 1 is characterized in that, described step 1) is further comprising the steps:
Resolve the xml file of android apk program, obtain corresponding SDK version information, hardware configuration requirement, system functional requirement, support and compatible screen and resolution information, and the 3D version information that requires system to support, if xml can not be normally resolved or without this file, think that then program is illegal;
Judge whether SDK version information, system functional requirement or 3D version information and mobile terminal device mate;
Judge whether whether application program support and compatible screen and resolution mate with mobile terminal device.
3. the method for judging whether application program mates according to claim 1 is characterized in that, described step 2) further comprise:
Library file in the inquiry android apk application program compressed package, and judge whether to provide library file;
If there is library file in the lib file of compressed package, whether inquiry application has specified the CPU version, judges whether the CPU version of appointment is compatible with mobile terminal device CPU.
4. the method for judging whether application program mates according to claim 3, it is characterized in that, describedly judge whether to provide the step of library file to be: not have library file in the file if only there is the lib file, perhaps do not have the lib file, think that then this application program does not provide library file.
5. the method for judging whether application program mates according to claim 4 is characterized in that, described step 3) is further comprising the steps:
SDK version information, system functional requirement and 3D version information and mobile terminal device coupling, and the CPU version of application program appointment and mobile terminal device CPU compatibility are installed this application program, complete rear prompting successful installation;
SDK version information, system functional requirement or 3D version information and mobile terminal device coupling, or application program do not provide library file, and the reason that prompting is corresponding failed finishes the installation of this application program.
CN201310004585XA 2013-01-07 2013-01-07 Method for judging whether application is matched or not Pending CN103077059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004585XA CN103077059A (en) 2013-01-07 2013-01-07 Method for judging whether application is matched or not

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004585XA CN103077059A (en) 2013-01-07 2013-01-07 Method for judging whether application is matched or not

Publications (1)

Publication Number Publication Date
CN103077059A true CN103077059A (en) 2013-05-01

Family

ID=48153596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004585XA Pending CN103077059A (en) 2013-01-07 2013-01-07 Method for judging whether application is matched or not

Country Status (1)

Country Link
CN (1) CN103077059A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657187A (en) * 2015-03-24 2015-05-27 联想(北京)有限公司 Application installation processing method, application installation processing device and electronic equipment
CN104932973A (en) * 2014-03-21 2015-09-23 腾讯科技(深圳)有限公司 Version compatibility test method and apparatus
CN106027890A (en) * 2016-05-25 2016-10-12 努比亚技术有限公司 Application downloading device and method
CN106406956A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 An application program installing method and device
CN106550273A (en) * 2016-11-07 2017-03-29 康佳集团股份有限公司 A kind of application installation capability warning control method and system based on intelligent terminal
CN107368536A (en) * 2017-06-22 2017-11-21 深圳市金立通信设备有限公司 The optimization method and terminal of a kind of installation kit
CN111095206A (en) * 2017-09-20 2020-05-01 豪夫迈·罗氏有限公司 Method for verifying medical application, end-user device and medical system
CN111258625A (en) * 2020-01-08 2020-06-09 Oppo(重庆)智能科技有限公司 Software flashing detection method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063299A (en) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 Method and device for assessing application running condition of mobile terminal, mobile terminal
US20120209923A1 (en) * 2011-02-12 2012-08-16 Three Laws Mobility, Inc. Systems and methods for regulating access to resources at application run time

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063299A (en) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 Method and device for assessing application running condition of mobile terminal, mobile terminal
US20120209923A1 (en) * 2011-02-12 2012-08-16 Three Laws Mobility, Inc. Systems and methods for regulating access to resources at application run time

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932973A (en) * 2014-03-21 2015-09-23 腾讯科技(深圳)有限公司 Version compatibility test method and apparatus
CN104932973B (en) * 2014-03-21 2019-03-15 腾讯科技(深圳)有限公司 A kind of edition compatibility test method and device
CN104657187A (en) * 2015-03-24 2015-05-27 联想(北京)有限公司 Application installation processing method, application installation processing device and electronic equipment
CN106027890A (en) * 2016-05-25 2016-10-12 努比亚技术有限公司 Application downloading device and method
CN106406956A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 An application program installing method and device
CN106406956B (en) * 2016-09-23 2020-06-02 北京小米移动软件有限公司 Application program installation method and device
CN106550273A (en) * 2016-11-07 2017-03-29 康佳集团股份有限公司 A kind of application installation capability warning control method and system based on intelligent terminal
CN107368536A (en) * 2017-06-22 2017-11-21 深圳市金立通信设备有限公司 The optimization method and terminal of a kind of installation kit
CN111095206A (en) * 2017-09-20 2020-05-01 豪夫迈·罗氏有限公司 Method for verifying medical application, end-user device and medical system
CN111095206B (en) * 2017-09-20 2023-12-08 豪夫迈·罗氏有限公司 Method for verifying medical application program, end user device and medical system
CN111258625A (en) * 2020-01-08 2020-06-09 Oppo(重庆)智能科技有限公司 Software flashing detection method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN103077059A (en) Method for judging whether application is matched or not
CN108241500B (en) Method, device and system for repairing hardware component and storage medium
KR101281825B1 (en) Apparatus and method that enhance security using virtual interface in cloud system
CN102331946B (en) Method and system for installing application program
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN102262549B (en) Method and system for installing patches
CN110008690B (en) Authority management method, device, equipment and medium for terminal application
CN106131612A (en) The method and system of Android app dynamic load resource function module
CN103995715A (en) Application program repairing method and device and server
CN103645923B (en) A kind of plug-in unit installation method and system
CN103401713A (en) System and method for software release
CN106502713A (en) A kind of method for upgrading software and system
CN110457049A (en) Realize method, apparatus, electronic equipment and the storage medium of plug-in unit automation
CN109491908B (en) Page detection method and device, electronic equipment and storage medium
CN105653298A (en) Application program update method and terminal
EP3321808B1 (en) Verification system and verification method
US20190004782A1 (en) Server apparatus, information processing apparatus, and control method for installing application
CN111857752A (en) PostgreSQL database installation method, device and equipment
JP2009020609A (en) Image forming apparatus, program control method, and program
CN105809027B (en) Permission control method and device for application program
US20090094614A1 (en) Direct synchronous input
CN108234414B (en) Upgrading method and device for APP
CN103257868B (en) The method and apparatus of installation procedure
KR20190008724A (en) Apparatus and method for managing microservice

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BORQS COMMUNICATION TECHNOLOGY (BEIJING) CO., LTD.

Free format text: FORMER OWNER: BEIJING BORQS SOFTWARE TECHNOLOGY CO., LTD.

Effective date: 20131203

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131203

Address after: 100015, B23A, Hengtong business garden, No. 10, Jiuxianqiao Road, Beijing, Chaoyang District

Applicant after: Borqs Beijing Ltd.

Address before: 100015, B23 building, A, Hengtong business garden, No. 10 Jiuxianqiao Road, Beijing, Chaoyang District

Applicant before: Beijing Borqs Software Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130501