CN103699404B - A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines - Google Patents

A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines Download PDF

Info

Publication number
CN103699404B
CN103699404B CN201310641026.XA CN201310641026A CN103699404B CN 103699404 B CN103699404 B CN 103699404B CN 201310641026 A CN201310641026 A CN 201310641026A CN 103699404 B CN103699404 B CN 103699404B
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.)
Active
Application number
CN201310641026.XA
Other languages
Chinese (zh)
Other versions
CN103699404A (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 present invention relates to equipment based on android system, the method particularly relating to the corresponding multiple prefabricated application programs of a kind of same movement different type of machines.The present invention is directed to the problem that prior art exists, the method that the corresponding multiple prefabricated application programs of a kind of same movement different type of machines are provided, especially by partner's APK content being preset in the file specified and increasing partner's field that type is corresponding in complete machine type configuration file, when system brings into operation, system generates the information of partner's application.After system detects the information of partner after start, if partner's respective application is not mounted, then corresponding APK is copied under the path specified, if the application that partner's application is installed with system is not mated, then delete and do not mate application.Finally coupling application is copied under the path specified.

Description

A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines
Technical field
The present invention relates to equipment based on android system, the method particularly relating to the corresponding multiple 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.Being currently based on the intelligent television of Android platform, its type is man-to-man with the corresponding relation of preset application, and android system does not provide a kind of effective method to solve the problem that the different different partner of type reply of same movement applies.For manufacturer, only solve this problem by the branch of the code corresponding to increase movement.
Summary of the invention
The technical problem to be solved is: the problem existed for prior art, the method that the corresponding multiple prefabricated application programs of a kind of same movement different type of machines are provided, partner's APK content is preset in the file specified and in complete machine type configuration file, increases partner's field that type is corresponding, when system brings into operation, system generates the information of partner's application.After system detects the information of partner after start, if partner's respective application is not mounted, then corresponding APK is copied under the path specified, if the application that partner's application is installed with system is not mated, then delete and do not mate application.Finally coupling application is copied under the path specified.
The technical solution used in the present invention is as follows:
The method of the corresponding multiple prefabricated application programs of a kind of same movement different type of machines includes:
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 unit brings into operation, add, according to APK Business Name, correct partner's field that different type of machines is corresponding;
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 that this type partner field is corresponding, according to the partner's application message read, it is judged that whether the application program of this type partner is installed.If application program is installed, perform step 4;Otherwise, copy to correct partner's field to carry out program installation under operating path from the application file folder of storage partner APK file;
Step 4: matching if obtaining partner's application message that during the partner's application message corresponding to type is pressed from both sides with application file, corresponding type is correct, performing step 5;Otherwise, delete unmatched partner application program, then from the application file folder of storage partner by correct partner's application copy to carrying out program installation under operating path;
Step 5: compare type partner application program set up applications corresponding with type file size, if file size is consistent, then contrast type partner application file byte stream set up applications corresponding with type file byte stream is the most consistent, if unanimously, then and normal boot-strap;Otherwise, in the application file folder of storage partner by correct partner's application copy to carrying out program installation under operating path.
The corresponding different type partner field of described different type of machines, partner's field includes the title of company described in APK file title, APK bag name, APK.
In described step 3, partner's application message includes APK application bag name and APK file title thereof.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows:
The present invention is directed to android system, it is provided that a set of agreement simply, conveniently implement, the method for a kind of same movement different type of machines that is easily maintained corresponding multiple partners application.Partner's APK content is preset in the file specified and increases partner's field that type is corresponding in complete machine type configuration file by system in advance, and when system brings into operation, system generates the information of partner's application.After system detects the information of partner after start, if partner's respective application is not mounted, then corresponding APK is copied under the path specified, if the application that partner's application is installed with system is not mated, then delete and do not mate application.Finally coupling application is copied under the path specified.Decrease the quantity safeguarding compiled code, it is simple to management.
Detailed description of the invention
All features disclosed in this specification, or disclosed all methods or during step, in addition to mutually exclusive feature and/or step, all can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary), unless specifically stated otherwise, all can be by other equivalences or there is the alternative features of similar purpose replaced.I.e., unless specifically stated otherwise, an example during each feature is a series of equivalence or similar characteristics.
Refer to movement different type of machines: 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 title refers to: the file name of application program.
Application file byte stream refers to: not comprising the continuous stream of data boundary, byte stream is made up of byte.
APK bag name refers to: identifies this apk and the most uniquely identifies.
The title of company described in APK refers to: develop the abbreviation of the company of this application.
Embodiment one: step 1: partner's APK file is stored in the application file folder of each type, partner's APK file includes the different type of machines that same movement is corresponding, when a certain type terminal unit brings into operation, correct partner's field that different type of machines is corresponding is added, the corresponding different type partner field of described different type of machines according to APK Business Name,Partner's field includes the title of company described in APK file title, 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 the configuration file being stored in application file folder, read APK bag name corresponding to this type partner field and APK file title thereof, according to the APK application bag name read and APK file title thereof, it is judged that the application program of this type partner has been installed.If application is installed, perform step 4;Otherwise, copy to correct partner's field to carry out program installation under operating path from the application file folder of storage partner APK file;
Step 4: matching if obtaining partner's application message that during the partner's application message corresponding to type is pressed from both sides with operating file, corresponding type is correct, performing step 5;Otherwise, delete unmatched partner application program, then from the application file folder of storage partner by correct partner's application copy to carrying out program installation under operating path;
Step 5: compare type partner application program set up applications corresponding with type file size, if file size is consistent, then contrast type partner application file byte stream set up applications corresponding with type file byte stream is the most consistent, if unanimously, then and normal boot-strap;Otherwise, in the application file folder of storage partner by correct partner's application copy to carrying out program installation under operating path.
The invention is not limited in aforesaid detailed description of the invention.The present invention expands to any new feature disclosed in this manual or any new combination, and the arbitrary new method that discloses or the step of process or any new combination.

