CN106843880A - The method for customizing of Android installation kits APK, device and server - Google Patents

The method for customizing of Android installation kits APK, device and server Download PDF

Info

Publication number
CN106843880A
CN106843880A CN201710042582.3A CN201710042582A CN106843880A CN 106843880 A CN106843880 A CN 106843880A CN 201710042582 A CN201710042582 A CN 201710042582A CN 106843880 A CN106843880 A CN 106843880A
Authority
CN
China
Prior art keywords
apk
mark
apk file
file
installation kits
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
CN201710042582.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710042582.3A priority Critical patent/CN106843880A/en
Publication of CN106843880A publication Critical patent/CN106843880A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Abstract

The present invention proposes a kind of method for customizing of Android installation kits APK, device and server, and the method for customizing of Android installation kits APK includes the download request that receiving terminal sends, wherein, download request includes:Android installation kits to be downloaded first mark, and terminal facility information;Download request is parsed, from the decompression data of the first APK file corresponding with the first mark, decompression data corresponding with facility information is determined and is decompressed data as target;Treatment is compressed to target decompression data, the APK file after compression is processed is sent to terminal the second APK file as the second APK file.Can realize being cut out Android installation kits to be downloaded according to the facility information of terminal by the present invention, lift the installation success rate of Android installation kits, and lift the download installation effectiveness of Android installation kits.

Description

