CN103699404A - Method for enabling different types of equipment with same core to correspond to multiple prefabricated application programs - Google Patents

Method for enabling different types of equipment with same core to correspond to multiple prefabricated application programs Download PDF

Info

Publication number
CN103699404A
CN103699404A CN201310641026.XA CN201310641026A CN103699404A CN 103699404 A CN103699404 A CN 103699404A CN 201310641026 A CN201310641026 A CN 201310641026A CN 103699404 A CN103699404 A CN 103699404A
Authority
CN
China
Prior art keywords
partner
application
type
file
apk
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.)
Granted
Application number
CN201310641026.XA
Other languages
Chinese (zh)
Other versions
CN103699404B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201310641026.XA priority Critical patent/CN103699404B/en
Publication of CN103699404A publication Critical patent/CN103699404A/en
Application granted granted Critical
Publication of CN103699404B publication Critical patent/CN103699404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to equipment based on an Android system, in particular to a method for enabling different types of equipment with the same core to correspond to a plurality of prefabricated application programs. By aiming at the problems in the prior art, the method for enabling the different types of equipment with the same core to correspond to the prefabricated application programs is provided. The method comprises the following specific steps of presetting APK (android package) contents of a partner into a prescribed folder, and adding partner fields corresponding to the types into an overall type configuration file; when a system starts to operate, generating the information of partner application through the system; after the equipment is started and the system detects the information of the partner, if the corresponding application of the partner is not installed, copying the corresponding APK to a prescribed path, and if the application of the partner is not matched with the installed application of the system, deleting the non-matched application; finally, copying the matched application to the prescribed path.

Description

The method of the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines
Technical field
The present invention relates to the equipment based on Android system, relate in particular to the method for the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines .
Background technology
Along with the fast development of Android system, increasing intelligent terminal carries Android platform.The current intelligent television based on Android platform, the corresponding relation of its type and preset application is man-to-man, the different type that Android system does not provide a kind of effective method to solve same movement is tackled the problem of different partners application.For manufacturer, only have by increasing the branch of the corresponding code of movement and solve this problem.
Summary of the invention
Technical matters to be solved by this invention is: the problem existing for prior art, the method of the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines is provided, partner's APK content be preset in the file of appointment and in complete machine type configuration file, increase partner's field that type is corresponding, when system brings into operation, system generates the information of partner's application.After start, system detects after the information of partner, if partner's respective application is not mounted, corresponding APK is copied under the path of appointment, if the application that partner's application is installed with system is not mated, deletes and does not mate application.Finally coupling application is copied under the path of appointment.
the technical solution used in the present invention is as follows:
The method of the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines comprises:
Step 1: partner's APK file of same movement different type of machines is stored in the application file of each type; When a certain type terminal device brings into operation, according to APK Business Name, add correct partner's field corresponding to different type of machines;
Step 2: generate current type partner field in type temporary folder;
Step 3: the boot program of type, the current type partner field that read step 2 generates; From being stored in application file folder, read partner's application message of this type partner Related fields, according to partner's application message of reading, judge whether the application program of this type partner installs.If application program is installed, execution step 4; Otherwise, from the application file folder of the storage APK of partner file, correct partner's field is copied to can operating path under, carry out installation;
Step 4: if obtain partner's application message that the corresponding partner of type application message is correct with corresponding type in application file folder, match, execution step 5; Otherwise, delete unmatched partner application program, then from the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation;
Step 5: compare type partner application program set up applications corresponding to type file size, if file size is consistent, contrast type partner application file byte stream whether consistent with the throttling of the corresponding set up applications of type file word, if consistent, normal boot-strap; Otherwise, in the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation.
The type partner field that described different type of machines is corresponding different, partner's field comprises the title of company described in APK file name, APK bag name, APK.
In described step 3, partner's application message comprises APK application bag name and APK file name thereof.
in sum, owing to having adopted technique scheme, the invention has the beneficial effects as follows:
The present invention is directed to Android system, provide a set of agreement simply, conveniently implement, be easy to the method for corresponding a plurality of partners of a kind of same movement different type of machines application of safeguarding.System is preset to partner's APK content in advance in the file of appointment and in complete machine type configuration file, increases partner's field that type is corresponding, and when system brings into operation, system generates the information of partner's application.After start, system detects after the information of partner, if partner's respective application is not mounted, corresponding APK is copied under the path of appointment, if the application that partner's application is installed with system is not mated, deletes and does not mate application.Finally coupling application is copied under the path of appointment.Reduce the quantity of safeguarding compiled code, be convenient to management.
Embodiment
Disclosed all features in this instructions, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Disclosed arbitrary feature in this instructions (comprising any accessory claim, summary), unless narration especially all can be replaced by other equivalences or the alternative features with similar object.That is,, unless narration especially, each feature is an example in a series of equivalences or similar characteristics.
With movement different type of machines, refer to: with processor platform different model.
Application file folder refers to: the file of storage partner application.
Application file refers to: the application file of Android system
Temporary folder refers to: the tmp file in android.
APK file name refers to: the file name of application program.
Application file byte stream refers to: do not comprise the continuous stream of data boundary, byte stream is comprised of byte.
APK bag name refers to: identify this apk unique sign in system.
Described in APK, the title of company refers to: the abbreviation of developing the company of this application.
Embodiment mono-: step 1: partner's APK file is stored in the application file folder of each type, partner's APK file comprises the different type of machines that same movement is corresponding, when a certain type terminal device brings into operation, according to APK Business Name, add correct partner's field corresponding to different type of machines, the type partner field that described different type of machines is corresponding different ,partner's field comprises the title of company described in APK file name, file integrality check code, APK bag name, APK;
Step 2: generate current type partner field in type temporary folder;
Step 3: the boot program of type, the current type partner field that read step 2 generates; From being stored in the configuration file of application file folder, read APK bag name and the APK file name thereof of this type partner Related fields, APK application bag name and APK file name thereof according to reading, judge whether the application program of this type partner installs.If application is installed, execution step 4; Otherwise, from the application file folder of the storage APK of partner file, correct partner's field is copied to can operating path under, carry out installation;
Step 4: if obtain partner's application message that the corresponding partner of type application message is correct with corresponding type in operating file folder, match, execution step 5; Otherwise, delete unmatched partner application program, then from the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation;
Step 5: compare type partner application program set up applications corresponding to type file size, if file size is consistent, contrast type partner application file byte stream whether consistent with the throttling of the corresponding set up applications of type file word, if consistent, normal boot-strap; Otherwise, in the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination disclosing in this manual, and the arbitrary new method disclosing or step or any new combination of process.