Claims (4)

1. the method with the corresponding multiple prefabricated application programs of movement different type of machines, it is characterised in that including:
Step 1: partner's APK file of same movement different type of machines is stored in the application file folder of each type;When a certain type terminal unit brings into operation, add, according to APK Business Name, correct partner's field that different type of machines is corresponding;
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 partner's APK file of the same movement different type of machines being stored in application file folder, read partner's application message that this type partner field is corresponding, according to the partner's application message read, it is judged that whether the application program of this type partner is installed;If application program is installed, perform step 4;Otherwise, copy to correct partner's field to carry out program installation under operating path from the application file folder of storage partner APK file;
Step 4: matching if obtaining partner's application message that during the partner's application message corresponding to type is pressed from both sides with application file, corresponding type is correct, performing step 5;Otherwise, delete unmatched partner application program, then from the application file folder of storage partner application program by correct partner's application copy to carrying out program installation under operating path;
Step 5: compare type partner application program set up applications corresponding with type file size, if file size is consistent, then contrast type partner application file byte stream set up applications corresponding with type file byte stream is the most consistent, if unanimously, then and normal boot-strap;Otherwise, from the application file folder of storage partner application program by correct partner's application copy to carrying out program installation under operating path.
The method of the corresponding multiple prefabricated application programs of a kind of same movement different type of machines the most according to claim 1, it is characterized in that the corresponding different type partner field of described different type of machines, partner's field includes APK file title, APK application bag name, APK Business Name.
The method of the corresponding multiple prefabricated application programs of a kind of same movement different type of machines the most according to claim 2, it is characterised in that in described step 3, partner's application message includes APK application bag name and APK file title thereof.
The method of the corresponding multiple prefabricated application programs of a kind of same movement different type of machines the most according to claim 2, it is characterised in that in described step 1, partner's APK file refers to 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 CN103699404A (en) 2014-04-02
CN103699404B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978224B (en) * 2015-07-06 2018-11-20 张兆琦 A kind of application management method towards more hardware platforms
CN106990989B (en) * 2017-04-06 2020-07-10 北京小米移动软件有限公司 Method and device for controlling application program installation
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

Also Published As

Publication number Publication date
CN103699404A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
TWI687867B (en) Method for generating and installing trusted application for trusted execution environment
CN103699404B (en) A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines
CN107391104B (en) Client and reactive native code update dependence management method, device and system
WO2019062635A1 (en) Update method and device
CN107506291B (en) Analysis method and device based on data acquisition
US10127037B2 (en) Method for recognizing application type
CN105528225A (en) Application loading method and loading apparatus
CN102236764B (en) Method and monitoring system for Android system to defend against desktop information attack
WO2016000544A1 (en) Method of processing application cpu usage rate anomaly, and device and mobile terminal
CN104052818A (en) Version upgrade method and device for mobile terminal
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN103177077B (en) The storage of a kind of APK file and output intent
KR20160058673A (en) Method and apparatus for preventing injection-type attacks in a web based operating system
CN109634641B (en) Application program updating method and device, electronic equipment and medium
CN104424037A (en) Method and device for dynamically patching function
CN104331343A (en) File backup method and system
CN104461648A (en) OTA upgrade backing-up method and system for intelligent terminals
CN111090442B (en) Application updating method, device and storage medium
CN104484241A (en) Terminal system file backup and recovery method and device
CN105760755B (en) A kind of partition method of Visual Studio expanding packets
CN103309809A (en) Intelligent debugging method of computer software
CN110851821A (en) Android intelligent device APK safety management and control method
CN103458121B (en) Realize the system and method that Android version is compatible with third party's function
CN110944034A (en) Webpage end breakpoint resume method and device, electronic equipment and storage medium
US20080127090A1 (en) Method for tracking code revisions with a checksum data value being automatically appended to source files

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