The method for customizing of Android installation kits APK, device and server
Technical field
The present invention relates to Android applied technical field, more particularly to a kind of method for customizing of Android installation kits APK, dress Put and server.
Background technology
With the development of electronic technology and the communication technology, the use of terminal is more and more extensive.Application can be installed in terminal Program is come the function that extends and enrich terminal.User can download the application program for needing with using terminal from server.At present, exist Run in the terminal of Android (Android) operating system, the installation file of application program is Android installation kit (Android Package, APK) file.With the compatible raising of APK file, i.e. APK file needs to be adapted to the end of plurality of devices information End, APK file is also increasing, and the decompression data after decompression are also more and more.
In correlation technique, when terminal downloads the application program for needing from server, can download to and be arranged comprising matching more The Android installation kits of the decompression data of standby information, in this manner, download installation effectiveness not high.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
Therefore, it is an object of the present invention to propose a kind of method for customizing of Android installation kits APK, can realize Facility information according to terminal is cut out to Android installation kits to be downloaded, lifts the installation success of Android installation kits Rate, and lift the download installation effectiveness of Android installation kits.
It is another object of the present invention to propose a kind of customizing device of Android installation kits APK.
It is another object of the present invention to propose a kind of server.
To reach above-mentioned purpose, the method for customizing of the Android installation kits APK that first aspect present invention embodiment is proposed, It is applied in server, including:The download request that receiving terminal sends, wherein, the download request includes:It is to be downloaded Android installation kits first mark, and terminal facility information;The download request is parsed, from described first Identify in the decompression data of corresponding first APK file, determine decompression data corresponding with the facility information and as mesh Mark decompression data;Treatment is compressed to target decompression data, the APK file after compression is processed is used as the 2nd APK File, and second APK file is sent to the terminal.
The method for customizing of the Android installation kits APK that first aspect present invention embodiment is proposed, by what is sent to terminal Download request is parsed, wherein, download request includes:First mark of Android installation kits to be downloaded, and terminal sets Standby information, from the decompression data of the first APK file corresponding with the first mark, determines decompression number corresponding with facility information According to and as target decompression data;Treatment is compressed to target decompression data, the APK file after compression is processed is used as the Two APK files, and the second APK file is sent to terminal, the facility information according to terminal can be realized to Android to be downloaded Installation kit is cut out, and lifts the installation success rate of Android installation kits, and effect is installed in the download of lifting Android installation kits Rate.
To reach above-mentioned purpose, the customizing device of the Android installation kits APK that second aspect present invention embodiment is proposed, Including:Receiver module, for the download request that receiving terminal sends, wherein, the download request includes:It is to be downloaded Android installation kits first mark, and terminal facility information;Parsing module, for being parsed to the download request, From the decompression data of the first APK file corresponding with the described first mark, decompression corresponding with the facility information is determined Data simultaneously decompress data as target;Compression module, for being compressed treatment to target decompression data, at compression APK file after reason is sent to the terminal second APK file as the second APK file.
The customizing device of the Android installation kits APK that second aspect present invention embodiment is proposed, by what is sent to terminal Download request is parsed, wherein, download request includes:First mark of Android installation kits to be downloaded, and terminal sets Standby information, from the decompression data of the first APK file corresponding with the first mark, determines decompression number corresponding with facility information According to and as target decompression data;Treatment is compressed to target decompression data, the APK file after compression is processed is used as the Two APK files, and the second APK file is sent to terminal, the facility information according to terminal can be realized to Android to be downloaded Installation kit is cut out, and lifts the installation success rate of Android installation kits, and effect is installed in the download of lifting Android installation kits Rate.
To reach above-mentioned purpose, the server that third aspect present invention embodiment is proposed, including:Second aspect embodiment is carried The customizing device of the Android installation kits APK for going out.
The server that third aspect present invention embodiment is proposed, can realize the facility information according to terminal to be downloaded Android installation kits are cut out, and lift the installation success rate of Android installation kits, and lift the download of Android installation kits Installation effectiveness.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by practice of the invention.
Brief description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the method for customizing of the Android installation kits APK that one embodiment of the invention is proposed;
Fig. 2 is the schematic flow sheet of the method for customizing of the Android installation kits APK that another embodiment of the present invention is proposed;
Fig. 3 is the schematic flow sheet of the method for customizing of the Android installation kits APK that another embodiment of the present invention is proposed;
Fig. 4 is the schematic flow sheet of the method for customizing of the Android installation kits APK that another embodiment of the present invention is proposed;
Fig. 5 is the structural representation of the customizing device of the Android installation kits APK that one embodiment of the invention is proposed;
Fig. 6 is the structural representation of the customizing device of the Android installation kits APK that another embodiment of the present invention is proposed.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached It is exemplary to scheme the embodiment of description, is only used for explaining the present invention, and is not considered as limiting the invention.Conversely, this Inventive embodiment includes all changes fallen into the range of the spiritual and intension of attached claims, modification and is equal to Thing.
Fig. 1 is the schematic flow sheet of the method for customizing of the Android installation kits APK that one embodiment of the invention is proposed.
The method for customizing of Android installation kits APK is applied in server.
Specifically, the method for customizing of Android installation kits APK can be applied to send to download in terminal to server and asked Ask, during the application program of needs is downloaded from server by the download request, this is not restricted.
Wherein, application program can be, for example, the tool-class application program in terminal, and game class application program, shopping class are answered With different types of application programs such as program, life kind application programs, this is not restricted.
Terminal can be smart mobile phone, panel computer, personal digital assistant, e-book etc. with the hard of various operating systems Part equipment.
Referring to Fig. 1, the method includes:
S11:The download request that receiving terminal sends, wherein, download request includes:Android installation kits to be downloaded First mark, and terminal facility information.
In an embodiment of the present invention, first the identity of Android installation kits to be downloaded is designated, the first mark can For the unique mark Android installation kits.
Alternatively, facility information is one or more in resolution ratio, SDK version numbers, CPU information, and GPU information, Or, or some other indicates the facility information of terminal attribute, and this is not restricted.
It should be noted that the executive agent of the embodiment of the present invention, the center in being, for example, server on the hardware Processor (Central Processing Unit, CPU), the installation kit in being, for example, server on the software manages clothes Business (Package Manage Service, PMS), is not restricted to this.
In an embodiment of the present invention, terminal can download Android installations by network from the shop of application program Bag, now, terminal generates download request according to the download instruction of user, and the download request is sent to server, or, eventually End can also be by the way that in search engine, the guiding of third party's page downloads to download Android installation kits, now, in third party When the guiding download button of the page is triggered, terminal can generate download request, and the download request is sent to server, right This is not restricted.
S12:Download request is parsed, from the decompression data of the first APK file corresponding with the first mark, it is determined that Go out decompression data corresponding with facility information and decompress data as target.
Wherein it is possible to be parsed to the download request for receiving using correlation technique, therefrom parse to be downloaded Android installation kits first mark, and terminal facility information.
In an embodiment of the present invention, the first APK file is the APK file of the corresponding Android installation kits of the first mark.
It is understood that APK file generally comprises following a few classes:Special resource file, library file, signature file, Binary system money after the java byte code files generated after resource file, global configuration file, the compiling of java source codes and compiling Source file etc..
Alternatively, in some embodiments, referring to Fig. 2, after being parsed to download request, also include:
S21:Obtain with the first corresponding APK file of mark and as the first APK file.
S22:All data in the first APK file carry out decompression, obtain decompression data.
It is alternatively possible to using AAPT instruments to the first APK file in all data carry out decompression, solved Compressed data, or, it is also possible to based on Universal Extractor instruments to the first APK file in all data carry out Decompression, obtains decompression data, and this is not restricted.
For example, the decompression of zip modes can be carried out to the first APK file, decompression data are obtained, or, The decompression of rar modes can be carried out to the first APK file, decompression data are obtained, this is not restricted.
It is understood that in the decompression data of the APK file of Android installation kits to be downloaded, generally comprising many Complete equipment information, and decompression data corresponding with every complete equipment information, i.e. for every kind of facility information, can correspond to one Cover corresponding decompression data.Different terminals, due to its device attribute difference, it is necessary to the decompression data downloaded not yet Together.
Therefore, in an embodiment of the present invention, Android to be downloaded is installed in order to realize the facility information according to terminal Bag is cut out, lifted Android installation kits installation success rate, can download Android installation kits before, in advance from In the decompression data of the first APK file of Android installation kits, decompression data corresponding with facility information are filtered out, with Make terminal downloads to the decompression data with equipment of itself information matches.
By obtaining and the first corresponding APK file of mark and being used as the first APK file, to the institute in the first APK file Having data carries out decompression, obtains decompression data, can realize that directly accurately mate goes out and sets from decompression data The corresponding decompression data of standby information, the perfect in shape and function of effective guarantee Android installation kits to be downloaded lifts Consumer's Experience Degree.
S13:Treatment is compressed to target decompression data, the APK file after compression is processed is literary as the 2nd APK Part, and the second APK file is sent to terminal.
In an embodiment of the present invention, the facility information phase of the decompression data based on the second APK file and the terminal Match somebody with somebody.
It is alternatively possible to treatment is compressed to target decompression data using AAPT instruments, the APK after compression is processed File as the second APK file, or, it is also possible to based on Universal Extractor instruments to target decompression data enter Row compression is processed, and the APK file after compression is processed is not restricted as the second APK file is obtained to this.
Further, server side is after the second APK file is obtained, strategy that can be certain to second APK file With particular procedure method using the response of download request transmitted by the second APK file as terminal, send to terminal, this is not limited System.
In the present embodiment, parsed by the download request that terminal sends, wherein, download request includes:Treat down Carry Android installation kits first mark, and terminal facility information, from the solution of the first APK file corresponding with the first mark In pressure data, determine decompression data corresponding with facility information and decompress data as target;Target decompression data are entered Row compression is processed, and the APK file after compression is processed is sent to terminal, energy the second APK file as the second APK file It is enough to realize being cut out Android installation kits to be downloaded according to the facility information of terminal, lift the installation of Android installation kits Success rate, and lift the download installation effectiveness of Android installation kits.
Fig. 3 is the schematic flow sheet of the method for customizing of the Android installation kits APK that another embodiment of the present invention is proposed.
Referring to Fig. 3, the method includes:
S31:The download request that receiving terminal sends, wherein, download request includes:Android installation kits to be downloaded First mark, and terminal facility information.
S32:Download request is parsed, is obtained with the first corresponding APK file of mark and as the first APK file.
S33:All data in the first APK file carry out decompression, obtain decompression data.
S34:From the decompression data of the first APK file corresponding with the first mark, determine corresponding with facility information Decompression data simultaneously decompress data as target.
S35:Treatment is compressed to target decompression data, the APK file after compression is processed is literary as the 2nd APK Part, and the second APK file is sent to terminal.
S31-S35 may refer to above-described embodiment, and therefore not to repeat here.
S36:Using first mark as the second APK file mark, and using the mark of the second APK file as second mark Know.
S37:Second APK file and corresponding facility information, and corresponding second mark correspondence are stored in default text In part catalogue.
By using first mark as the second APK file mark, and using the mark of the second APK file as second mark Know, and the second APK file and corresponding facility information, and corresponding second mark correspondence are stored in default file catalogue In, directly can obtain second from default file catalogue when the facility information of the terminal of transmission download request every time is identical APK file, effectively the download installation effectiveness of lifting Android installation kits, and reduce the memory consumption of system.
In the present embodiment, by obtaining and the first corresponding APK file of mark and being used as the first APK file, to an APK All data in file carry out decompression, obtain decompression data, can realize directly accurate from decompression data Match decompression data corresponding with facility information, the perfect in shape and function of effective guarantee Android installation kits to be downloaded, lifting User experience.Parsed by the download request that terminal sends, wherein, download request includes:Android to be downloaded Installation kit first mark, and terminal facility information, from the decompression data of the first APK file corresponding with the first mark, Determine decompression data corresponding with facility information and decompress data as target;Place is compressed to target decompression data Reason, the APK file after compression is processed is sent to terminal the second APK file as the second APK file, can realize root Android installation kits to be downloaded are cut out according to the facility information of terminal, lift the installation success rate of Android installation kits, And the download installation effectiveness of lifting Android installation kits.By using the first mark as the second APK file mark, and by the The mark of two APK files as the second mark, and by the second APK file and corresponding facility information, and corresponding second Mark correspondence is stored in default file catalogue, can be when the facility information of the terminal of transmission download request every time is identical, directly Connect and the second APK file is obtained from default file catalogue, effectively the download installation effectiveness of lifting Android installation kits, and reduce The memory consumption of system.
Fig. 4 is the schematic flow sheet of the method for customizing of the Android installation kits APK that another embodiment of the present invention is proposed.
Referring to Fig. 4, the method includes:
S41:The download request that receiving terminal sends, wherein, download request includes:Android installation kits to be downloaded First mark, and terminal facility information.
S42:Download request is parsed, judges to whether there is and the first mark, facility information in default file catalogue Second APK file of matching, if in the presence of, S43 is performed, otherwise, perform S44 and its subsequent step.
S43:Directly from default file catalogue, second mark matched with the first mark with facility information is read right The second APK file answered.
S44:From the decompression data of the first APK file corresponding with the first mark, determine corresponding with facility information Decompression data simultaneously decompress data as target.
S45:Treatment is compressed to target decompression data, the APK file after compression is processed is literary as the 2nd APK Part.
S46:Second APK file is sent to terminal.
S41-S46 may refer to above-described embodiment, and therefore not to repeat here.
In the present embodiment, parsed by download request, judge to whether there is and the first mark in default file catalogue Know, facility information matching the second APK file, if in the presence of, directly from default file catalogue, read with facility information and Corresponding second APK file of matched the second mark of first mark, if not existing, from the first mark corresponding first In the decompression data of APK file, determine decompression data corresponding with facility information and decompress data as target, to target solution Compressed data is compressed treatment, and the APK file after compression is processed is sent out as the second APK file, and by the second APK file Terminal is delivered to, can directly be obtained from default file catalogue when the facility information of the terminal of transmission download request every time is identical The second APK file is taken, effectively the download installation effectiveness of lifting Android installation kits, and reduce the memory consumption of system.
Fig. 5 is the structural representation of the customizing device of the Android installation kits APK that one embodiment of the invention is proposed.
Referring to Fig. 5, the customizing device 50 of Android installation kits APK includes:Receiver module 501, parsing module 502, with And compression module 503, wherein,
Receiver module 501, for the download request that receiving terminal sends, wherein, download request includes:It is to be downloaded Android installation kits first mark, and terminal facility information.
Parsing module 502, for being parsed to download request, from the solution of the first APK file corresponding with the first mark In pressure data, determine decompression data corresponding with facility information and decompress data as target.
Compression module 503, for being compressed treatment to target decompression data, the APK file after compression is processed is made It is the second APK file, and the second APK file is sent to terminal.
Alternatively, in some embodiments, referring to Fig. 6, the customizing device 50 of Android installation kits APK also includes:
Acquisition module 504, for obtaining with the first corresponding APK file of mark and as the first APK file.
Decompression module 505, decompression is carried out for all data in the first APK file, is decompressed Data.
Preserving module 506, for using the first mark as the second APK file mark, and by the mark of the second APK file As the second mark, and by the second APK file and corresponding facility information, and corresponding second mark correspondence be stored in it is pre- If in file directory.
Read module 507, is matched for directly from default file catalogue, reading with facility information with the first mark The second corresponding second APK file of mark.
Alternatively, facility information is one or more in resolution ratio, SDK version numbers, CPU information, and GPU information.
In the present embodiment, parsed by the download request that terminal sends, wherein, download request includes:Treat down Carry Android installation kits first mark, and terminal facility information, from the solution of the first APK file corresponding with the first mark In pressure data, determine decompression data corresponding with facility information and decompress data as target;Target decompression data are entered Row compression is processed, and the APK file after compression is processed is sent to terminal, energy the second APK file as the second APK file It is enough to realize being cut out Android installation kits to be downloaded according to the facility information of terminal, lift the installation of Android installation kits Success rate, and lift the download installation effectiveness of Android installation kits.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for describing purpose, without It is understood that to indicate or implying relative importance.Additionally, in the description of the invention, unless otherwise indicated, the implication of " multiple " It is two or more.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion suitable Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried The rapid hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, during each functional unit in each embodiment of the invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit is to realize in the form of software function module and as independent production marketing or when using, it is also possible to which storage is in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (11)