Claims (4)

1. with a method for the corresponding a plurality of prefabricated application programs of movement different type of machines, it is characterized in that comprising:
Step 1: partner's APK file of same movement different type of machines is stored in the application file of each type; When a certain type terminal device brings into operation, according to APK Business Name, add correct partner's field corresponding to different type of machines;
Step 2: generate current type partner field in type temporary folder;
Step 3: the boot program of type, the current type partner field that read step 2 generates; From being stored in application file folder, read partner's application message of this type partner Related fields, according to partner's application message of reading, judge whether the application program of this type partner installs; If application program is installed, execution step 4; Otherwise, from the application file folder of the storage APK of partner file, correct partner's field is copied to can operating path under, carry out installation;
Step 4: if obtain partner's application message that the corresponding partner of type application message is correct with corresponding type in application file folder, match, execution step 5; Otherwise, delete unmatched partner application program, then from the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation;
Step 5: compare type partner application program set up applications corresponding to type file size, if file size is consistent, contrast type partner application file byte stream whether consistent with the throttling of the corresponding set up applications of type file word, if consistent, normal boot-strap; Otherwise, in the application file folder of storage partner by correct partner's application copy under can operating path, carry out installation.
2. the method for the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines according to claim 1, it is characterized in that the type partner field that described different type of machines is corresponding different, partner's field comprises the title of company described in APK file name, APK bag name, APK.
3. according to the method for the corresponding a plurality of prefabricated application programs of a kind of same movement different type of machines of claim 2, it is characterized in that in described step 3, partner's application message comprises APK application bag name and APK file name thereof.
4. according to the method for the corresponding a plurality of prefabricated application programs of a kind of same movement of claim 2, it is characterized in that in described step 1, partner's APK file refers to the application based on Android system.
CN201310641026.XA 2013-12-04 2013-12-04 A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines Active CN103699404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310641026.XA CN103699404B (en) 2013-12-04 2013-12-04 A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310641026.XA CN103699404B (en) 2013-12-04 2013-12-04 A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines

