CN108519886A - A kind of APK application installation packages configuration method, server, system and storage medium - Google Patents
A kind of APK application installation packages configuration method, server, system and storage medium Download PDFInfo
- Publication number
- CN108519886A CN108519886A CN201810262333.XA CN201810262333A CN108519886A CN 108519886 A CN108519886 A CN 108519886A CN 201810262333 A CN201810262333 A CN 201810262333A CN 108519886 A CN108519886 A CN 108519886A
- Authority
- CN
- China
- Prior art keywords
- client
- application installation
- parameter
- installation packages
- resolution
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of APK application installation packages configuration method, server, system and storage medium, the methods to include:Receive the request of client downloads APK application installation packages;Obtain the resolution parameter of the client;Search and decompress the APK application installation packages of the client request;It searches and shears file corresponding with the resolution parameter of the client in the APK application installation packages;Pair file corresponding with the client resolution parameter carries out packing signature, is then sent to the client.It includes file resource corresponding with the resolution parameter of the client that the present invention, which realizes file resource of the client out of server end obtains APK application installation packages only, and do not include other redundant resources, it can effectively accelerate speed of download, reduce flow consumption and save memory space.
Description
Technical field
The present invention relates to a kind of APK application installation packages configuration method, server, system and storage mediums.
Background technology
It is Internet era, commonly used to be required for online upgrading or in application market download, update APK application installations
Packet.
The display effect that APK application installation packages have had for user on different resolution can be directed to different resolution
More set resources of application terminal preset different resolution in APK, but only have in these resources consistent with oneself mobile phone resolution ratio
Or it is close that is a set of useful, others are all useless redundant resources.
Android cellphone screen resolution ratio is increasing at present, from the 2K screens till now such as 800*480,720P, 1080P,
For good display effect and user experience, have to be put into more set resources in APK application installation packages, this makes APK application peaces
Dress packet is increasing.More it is essential that the resource actually useful to user is often only a set of, most of resource will all be lost
It abandons.This results in user and has downloaded many useless resources, leads to the waste of network flow, longer download time, causes pair
The waste of storage resource and poor user experience.
Invention content
It is a primary object of the present invention to propose that a kind of APK application installation packages configuration method, server, system and storage are situated between
Matter, it is intended to solve in the APK application installation packages of user end to server request in the prior art to include much not to be suitable for client
The redundant resource at end, the problem of to cause client resource to waste.
To achieve the above object, a kind of APK application installation packages configuration method provided by the invention is applied to server end,
It the described method comprises the following steps:
Receive the request of client downloads APK application installation packages;
Obtain the resolution parameter of the client;
Search and decompress the APK application installation packages of the client request;
It searches and shears file corresponding with the resolution parameter of the client in the APK application installation packages;
Pair corresponding with client resolution parameter file is packaged signature, is then sent to the client.
Further, the method searches in step and shears point in the APK application installation packages with the client
Include after the corresponding file of resolution parameter:
Delete file not corresponding with the resolution parameter of the client in the APK application installation packages.
Further, the step of the method obtains the resolution parameter of the client and further comprises:
The parameter packet that the client reports automatically is received, judges whether the parameter packet includes the client resolution ratio
Parameter;
If including the client resolution parameter in the parameter packet, the client is obtained from the parameter packet
The resolution parameter at end.
Further, the method receives the parameter packet that the client reports automatically in step, judges the parameter packet
Whether the resolution parameter comprising the client includes later:
If not including the resolution parameter of the client in the parameter packet, is sent out to the client and search institute
State the request of the resolution parameter of client;
If receiving the client agrees to the feedback searched, the resolution ratio ginseng of the client is searched and obtained
Number.
Further, if the method does not include the client resolution parameter in the step parameter packet,
It is sent out to the client after searching the request of the client resolution parameter and includes:
If receiving the feedback that the client disagrees lookup, selection resolution parameter is sent out to the client
Request;
Resolution parameter is determined according to the selection of the client.
Further, the step searches and decompresses the APK application installation packages of the client request and further comprises:
APK applications peace corresponding with the client request is searched from the APK application installation package databases of server end
Then dress packet decompresses the APK application installation packages found.
Further, the step obtains the resolution parameter of the client and further comprises:
The request for the resolution parameter for selecting the client is sent out to the client;
Resolution parameter is determined according to the selection of the client.
In addition, to achieve the above object, the present invention also proposes a kind of APK application installation packages configuration server, the service
Device includes:Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, institute
State the step of realizing method described in any one of the above embodiments when computer program is executed by the processor.
In addition, to achieve the above object, the present invention also proposes a kind of APK application installation packages configuration system, the system packet
It includes:
Client, for sending out the request for obtaining APK application installation packages to server;Report the resolution ratio of the client
Parameter;It receives the APK application installation packages that server is sent and installs;
Server, for receiving point that the client obtains the request of APK application installation packages and the client reports
Resolution parameter;The APK application installation packages of the client request are searched and decompress, point then reported according to the client
Resolution parameter, which comes out to paper cut corresponding with the resolution parameter in APK application installation packages and is packaged signature, is sent to institute
State client.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable
APK application installation package configurators are stored on storage medium, when the APK application installation packages configurator is executed by processor
The step of realizing any of the above-described APK application installation package configuration methods.
APK application installation packages configuration method, server, system and storage medium proposed by the present invention, server can bases
The resolution ratio of different clients cuts APK packets in server end, deletes useless resource, will only be suitable for the APK applications of client
File feeds back to client, to save flow for user.In the case where not influencing the existing experience of user, greatly reduce APK
Size saves customer flow, shortens the method for download time, promotes user experience.
Description of the drawings
The hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram for the APK application installation package configuration methods that the embodiment of the present invention one provides;
Fig. 4 is the flow diagram of APK application installation packages configuration method provided by Embodiment 2 of the present invention;
Fig. 5 is the flow diagram for the APK application installation package configuration methods that the embodiment of the present invention three provides;
Fig. 6 is the flow diagram for the APK application installation package configuration methods that the embodiment of the present invention four provides;
Fig. 7 is the flow diagram for the APK application installation package configuration methods that the embodiment of the present invention five provides.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
First embodiment of the invention provides a kind of APK application installation packages configuration method, is applied to server end, such as Fig. 3 institutes
Show, the described method comprises the following steps:
S11 receives the request of client downloads APK application installation packages;
APK is the abbreviation of AndroidPackage, i.e. Android installation kits (apk).APK be similar Symbian Sis or
The file format of Sisx.By the way that APK file to be passed directly to execute in Android simulator or Android phone and can install.
In Android platform, the execution file of dalvik vm is packaged as apk formats, finally loader meeting when operation
Then decompression obtains the relevant secure access of permission branches in the androidmanifest.xml files after compiling,
But still there are many security restrictions, if people apk files are passed to/system/app files under, it is found that execution is
It is unrestricted.The file of installation may not be this file, and in androidrom, the apk file default meetings of system
It is put into this file, they possess root authority.
Client includes the terminal devices such as mobile phone, computer, IPAD and camera, navigation.Client installs application program,
Application program is downloaded from the server of the developer of application program.
The APK installation kits of one or more application program are arranged in server end, for passing through under network for the client
It carries.Downloading the client of APK application installation packages can install in local terminal, you can application program is used in the client,
Such as Baidu map, communication application program, news client, game etc. immediately.
When client wants will download an APK application program, i.e., answered by the desired APK of application market or site search
With program and acquisition is clicked, i.e., has issued the request for downloading APK application installation packages to server.
S12 obtains the resolution parameter of the client;
Screen resolution refers to the resolution ratio of screen display.Screen resolution determines how much information is shown on computer screen
Setting, weighed with horizontal and vertical pixel.When screen resolution is low (such as 640 × 480), the pixel shown on the screen
It is few, but size is bigger.When screen resolution is high (such as 1600 × 1200), the pixel shown on the screen is more, but size ratio
It is smaller.
Display resolution is exactly the number of pixels shown on screen, the meaning of resolution ratio 160 × 128 be horizontally oriented containing
Pixel number is 160, vertical direction pixel number 128.In the case that screen size is the same, resolution ratio is higher, and display effect is just
It is finer and fine and smooth.
Server end obtain the resolution parameter of the client method can there are many, be exemplified below several:
One of which is:The client to server while sending out acquisition APK application installation packages, on server
Report parameter packet.The parameter packet includes that the system version parameter of the client, resolution parameter etc. are configured with request version
The parameter of pass.The parameter number amount and type that the needs that parameter packet is included report can be completed uniformly to set in terminal system design
It sets.
In the case where system does not carry out reporting setting automatically to resolution parameter, it is automatic that server receives the client
The parameter packet reported will first judge whether the parameter packet includes resolution parameter;
If including resolution parameter in the parameter packet, the resolution ratio of the client is obtained from the parameter packet
Parameter.
If not including resolution parameter in the parameter packet, is sent out from server to the client and search the visitor
The request of the resolution parameter at family end;After receiving the feedback that the client receives request, searches and obtain the client
Resolution parameter;Or the request for selecting the client resolution parameter is sent out from server to the client;Such as
Several resolution parameter options are provided, such as:
QVGA 240X320
HVGA 320X480
WVGA 480X800 mainstream configurations
FWVGA 480X854
QHD 540X960
640X960 apple resolution ratio
HD 720X1280
1920X1080
It arbitrarily selects a resolution parameter to report by user, determines that resolution ratio is joined according to the selection of the client
Number.
Optionally the mode of the another kind acquisition client resolution parameter is:
Directly the resolution parameter mode for obtaining the client is set as sending out from server to the client and be looked into
Look for the request of resolution parameter;After receiving the feedback that the client receives request, point of the client is searched and obtained
Resolution parameter;Or the request for the resolution parameter for selecting the client is sent out from server to the client;Such as to
Go out several resolution parameter options, arbitrarily selects a resolution parameter to report by user, according to the client
Selection determines resolution parameter.
S13 searches and decompresses the APK application installation packages of the client request;
The APK application installation packages of server end generally comprise multiple, need to be asked to determine that required APK is answered according to user
Use installation kit.After installation kit is determined, APK application installation packages are decompressed.
S14 is searched and is sheared file corresponding with the resolution parameter of the client in the APK application installation packages;
In the installation kit of decompression choose be suitble to the client file resource because APK application installation packages in order to
The display effect that family has had on different resolution can be directed to application terminal preset different resolutions in APK of different resolution
More set resources of rate, therefore, it is necessary to be found and the most adaptable a set of resource of the client in mostly set resource.Server receives
The resolution parameter that the client uploads is searched and the client that is, from the APK application installation package databases of server end
Corresponding APK application installation packages are asked at end, are then decompressed to the APK application installation packages found.Then in numerous resources
It is middle to choose identical as the resolution ratio that the client reports or immediate file resource, then the resource of selection is cut out
Come, remains to use;Then remaining text not corresponding with the resolution parameter of the client in APK application installation packages is deleted
Part.
S15, a pair file corresponding with the client resolution parameter are packaged signature, are then sent to the client.
The resource of shearing is carried out to re-compress packing, signature, is then sent to the client, this is the client
Only comprising the file applicable with this client resolution ratio in the APK application installation packages received, without not including other discomforts
The file for closing the resolution ratio of this mobile terminal greatly reduces the size of the file returned from server to the client, is
User saves flow, and in the also less of the occupied storage resources of the client, realizes preferable customer experience.
The APK application installation package configuration methods that the present embodiment is realized, by when asking APK application installation packages to server
The resolution parameter of client is reported, is then cut from APK application installation packages according to the resolution parameter of client by server
The file resource for cutting the resolution parameter of suitable client returns to client, thus is avoided that other in APK application installation packages not
The file resource of resolution parameter suitable for client is also fed back to client, and the file resource amount of passback is made to greatly reduce,
Internet resources and client storage resource are saved, user experience is improved.
Embodiment two
Second embodiment of the invention provides a kind of APK application installation packages configuration method, as shown in figure 4, the method includes
Following steps:
S21 receives the request of client downloads APK application installation packages;
APK is the abbreviation of AndroidPackage, i.e. Android installation kits (apk).APK be similar Symbian Sis or
The file format of Sisx.By the way that APK file to be passed directly to execute in Android simulator or Android phone and can install.
In Android platform, the execution file of dalvik vm is packaged as apk formats, finally loader meeting when operation
Then decompression obtains the relevant secure access of permission branches in the androidmanifest.xml files after compiling,
But still there are many security restrictions, if people apk files are passed to/system/app files under, it is found that execution is
It is unrestricted.The file of installation may not be this file, and in androidrom, the apk file default meetings of system
It is put into this file, they possess root authority.
Client includes the terminal devices such as mobile phone, computer, IPAD and camera, navigation.Client installs application program,
Application program is downloaded from the server of the developer of application program.
The APK installation kits of one or more application program are arranged in server end, for passing through under network for the client
It carries.Downloading the client of APK application installation packages can install in local terminal, you can use application program, such as Baidu in client
Map links up application program, news client, game etc. immediately.
When client wants will download an APK application program, i.e., answered by the desired APK of application market or site search
With program and acquisition is clicked, i.e., has issued the request for downloading APK application installation packages to server.
S22 obtains the resolution parameter of the client;
Screen resolution refers to the resolution ratio of screen display.Screen resolution determines how much information is shown on computer screen
Setting, weighed with horizontal and vertical pixel.When screen resolution is low (such as 640 × 480), the pixel shown on the screen
It is few, but size is bigger.When screen resolution is high (such as 1600 × 1200), the pixel shown on the screen is more, but size ratio
It is smaller.
Display resolution is exactly the number of pixels shown on screen, the meaning of resolution ratio 160 × 128 be horizontally oriented containing
Pixel number is 160, vertical direction pixel number 128.In the case that screen size is the same, resolution ratio is higher, and display effect is just
It is finer and fine and smooth.
Server end obtain the resolution parameter of the client method can there are many, be exemplified below several:
One of which is:The client to server while sending out acquisition APK application installation packages, on server
Report parameter packet.The parameter packet includes that the system version parameter of the client, resolution parameter etc. are configured with request version
The parameter of pass.The parameter number amount and type that the needs that parameter packet is included report can be completed uniformly to set in terminal system design
It sets.
In the case where system does not carry out reporting setting automatically to resolution parameter, it is automatic that server receives the client
The parameter packet reported, first judge whether the parameter packet includes the resolution parameter of the client;
If including the resolution parameter of the client in the parameter packet, the visitor is obtained from the parameter packet
The resolution parameter at family end.
If not including resolution parameter in the parameter packet, is sent out from server to the client and search the visitor
The request of the resolution parameter at family end;After receiving the feedback that the client receives request, searches and obtain the client
Resolution parameter;Or the request for the resolution parameter for selecting the client is sent out from server to the client;Example
Several resolution parameter options are such as provided, such as:
QVGA 240X320
HVGA 320X480
WVGA 480X800 mainstream configurations
FWVGA 480X854
QHD 540X960
640X960 apple resolution ratio
HD 720X1280
1920X1080
It arbitrarily selects a resolution parameter to report by user, determines that resolution ratio is joined according to the selection of the client
Number.
Optionally the mode of the resolution parameter of the another kind acquisition client is:
Directly the resolution parameter mode for obtaining the client is set as sending out from server to the client and be looked into
Look for the request of the resolution parameter of the client;After receiving the feedback that the client receives request, searches and obtain institute
State the resolution parameter of client;Or the resolution parameter for selecting the client is sent out from server to the client
Request;Such as several resolution parameter options are provided, arbitrarily select a resolution parameter to report by user, according to institute
The selection for stating client determines resolution parameter.
S23 searches and decompresses the APK application installation packages of the client request;
The APK application installation packages of server end generally comprise multiple, need to be asked to determine that required APK is answered according to user
Use installation kit.After installation kit is determined, APK application installation packages are decompressed.
S24 is searched and is sheared file corresponding with the resolution parameter of the client in the APK application installation packages;
In the installation kit of decompression choose be suitble to the client file resource because APK application installation packages in order to
The display effect that family has had on different resolution can be directed to application terminal preset different resolutions in APK of different resolution
More set resources of rate, therefore, it is necessary to be found and the most adaptable a set of resource of the client in mostly set resource.Server receives
The resolution parameter that the client uploads, i.e., chosen in numerous resources it is identical as the resolution ratio that the client reports or
Then the resource of selection is cut out, remains to use by the immediate file resource of person;Then it deletes in APK application installation packages
Remaining file not corresponding with the resolution parameter of the client.
S25, a pair file corresponding with the client resolution parameter carry out packing signature, are then sent to the client
End.
The resource of shearing is carried out to re-compress packing, signature, is then sent to the client, this is the client
Only comprising the file applicable with this client resolution ratio in the APK application installation packages received, without not including other discomforts
The file for closing the resolution ratio of this mobile terminal greatly reduces the size of the file returned from server to the client, is
User saves flow, and in the also less of the occupied storage resources of the client, realizes preferable customer experience.
S26 deletes remaining text not corresponding with the resolution parameter of the client in the APK application installation packages
Part.
When the resolution parameter that server is reported according to the client is chosen and institute out of decompression APK application installation packages
After stating the adaptable file resource of client resolution ratio, remaining file resource is then extra file resource, deletes these moneys
Source is conducive to save space resources.
The APK application installation package configuration methods that the present embodiment is realized, by when asking APK application installation packages to server
The resolution parameter of client is reported, is then cut from APK application installation packages according to the resolution parameter of client by server
The file resource for cutting the resolution parameter of suitable client returns to the client, while by other remaining resolution parameters
File resource delete, thus be avoided that other in APK application installation packages be not suitable for the resolution parameter of client file money
Source is also fed back to client, and the file resource amount of passback is made to greatly reduce, and saves Internet resources and client storage resource, saves
Memory space improves user experience.
Embodiment three
Third embodiment of the invention provides a kind of APK application installation packages configuration method, as shown in figure 5, the method includes
Following steps:
S301 receives the request of client downloads APK application installation packages;
APK is the abbreviation of AndroidPackage, i.e. Android installation kits (apk).APK be similar Symbian Sis or
The file format of Sisx.By the way that APK file to be passed directly to execute in Android simulator or Android phone and can install.
In Android platform, the execution file of dalvik vm is packaged as apk formats, finally loader meeting when operation
Then decompression obtains the relevant secure access of permission branches in the androidmanifest.xml files after compiling,
But still there are many security restrictions, if people apk files are passed to/system/app files under, it is found that execution is
It is unrestricted.The file of installation may not be this file, and in androidrom, the apk file default meetings of system
It is put into this file, they possess root authority.
Client includes the terminal devices such as mobile phone, computer, IPAD and camera, navigation.Client installs application program,
Application program is downloaded from the server of the developer of application program.
The APK installation kits of one or more application program are arranged in server end, for being downloaded by network for client.Under
Carrying the client of APK application installation packages can install in local terminal, you can in client using application program, such as Baidu map,
Immediately application program, news client, game etc. are linked up.
When client wants will download an APK application program, i.e., answered by the desired APK of application market or site search
With program and acquisition is clicked, i.e., has issued the request for downloading APK application installation packages to server.
S302 receives the parameter packet that the client reports automatically;
Screen resolution refers to the resolution ratio of screen display.Screen resolution determines how much information is shown on computer screen
Setting, weighed with horizontal and vertical pixel.When screen resolution is low (such as 640 × 480), the pixel shown on the screen
It is few, but size is bigger.When screen resolution is high (such as 1600 × 1200), the pixel shown on the screen is more, but size ratio
It is smaller.
Display resolution is exactly the number of pixels shown on screen, the meaning of resolution ratio 160 × 128 be horizontally oriented containing
Pixel number is 160, vertical direction pixel number 128.In the case that screen size is the same, resolution ratio is higher, and display effect is just
It is finer and fine and smooth.
Server end obtain the resolution parameter of the client method can there are many, be exemplified below several:
One of which is:The client to server while sending out acquisition APK application installation packages, on server
Report parameter packet.The parameter packet includes that the system version parameter of the client, resolution parameter etc. are configured with request version
The parameter of pass.The parameter number amount and type that the needs that parameter packet is included report can be completed uniformly to set in terminal system design
It sets.
In the case where system does not carry out reporting setting automatically to resolution parameter, it is automatic that server receives the client
The parameter packet reported, first judge whether the parameter packet includes the resolution parameter of the client;
If including the resolution parameter of the client in the parameter packet, the visitor is obtained from the parameter packet
The resolution parameter at family end.
S303, judges whether the parameter packet includes the resolution parameter of the client;If wrapped in the parameter packet
Resolution parameter containing the client then executes S34, otherwise executes S35;
S304 obtains the resolution parameter of the client from the parameter packet;
S305 sends out the request for the resolution parameter for searching the client to the client;
If not including resolution parameter in the parameter packet, is sent out from server to the client and search the visitor
The request of the resolution parameter at family end;After receiving the feedback that the client receives request, searches and obtain the client
Resolution parameter;Or the request for the resolution parameter for selecting the client is sent out from server to the client;Example
Several resolution parameter options are such as provided, such as:
QVGA 240X320
HVGA 320X480
WVGA 480X800 mainstream configurations
FWVGA 480X854
QHD 540X960
640X960 apple resolution ratio
HD 720X1280
1920X1080
It arbitrarily selects a resolution parameter to report by user, determines that resolution ratio is joined according to the selection of the client
Number.
S306 judges whether that receiving the client agrees to the feedback searched, if it is, executing S307;Otherwise it holds
Row S308;
S307 searches and obtains the resolution parameter of the client;
S308 sends out the request of selection resolution parameter to the client;It is determined and is divided according to the selection of the client
Resolution parameter;
The request for the resolution parameter for selecting the client is sent out from server to the client;Such as it provides several
A resolution parameter option arbitrarily selects a resolution parameter to report by user, and the selection according to the client is true
Determine resolution parameter;
S309 searches and decompresses the APK application installation packages of the client request;
The APK application installation packages of server end generally comprise multiple, need to be asked to determine that required APK is answered according to user
Use installation kit.After installation kit is determined, APK application installation packages are decompressed.
S310 is searched and is sheared file corresponding with the resolution parameter of the client in the APK application installation packages;
In the installation kit of decompression choose be suitble to the client file resource because APK application installation packages in order to
The display effect that family has had on different resolution can be directed to application terminal preset different resolutions in APK of different resolution
More set resources of rate, therefore, it is necessary to be found and the most adaptable a set of resource of the client in mostly set resource.Server receives
The resolution parameter that the client uploads, i.e., chosen in numerous resources it is identical as the resolution ratio that the client reports or
Then the resource of selection is cut out, remains to use by the immediate file resource of person;
S311, a pair file corresponding with the client resolution parameter are packaged signature, are then sent to the client.
The resource of shearing is carried out to re-compress packing, signature, is then sent to the client, this is the client
Only comprising the file applicable with this client resolution ratio in the APK application installation packages received, without not including other discomforts
The file for closing the resolution ratio of this mobile terminal greatly reduces the size of the file returned from server to the client, is
User saves flow, and in the also less of the occupied storage resources of the client, realizes preferable customer experience.
When the resolution parameter that server is reported according to the client is chosen and institute out of decompression APK application installation packages
After stating the adaptable file resource of client resolution ratio, remaining file resource is then extra file resource, deletes these moneys
Source is conducive to save space resources.
The present embodiment realize APK application installation package configuration methods, by from server ask APK application installation packages when on
Resolution parameter is extracted in the client parameter packet of report, is then applied from APK according to the resolution parameter of client by server
It is sheared in installation kit and the file resource of the resolution parameter of client is suitble to return to client, while remaining other being differentiated
The file resource of rate parameter is deleted, and thus is avoided that other in APK application installation packages are not suitable for the resolution parameter of client
File resource is also fed back to the client, and the file resource amount of passback is made to greatly reduce, and saves Internet resources and client is deposited
Resource is stored up, memory space is saved, improves user experience.
Example IV
Fourth embodiment of the invention provides a kind of APK application installation packages configuration method, is applied to server end, such as Fig. 6 institutes
Show, the described method comprises the following steps:
S41 receives the request of client downloads APK application installation packages;
S42 sends out the request for the resolution parameter for searching the client to the client;
S43 after receiving the feedback that the client receives request, searches and obtains the resolution ratio ginseng of the client
Number;
S44 searches and decompresses the APK application installation packages of the client request;
S45 is searched and is sheared file corresponding with the resolution parameter of the client in the APK application installation packages;
S46, a pair file corresponding with the client resolution parameter are packaged signature, are then sent to the client.
The APK application installation package configuration methods that the present embodiment is realized are answered by server receiving client request APK
When with the request of installation kit, the mode that the resolution parameter of client is obtained to client request searches and obtains the client
Then resolution parameter is sheared from APK application installation packages according to the resolution parameter of client by server and is suitble to client
Resolution parameter file resource be packaged signature after return to client, while by the file of other remaining resolution parameters
Resource delete, thus be avoided that other in APK application installation packages be not suitable for the resolution parameter of client file resource it is also anti-
It feeds client, the file resource amount of passback is made to greatly reduce, save Internet resources and client storage resource, it is empty to save storage
Between, improve user experience.
Embodiment five
Fifth embodiment of the invention provides a kind of APK application installation packages configuration method, is applied to server end, such as Fig. 7 institutes
Show, the described method comprises the following steps:
S51 receives the request of client downloads APK application installation packages;
S52 sends out the request for the resolution parameter for selecting the client to the client;
S53 determines resolution parameter according to the selection of the client;
S54 searches and decompresses the APK application installation packages of the client request;
S55 is searched and is sheared file corresponding with the resolution parameter of the client in the APK application installation packages;
S56, a pair file corresponding with the client resolution parameter are packaged signature, are then sent to the client.
The APK application installation package configuration methods that the present embodiment is realized are answered by server receiving client request APK
When with the request of installation kit, the mode that the resolution parameter of client is obtained to client request searches the resolution for obtaining client
Then rate parameter is sheared point for being suitble to client by server according to the resolution parameter of client from APK application installation packages
The file resource of resolution parameter, which is packaged after signature, returns to client, while by the file resource of other remaining resolution parameters
It deletes, thus is avoided that other in APK application installation packages are not suitable for the file resource of the resolution parameter of client and are also fed back to
Client makes the file resource amount of passback greatly reduce, and saves Internet resources and client storage resource, saves memory space,
Improve user experience.
Embodiment six
Sixth embodiment of the invention provides a kind of APK application installation packages configuration server, and the server includes:Storage
Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the computer journey
Embodiment one, embodiment two, embodiment three, example IV, five any implementation of embodiment are realized when sequence is executed by the processor
Described in example the step of method.
Embodiment seven
Seventh embodiment of the invention provides a kind of APK application installation packages configuration system, the system comprises:
Client, for sending out the request for obtaining APK application installation packages to server;Report the resolution ratio of the client
Parameter;It receives the APK application installation packages that server is sent and installs.
Specifically, the structure of the client is as depicted in figs. 1 and 2.
The client includes the terminal devices such as mobile phone, computer, IPAD and camera, navigation.The client installation is answered
With program, application program is downloaded from the server of the developer of application program.
APK is the abbreviation of AndroidPackage, i.e. Android installation kits (apk).APK be similar Symbian Sis or
The file format of Sisx.By the way that APK file to be passed directly to execute in Android simulator or Android phone and can install.
In Android platform, the execution file of dalvik vm is packaged as apk formats, finally loader meeting when operation
Then decompression obtains the relevant secure access of permission branches in the androidmanifest.xml files after compiling,
But still there are many security restrictions, if people apk files are passed to/system/app files under, it is found that execution is
It is unrestricted.The file of installation may not be this file, and in androidrom, the apk file default meetings of system
It is put into this file, they possess root authority.
Server, for receiving point that the client obtains the request of APK application installation packages and the client reports
Resolution parameter;The APK application installation packages of the client request are searched and decompress, point then reported according to the client
Resolution parameter, which comes out to paper cut corresponding with the resolution parameter in APK application installation packages and is packaged signature, is sent to institute
State client.
The APK installation kits of one or more application program are arranged in server end, for passing through under network for the client
It carries.Downloading the client of APK application installation packages can install in local terminal, you can application program is used in the client,
Such as Baidu map, communication application program, news client, game etc. immediately.
When client wants will download an APK application program, i.e., answered by the desired APK of application market or site search
With program and acquisition is clicked, i.e., has issued the request for downloading APK application installation packages to server.
Screen resolution refers to the resolution ratio of screen display.Screen resolution determines how much information is shown on computer screen
Setting, weighed with horizontal and vertical pixel.When screen resolution is low (such as 640 × 480), the pixel shown on the screen
It is few, but size is bigger.When screen resolution is high (such as 1600 × 1200), the pixel shown on the screen is more, but size ratio
It is smaller.
Display resolution is exactly the number of pixels shown on screen, the meaning of resolution ratio 160 × 128 be horizontally oriented containing
Pixel number is 160, vertical direction pixel number 128.In the case that screen size is the same, resolution ratio is higher, and display effect is just
It is finer and fine and smooth.
Server end obtain the resolution parameter of the client method can there are many, be exemplified below several:
One of which is:The client to server while sending out acquisition APK application installation packages, on server
Report parameter packet.The parameter packet includes that the system version parameter of the client, resolution parameter etc. are configured with request version
The parameter of pass.The parameter number amount and type that the needs that parameter packet is included report can be completed uniformly to set in terminal system design
It sets.
In the case where system does not carry out reporting setting automatically to resolution parameter, it is automatic that server receives the client
The parameter packet reported, first judge whether the parameter packet includes the resolution parameter of the client;
If including the resolution parameter of the client in the parameter packet, the visitor is obtained from the parameter packet
The resolution parameter at family end.
If not including resolution parameter in the parameter packet, is sent out from server to the client and search the visitor
The request of the resolution parameter at family end;After receiving the feedback that the client receives request, searches and obtain the client
Resolution parameter;Or the request for the resolution parameter for selecting the client is sent out from server to the client;Example
Several resolution parameter options are such as provided, such as:
QVGA 240X320
HVGA 320X480
WVGA 480X800 mainstream configurations
FWVGA 480X854
QHD 540X960
640X960 apple resolution ratio
HD 720X1280
1920X1080
It arbitrarily selects a resolution parameter to report by user, determines that resolution ratio is joined according to the selection of the client
Number.
Optionally the mode of the resolution parameter of the another kind acquisition client is:
Directly the resolution parameter mode for obtaining the client is set as sending out from server to the client and be looked into
Look for the request of the resolution parameter of the client;After receiving the feedback that the client receives request, searches and obtain institute
State the resolution parameter of client;Or the resolution parameter for selecting the client is sent out from server to the client
Request;Such as several resolution parameter options are provided, arbitrarily select a resolution parameter to report by user, according to institute
The selection for stating client determines resolution parameter.
The APK application installation packages of server end generally comprise multiple, need to be asked to determine that required APK is answered according to user
Use installation kit.After installation kit is determined, APK application installation packages are decompressed.
In the installation kit of decompression choose be suitble to the client file resource because APK application installation packages in order to
The display effect that family has had on different resolution can be directed to application terminal preset different resolutions in APK of different resolution
More set resources of rate, therefore, it is necessary to be found and the most adaptable a set of resource of the client in mostly set resource.Server receives
The resolution parameter that the client uploads, i.e., chosen in numerous resources it is identical as the resolution ratio that the client reports or
Then the resource of selection is cut out, remains to use by the immediate file resource of person;Then it deletes in APK application installation packages
Remaining file not corresponding with the resolution parameter of the client.
The resource of shearing is carried out to re-compress packing, signature, is then sent to the client, this is the client
Only comprising the file applicable with this client resolution ratio in the APK application installation packages received, without not including other discomforts
The file for closing the resolution ratio of this mobile terminal greatly reduces the size of the file returned from server to the client, is
User saves flow, and in the also less of the occupied storage resources of the client, realizes preferable customer experience.
The APK application installation packages that the present embodiment is realized configure system, by when asking APK application installation packages to server
The resolution parameter of client is reported, is then cut from APK application installation packages according to the resolution parameter of client by server
The file resource for cutting the resolution parameter of suitable client returns to client, thus is avoided that other in APK application installation packages not
The file resource of resolution parameter suitable for client is also fed back to client, and the file resource amount of passback is made to greatly reduce,
Internet resources and client storage resource are saved, user experience is improved.
Embodiment eight
Eighth embodiment of the invention provides a kind of computer readable storage medium, is deposited on the computer readable storage medium
APK application installation package configurators are contained, realizes and implements when the APK application installation packages configurator is executed by processor
Example one, embodiment two, embodiment three, example IV, the APK application installation packages configuration side described in five any embodiment of embodiment
The step of method.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of APK application installation packages configuration method is applied to server end, which is characterized in that the method includes following steps
Suddenly:
Receive the request of client downloads APK application installation packages;
Obtain the resolution parameter of the client;
Search and decompress the APK application installation packages of the client request;
It searches and shears file corresponding with the resolution parameter of the client in the APK application installation packages;
Pair corresponding with client resolution parameter file is packaged signature, is then sent to the client.
2. APK application installation packages configuration method according to claim 1, which is characterized in that the method is searched in step
And it shears in the APK application installation packages and includes after file corresponding with the resolution parameter of the client:
Delete file not corresponding with the resolution parameter of the client in the APK application installation packages.
3. APK application installation packages configuration method according to claim 1, which is characterized in that the step of the method obtains
The resolution parameter of the client further comprises:
The parameter packet that the client reports automatically is received, judging the parameter packet, whether the resolution ratio comprising the client is joined
Number;
If including the resolution parameter of the client in the parameter packet, the client is obtained from the parameter packet
Resolution parameter.
4. APK application installation packages configuration method according to claim 3, which is characterized in that the method is received in step
The parameter packet that the client reports automatically judges whether the resolution parameter comprising the client wraps the parameter packet later
It includes:
If not including the client resolution parameter in the parameter packet, is sent out to the client and search the client
Hold the request of resolution parameter;
If receiving the client agrees to the feedback searched, the resolution parameter of the client is searched and obtained.
5. APK application installation packages configuration method according to claim 4, which is characterized in that if the method is in step
Do not include the resolution parameter of the client in the parameter packet, then sends out point for searching the client to the client
Include after the request of resolution parameter:
If receiving the feedback that the client disagrees lookup, asking for selection resolution parameter is sent out to the client
It asks;
Resolution parameter is determined according to the selection of the client.
6. APK application installation packages configuration method according to claim 1, which is characterized in that the step of the method searches
And the APK application installation packages for decompressing the client request further comprise:
APK application installation packages corresponding with the client request are searched from the APK application installation package databases of server end,
Then the APK application installation packages found are decompressed.
7. APK application installation packages configuration method according to claim 1, which is characterized in that the step of the method obtains
The resolution parameter of the client further comprises:
The request for the resolution parameter for selecting the client is sent out to the client;
Resolution parameter is determined according to the selection of the client.
8. a kind of APK application installation packages configuration server, it is characterised in that:The server includes:It memory, processor and deposits
The computer program that can be run on the memory and on the processor is stored up, the computer program is by the processor
The step of method as described in any one of claim 1 to 7 is realized when execution.
9. a kind of APK application installation packages configure system, which is characterized in that the system comprises:
Client, for sending out the request for obtaining APK application installation packages to server;The resolution ratio of the client is reported to join
Number;It receives the APK application installation packages that server is sent and installs;
Server, for receiving the resolution ratio that the client obtains the request of APK application installation packages and the client reports
Parameter;Search and decompress the APK application installation packages of the client request, the resolution ratio then reported according to the client
Parameter, which comes out to paper cut corresponding with the resolution parameter in APK application installation packages and is packaged signature, is sent to the visitor
Family end.
10. a kind of computer readable storage medium, which is characterized in that be stored with APK on the computer readable storage medium and answer
With installation kit configurator, realized when the APK application installation packages configurator is executed by processor as in claim 1 to 7
The step of any one of them APK application installation package configuration methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810262333.XA CN108519886A (en) | 2018-03-28 | 2018-03-28 | A kind of APK application installation packages configuration method, server, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810262333.XA CN108519886A (en) | 2018-03-28 | 2018-03-28 | A kind of APK application installation packages configuration method, server, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108519886A true CN108519886A (en) | 2018-09-11 |
Family
ID=63433125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810262333.XA Withdrawn CN108519886A (en) | 2018-03-28 | 2018-03-28 | A kind of APK application installation packages configuration method, server, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108519886A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525569A (en) * | 2018-11-06 | 2019-03-26 | 北京北信源信息安全技术有限公司 | A kind of communication configuration method and equipment of user terminal and server |
CN109857455A (en) * | 2018-12-29 | 2019-06-07 | 深圳Tcl新技术有限公司 | Installation kit packaging method, system, equipment and storage medium |
CN109981728A (en) * | 2019-02-02 | 2019-07-05 | 珠海天燕科技有限公司 | It is a kind of to be adapted to multimedia providing method and device |
CN111124470A (en) * | 2019-12-17 | 2020-05-08 | 口碑(上海)信息技术有限公司 | Automatic optimization method and device for program package based on cloud platform |
CN111190630A (en) * | 2020-01-02 | 2020-05-22 | 竞技世界(北京)网络技术有限公司 | Terminal application updating method and server |
CN111225286A (en) * | 2018-11-27 | 2020-06-02 | 上海宜奇信息科技有限公司 | Television game application software installation-free method and system |
CN111767072A (en) * | 2019-04-02 | 2020-10-13 | 浙江宇视科技有限公司 | Client manufacturing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870303A (en) * | 2014-02-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Method and device for reducing size of software installation package |
US20140359601A1 (en) * | 2013-05-30 | 2014-12-04 | Microsoft Corporation | Resource package indexing |
CN106598678A (en) * | 2016-12-20 | 2017-04-26 | 北京小米移动软件有限公司 | Method and device for supplying application installation packages to terminal equipment |
-
2018
- 2018-03-28 CN CN201810262333.XA patent/CN108519886A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140359601A1 (en) * | 2013-05-30 | 2014-12-04 | Microsoft Corporation | Resource package indexing |
CN103870303A (en) * | 2014-02-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Method and device for reducing size of software installation package |
CN106598678A (en) * | 2016-12-20 | 2017-04-26 | 北京小米移动软件有限公司 | Method and device for supplying application installation packages to terminal equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525569A (en) * | 2018-11-06 | 2019-03-26 | 北京北信源信息安全技术有限公司 | A kind of communication configuration method and equipment of user terminal and server |
CN111225286A (en) * | 2018-11-27 | 2020-06-02 | 上海宜奇信息科技有限公司 | Television game application software installation-free method and system |
CN109857455A (en) * | 2018-12-29 | 2019-06-07 | 深圳Tcl新技术有限公司 | Installation kit packaging method, system, equipment and storage medium |
CN109981728A (en) * | 2019-02-02 | 2019-07-05 | 珠海天燕科技有限公司 | It is a kind of to be adapted to multimedia providing method and device |
CN111767072A (en) * | 2019-04-02 | 2020-10-13 | 浙江宇视科技有限公司 | Client manufacturing method and device |
CN111767072B (en) * | 2019-04-02 | 2023-03-14 | 浙江宇视科技有限公司 | Client manufacturing method and device |
CN111124470A (en) * | 2019-12-17 | 2020-05-08 | 口碑(上海)信息技术有限公司 | Automatic optimization method and device for program package based on cloud platform |
CN111190630A (en) * | 2020-01-02 | 2020-05-22 | 竞技世界(北京)网络技术有限公司 | Terminal application updating method and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108519886A (en) | A kind of APK application installation packages configuration method, server, system and storage medium | |
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108563499A (en) | CDN server switching method, mobile terminal and computer readable storage medium | |
CN107729103A (en) | A kind of method for switching theme, mobile terminal and computer-readable storage medium | |
CN109358940A (en) | Desktop synchronization, mobile terminal and computer readable storage medium | |
CN107657583A (en) | A kind of screenshot method, terminal and computer-readable recording medium | |
CN109299039A (en) | A kind of file management method, equipment and computer readable storage medium | |
CN108549826A (en) | Method of calibration, terminal, server and the readable storage medium storing program for executing of application program | |
CN108536490A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN107273433A (en) | A kind of file scanning method, equipment and computer-readable recording medium | |
CN109584897A (en) | Vedio noise reduction method, mobile terminal and computer readable storage medium | |
CN109002547A (en) | Journal file storage method, mobile terminal and computer readable storage medium | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN107635083A (en) | The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing | |
CN107911422A (en) | A kind of switching handling method, terminal and computer-readable recording medium | |
CN109710338A (en) | A kind of searching method of mobile terminal, mobile terminal and storage medium | |
CN109309762A (en) | Message treatment method, device, mobile terminal and storage medium | |
CN109189515A (en) | A kind of application starting method, terminal and computer readable storage medium | |
CN108650281A (en) | A kind of data managing method, device and computer readable storage medium | |
CN108595672A (en) | The method, apparatus and readable storage medium storing program for executing of file type are downloaded in a kind of identification | |
CN107704287A (en) | Installation method, mobile terminal and computer-readable recording medium are exempted from program application | |
CN110188249A (en) | A kind of global search method, equipment and computer readable storage medium | |
CN110187934A (en) | Application control method, terminal and computer readable storage medium | |
CN110045903A (en) | Interface operation response method, mobile terminal, device and computer 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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180911 |
|
WW01 | Invention patent application withdrawn after publication |