1. a kind of method for customizing of Android installation kits APK, it is characterised in that be applied in server, comprise the following steps:
The download request that receiving terminal sends, wherein, the download request includes:The first of Android installation kits to be downloaded Mark, and terminal facility information;
The download request is parsed, from the decompression data of the first APK file corresponding with the described first mark, it is determined that Go out decompression data corresponding with the facility information and decompress data as target;
To the target decompression data be compressed treatment, the APK file after compression is processed as the second APK file, and Second APK file is sent to the terminal.
2. the method for customizing of Android installation kits APK as claimed in claim 1, it is characterised in that it is described please to the download Ask after being parsed, also include:
Obtain with the described first corresponding APK file of mark and as first APK file;
All data in first APK file are carried out with decompression, the decompression data are obtained.
3. the method for customizing of Android installation kits APK as claimed in claim 1, it is characterised in that described to the target solution Compressed data is compressed treatment, and the APK file after compression is processed also includes as after the second APK file:
Using the described first mark as second APK file mark, and using the mark of second APK file as second Mark;
Second APK file and corresponding facility information, and corresponding second mark correspondence are stored in default file mesh In record.
4. the method for customizing of Android installation kits APK as claimed in claim 3, it is characterised in that the receiving terminal sends Download request after, also include:
Directly from the default file catalogue, second mark matched with the described first mark with the facility information is read Know corresponding second APK file.
5. the method for customizing of the Android installation kits APK as described in claim any one of 1-4, it is characterised in that the equipment Information is one or more in resolution ratio, SDK version numbers, CPU information, and GPU information.
6. a kind of customizing device of Android installation kits APK, it is characterised in that including:
Receiver module, for the download request that receiving terminal sends, wherein, the download request includes:Android to be downloaded Installation kit first mark, and terminal facility information;
Parsing module, for being parsed to the download request, from the solution of the first APK file corresponding with the described first mark In pressure data, determine decompression data corresponding with the facility information and decompress data as target;
Compression module, for being compressed treatment to target decompression data, the APK file after compression is processed is used as the Two APK files, and second APK file is sent to the terminal.
7. the customizing device of Android installation kits APK as claimed in claim 6, it is characterised in that also include:
Acquisition module, for obtaining with the described first corresponding APK file of mark and as first APK file;
Decompression module, for all data in first APK file to be carried out with decompression, obtains the decompression Data.
8. the customizing device of Android installation kits APK as claimed in claim 6, it is characterised in that also include:
Preserving module, for using the described first mark as second APK file mark, and by second APK file Mark as second mark, and will second APK file and corresponding facility information, and it is corresponding second identify it is right Should be stored in default file catalogue.
9. the customizing device of Android installation kits APK as claimed in claim 8, it is characterised in that also include:
Read module, for directly from the default file catalogue, reading and the facility information and the first mark institute Corresponding second APK file of second mark of matching.
10. the customizing device of the Android installation kits APK as described in claim any one of 6-9, it is characterised in that described to set Standby information is one or more in resolution ratio, SDK version numbers, CPU information, and GPU information.
A kind of 11. servers, it is characterised in that including:
The customizing device of the Android installation kits APK as described in claim any one of 6-9.
CN201710042582.3A 2017-01-20 2017-01-20 The method for customizing of Android installation kits APK, device and server Pending CN106843880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710042582.3A CN106843880A (en) 2017-01-20 2017-01-20 The method for customizing of Android installation kits APK, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710042582.3A CN106843880A (en) 2017-01-20 2017-01-20 The method for customizing of Android installation kits APK, device and server