Publications (2)

Publication Number Publication Date
CN103699404A true CN103699404A (en) 2014-04-02
CN103699404B CN103699404B (en) 2016-11-23

Family

ID=50360943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310641026.XA Active CN103699404B (en) 2013-12-04 2013-12-04 A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines

Country Status (1)

Country Link
CN (1) CN103699404B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978224A (en) * 2015-07-06 2015-10-14 张兆琦 Multiple hardware platform oriented application management method
CN106990989A (en) * 2017-04-06 2017-07-28 北京小米移动软件有限公司 The method and device for controlling application program to install
CN107247614A (en) * 2017-05-16 2017-10-13 四川长虹电器股份有限公司 The method that application message is checked in software translating
CN107832092A (en) * 2017-11-24 2018-03-23 四川长虹电器股份有限公司 Suitable for the software platform and processing method of individual demand

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523507A (en) * 2011-12-29 2012-06-27 深圳市酷开网络科技有限公司 Method and device for applying external equipment based on intelligent television system
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program
WO2013089340A1 (en) * 2011-12-16 2013-06-20 주식회사 안랩 Apparatus and method for detecting similarity between applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013089340A1 (en) * 2011-12-16 2013-06-20 주식회사 안랩 Apparatus and method for detecting similarity between applications
CN102523507A (en) * 2011-12-29 2012-06-27 深圳市酷开网络科技有限公司 Method and device for applying external equipment based on intelligent television system
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978224A (en) * 2015-07-06 2015-10-14 张兆琦 Multiple hardware platform oriented application management method
CN104978224B (en) * 2015-07-06 2018-11-20 张兆琦 A kind of application management method towards more hardware platforms
CN106990989A (en) * 2017-04-06 2017-07-28 北京小米移动软件有限公司 The method and device for controlling application program to install
CN107247614A (en) * 2017-05-16 2017-10-13 四川长虹电器股份有限公司 The method that application message is checked in software translating
CN107832092A (en) * 2017-11-24 2018-03-23 四川长虹电器股份有限公司 Suitable for the software platform and processing method of individual demand

Also Published As

Publication number Publication date
CN103699404B (en) 2016-11-23

Similar Documents

Publication Publication Date Title
TWI687867B (en) Method for generating and installing trusted application for trusted execution environment
US8707286B2 (en) Unique context-based code enhancement
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN107608706A (en) A kind of application program automatic heating update method based on functional module
CN103699404A (en) Method for enabling different types of equipment with same core to correspond to multiple prefabricated application programs
CN103077043B (en) A kind of method of quick Start-up and operating performance Linux
CN103177077B (en) The storage of a kind of APK file and output intent
CN105446806A (en) Processing method and apparatus for application not responding
CN105630557A (en) Hotfix method and device
CN107391112A (en) A kind of FileVersion detection method and its special purpose device
CN107169000A (en) Static resource dissemination method and device
CN102930190A (en) Method for preventing user from acquiring super user permission in Android system
CN104850565A (en) Metadata management method based on K-V storage system
CN104461531A (en) Implementing method for self-defined functions of reporting system
CN104679793A (en) Dynamic invoice template invoice issuing system
CN104407899A (en) Method for restoring boot of network card after MAC (Media Access Control) address change under REDHAT operation system
CN101951604A (en) Value added service processing method and device
US20130041868A1 (en) Data synchronization
CN107168719A (en) Application program operation method, device, terminal and computer-readable recording medium
CN102902732A (en) Check adding method into extensive makeup language (XML) configuration file
CN103955372A (en) Method and device for detecting resources in mobile terminal
CN103309809A (en) Intelligent debugging method of computer software
CN113791809B (en) Application exception handling method and device and computer readable storage medium
CN103885875A (en) Device and method for verifying scripts
CN103716460B (en) A kind of preset application based on Android system and a key exhalation processing method

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