Publications (1)

Publication Number Publication Date
CN106843880A true CN106843880A (en) 2017-06-13

Family

ID=59121135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710042582.3A Pending CN106843880A (en) 2017-01-20 2017-01-20 The method for customizing of Android installation kits APK, device and server

Country Status (1)

Country Link
CN (1) CN106843880A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368536A (en) * 2017-06-22 2017-11-21 深圳市金立通信设备有限公司 The optimization method and terminal of a kind of installation kit
CN107566472A (en) * 2017-08-25 2018-01-09 四川长虹电器股份有限公司 A kind of APK safeguards implementation method automatically
CN110837476A (en) * 2019-11-14 2020-02-25 珠海西山居移动游戏科技有限公司 Application program testing method and device
WO2020103057A1 (en) * 2018-11-21 2020-05-28 深圳市欢太科技有限公司 Data processing method, apparatus, electronic device and storage medium
CN113286006A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 File loading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229174A1 (en) * 2003-03-06 2005-10-13 Sap Aktiengesellschaft Methods and systems for generating an application consistent with a profile
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device
CN104166576A (en) * 2014-08-27 2014-11-26 厦门美图之家科技有限公司 System platform for providing program installation package

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229174A1 (en) * 2003-03-06 2005-10-13 Sap Aktiengesellschaft Methods and systems for generating an application consistent with a profile
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device
CN104166576A (en) * 2014-08-27 2014-11-26 厦门美图之家科技有限公司 System platform for providing program installation package

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368536A (en) * 2017-06-22 2017-11-21 深圳市金立通信设备有限公司 The optimization method and terminal of a kind of installation kit
CN107566472A (en) * 2017-08-25 2018-01-09 四川长虹电器股份有限公司 A kind of APK safeguards implementation method automatically
WO2020103057A1 (en) * 2018-11-21 2020-05-28 深圳市欢太科技有限公司 Data processing method, apparatus, electronic device and storage medium
CN110837476A (en) * 2019-11-14 2020-02-25 珠海西山居移动游戏科技有限公司 Application program testing method and device
CN113286006A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 File loading method and device

Similar Documents

Publication Publication Date Title
CN106843880A (en) The method for customizing of Android installation kits APK, device and server
CN107547239A (en) Configure the update method and device of object
CN106649446B (en) Information pushing method and device
KR20080037450A (en) System and method for processing update software run on mobile terminal platform
CN104052818A (en) Version upgrade method and device for mobile terminal
CN104063225B (en) Screen locking theme development method and device
US11861595B2 (en) Systems and methods for generation and use of a device wallet identifier
CN106681788B (en) Method and device for reducing application installation packages and electronic equipment
CN105530130A (en) Method and device for upgrading Over-The-Air downloading technology
CN105302925A (en) Method and device for pushing voice search data
CN114731162A (en) Partial download of compressed data
CN105263590A (en) Method and system for game data collection
CN108322540A (en) Customized data lead-in method, terminal and computer readable storage medium
CN106325892A (en) Method and device for difference backspacing upgrade
CN106980502A (en) A kind of online method for obtaining BIOS/firmware renewal
CN112416391A (en) System upgrading method and device, computer equipment and storage medium
CN106325896A (en) Method and device for processing shared function library file of installation package
CN103927201A (en) Method and device for updating game files
CN105592091A (en) Security application downloading method
CN108519922A (en) Information-pushing method and device, terminal device and computer readable storage medium
CN109766123B (en) Application program packaging method and device
CN113923144A (en) Service test system, method, electronic device and storage medium
CN106911734A (en) A kind of method and server for generating application installation kit
WO2020103059A1 (en) Data processing method and apparatus, electronic device and storage medium
CN112820302B (en) Voiceprint recognition method, voiceprint recognition device, electronic equipment and readable storage medium

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: 20170613

RJ01 Rejection of invention patent application after publication