CN110109685A - Production method, device and the mobile terminal of the update, installation kit applied fastly - Google Patents

Production method, device and the mobile terminal of the update, installation kit applied fastly Download PDF

Info

Publication number
CN110109685A
CN110109685A CN201910330876.5A CN201910330876A CN110109685A CN 110109685 A CN110109685 A CN 110109685A CN 201910330876 A CN201910330876 A CN 201910330876A CN 110109685 A CN110109685 A CN 110109685A
Authority
CN
China
Prior art keywords
installation
installation kit
file
update packet
difference update
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
CN201910330876.5A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910330876.5A priority Critical patent/CN110109685A/en
Publication of CN110109685A publication Critical patent/CN110109685A/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/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

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)
  • Stored Programmes (AREA)

Abstract

Production method, device and the mobile terminal of the update, installation kit applied fastly the embodiment of the invention provides one kind.The production method of the installation kit applied fastly includes: to receive the first installation kit, and first installation kit is decompressed at least one first installation file, and the second preset installation kit is decompressed at least one second installation file;Based on the data other than the identical data between first installation file and second installation file, difference update packet is generated.The update method applied fastly includes: to receive difference update packet;Based on preset the second installation kit and the difference update packet, third installation kit is generated;Using third installation kit, corresponding fast application is updated.By generating difference update packet based on the data other than the identical data between first installation file and second installation file, realizes and reduce backpack body size required for fast application updates, and reduce the effect of customer flow consumption.

Description

Production method, device and the mobile terminal of the update, installation kit applied fastly
Technical field
The present invention relates to fast applied technical fields, production method, device more particularly to the update, installation kit applied fastly And mobile terminal.
Background technique
Fast application is a kind of new application ecology released jointly based on hardware platform.It is opened fastly using front-end technology stack Hair, can be provided simultaneously with html5 (Hyper TextMarkup Language, the hypertext markup language) page and native applications Two-fold advantage.In general, user can download rpk (fast application installation package) backpack body that installation is applied fastly, that is, can be used fast Using.Since the rpk backpack body size applied fastly is far smaller than apk (AndroidPackage, Android installation kit) backpack body of Android, Generally in several hundred kb or so, and installation process and renewal process can be completed on backstage, without obtaining the permission of Android system, Without popping up installation interface.So that fast application may be implemented to click the i.e. workable using effect of installation.
With the rapid development of fast application ecology, the release of especially fast game is also increased with it using rpk backpack body fastly. Fast application and development is fast, and distribution is fast, and touching is up to fast feature but also the version updating applied fastly in user mobile phone becomes frequent.Optimization More new technological process also becomes the important means for promoting user experience.Currently, the side that the update mode applied fastly is updated using the whole packet of rpk Formula, in the case where network condition is bad, still will increase the time-consuming of user's update although the backpack body applied fastly is smaller, and When more new content is less for rpk backpack body, the flow of user is also wasted to a certain extent.
Summary of the invention
The embodiment of the present invention provides the production for the installation kit applied fastly, using update method, device and mobile terminal, with solution Certainly fast application updates the big problem of consumed flow.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the production method for the installation kit applied fastly the embodiment of the invention provides one kind, is applied to server, Include:
Receive the first installation kit;
Determine the differential file between first installation kit and the second preset installation kit;
Based on the differential file, difference update packet is generated;
The difference update packet is issued to mobile terminal.
Optionally, based on the number other than the identical data between first installation file and second installation file According to, after generating difference update packet, the method also includes:
The difference update packet is sent to mobile terminal.
Optionally, the difference update packet further includes check information and compression configuration parameter.
Second aspect, the embodiment of the invention also provides the application update methods that one kind is applied fastly, comprising:
Receive difference update packet;
Based on preset the second installation kit and the difference update packet, the first installation kit is generated;
Using first installation kit, corresponding fast application is updated.
Optionally, described based on preset the second installation kit and the difference update packet, generate third installation kit, comprising:
Based on the check information in the difference update packet, to the difference update packet and second installation file into Row verification;
After the difference update packet and second installation file are by verification, according in the difference update packet Configuration parameter, the difference update packet and second installation file are compressed, third installation kit is generated.
Optionally, described according to the third installation kit, before updating corresponding fast application, the method also includes:
Whether identical as first installation kit of server end verify the third installation kit;
Described according to the third installation kit, update is corresponding to apply fastly, specifically includes:
When the third installation kit is identical as first installation kit, according to the third installation kit, update corresponding Fast application.
The third aspect, the embodiment of the invention provides the producing devices for the installation kit that one kind is applied fastly, comprising:
First installation packet handing module, for receiving the first installation kit;
Differential file determining module, for determining the text of the difference between first installation kit and the second preset installation kit Part;
Difference update packet generation module generates difference update packet for being based on the differential file;
Difference update packet release module, for issuing the difference update packet to mobile terminal.
Optionally, described device further include:
Sending module, for sending the difference update packet to mobile terminal.
Optionally, the difference update packet further includes check information and compression configuration parameter.
Fourth aspect, the embodiment of the invention provides a kind of mobile terminals, comprising:
Difference update packet handing module, for receiving the difference update packet;
Third installation kit generation module, for generating third based on preset the second installation kit and the difference update packet Installation kit;
Update module is applied fastly, for using the third installation kit, updates corresponding fast application.
Optionally, second generation module includes:
Submodule is verified, for based on the check information in the difference update packet, to the difference update packet and institute The second installation file is stated to be verified;
Submodule is generated, for after the difference update packet and second installation file are by verifying, according to institute Compression configuration parameter, the difference update packet and second installation file in difference update packet are stated, third installation kit is generated.
Optionally, further includes:
Whether correction verification module is identical as first installation kit of server end for verifying the third installation kit;
The update module specifically includes:
Submodule is updated, for pacifying according to the third when the third installation kit is identical as first installation kit Dress packet updates corresponding fast application.
5th aspect the embodiment of the invention provides a kind of electronic equipment, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of production method of the existing installation kit of the present invention applied fastly.
6th aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor It is existing it is of the present invention based on the application update method applied fastly the step of.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, and the peace applied fastly as described in the present invention is realized when the computer program is executed by processor The step of filling the production method of packet.
Eighth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, is realized when the computer program is executed by processor as described in the present invention based on fast application Application update method the step of.
The embodiment of the present invention includes following advantages:
The production method of the installation kit applied fastly through the embodiment of the present invention, based on first installation file with it is described The data other than identical data between second installation file generate difference update packet, realize and reduce fast application update institute The backpack body size needed, and reduce the effect of customer flow consumption.
The update method applied fastly through the embodiment of the present invention, based on the difference update packet and the second installation text Part generates third installation kit identical with first installation kit, and updates corresponding fast application using third installation kit, thus Realizing realizes reduction to obtain complete first installation kit by receiving the update that difference update packet is completed to apply fastly Backpack body size required for fast application updates, and reduce the effect of customer flow consumption.
Detailed description of the invention
Fig. 1 is the step flow chart of the production method embodiment for the installation kit that one kind of the invention is applied fastly;
Fig. 2 is the step flow chart for the update method embodiment that one kind of the invention is applied fastly;
Fig. 3 is the structural block diagram of the producing device embodiment for the installation kit that one kind of the invention is applied fastly;
Fig. 4 is a kind of structural block diagram of mobile terminal embodiment of the invention;
Fig. 5 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, the step flow chart of the production method embodiment for the installation kit that one kind of the invention is applied fastly is shown, The method is applied to server, can specifically include following steps:
Step 101, the first installation kit is received, and first installation kit is decompressed at least one first installation file, The second preset installation kit is decompressed at least one second installation file;
In embodiments of the present invention, first installation kit can be the fast application rpk installation kit of new version.Work as developer After completing the version updating applied fastly, first installation kit can be distributed to server, so that server can receive institute State the first installation kit.
Optionally, in embodiments of the present invention, second installation kit is the existing version being preset in the server Installation kit, the existing version installation kit are installation kit corresponding to the version applied fastly that is being currently used of each mobile terminal.
In embodiments of the present invention, the installation file in installation kit comprising at least one Jing Guo compression processing.Thus, it is possible to First installation kit is decompressed, at least one first installation file is obtained;Second installation kit can also be decompressed, be obtained At least one second installation file.
Step 102, based on the number other than the identical data between first installation file and second installation file According to generation difference update packet.
In embodiments of the present invention, since multiple installation files during being packaged by installation kit, pressure is had already been through Contracting processing, causes the degree of approximation between the first installation kit and the second installation kit to decrease.Determining first installation as a result, When wrapping the identical data between the second installation kit, first installation file and second installation file can be compared Compared with.First installation file and second installation file are all without overcompression, so as to more accurately determine the phase Same data.
In embodiments of the present invention, after determining the identical data, can by the data other than the identical data, Compression processing is carried out as differential file, and to differential file, generates difference update packet.
In the concrete realization, bsdiff or xdelta3 residual quantity algorithm can be used, determines first installation file and the Identical data between two installation files.
As a kind of example of the invention, when comparing first installation file and described the using bsdiff residual quantity algorithm When two installation files, the differential file can be divided into diffstring (residual quantity character string) differential file and extra String (additional residual quantity character string) updates file, and a small amount of content and the second installation are only existed in diffstring differential file File is different, and can be 0 by the position mark where the identical data in diffstring differential file, by differential file The position mark at place is other numerical value other than 0.It is to be not present in the second installation file that extra string, which updates file, Newly-increased data.File is updated to the diffstring differential file and extra string and carries out packing compression processing, it is raw At difference update packet.
In one preferred embodiment of the invention, based on first installation file and second installation file it Between identical data other than data, generate difference update packet after, the method also includes:
S11 sends the difference update packet to mobile terminal.
In embodiments of the present invention, after generating difference update packet, the server can receive the mobile terminal When updating request, Xiang Suoshu mobile terminal sends the difference update packet, so that the mobile terminal can be using the difference more New packet updating decision application.
The production method of the installation kit applied fastly through the embodiment of the present invention, based on first installation file with it is described The data other than identical data between second installation file generate difference update packet, realize and reduce fast application update institute The backpack body size needed, and reduce the effect of customer flow consumption.
In an embodiment of the present invention, the difference update packet further includes check information and compression configuration parameter.
In embodiments of the present invention, in order to ensure the mobile terminal can be carried out correctly fastly using the difference update The update of application.It may include check information in the difference update packet.The check information may include second installation The check information of the check information of packet and the difference update packet.Specifically, the check information of second installation kit can be with Informative abstract, size including second installation kit can also include every one second installation file in second installation kit Informative abstract, size.The check information of the difference update packet may include the informative abstract, big of the difference update packet It is small, it can also include informative abstract, the size of each differential file in the difference update packet.
In embodiments of the present invention, the fast application at no point in the update process, needs to be updated using complete installation kit, Therefore, the mobile terminal is after receiving the difference update packet that the server is sent, need using difference update packet with shifting The second preset installation kit in dynamic terminal, synthesizes installation kit identical with one first installation kit, and updating decision application.In order to ensure The mobile terminal can be incorrectly synthesised installation kit identical with first installation kit, the difference update Bao Zhongke with Including compressing configuration parameter.The compression configuration parameter is obtained by analyzing the compression parameters of first installation kit.The shifting Dynamic terminal can synthesize installation kit with reference to the compression configuration parameter, keep the installation kit of synthesis identical as first installation kit.
The production method of the installation kit applied fastly through the embodiment of the present invention, the difference update packet further include verification letter Breath and compression configuration parameter, allow mobile terminal using the correctly updating decision application of difference update packet, realize and reduce Backpack body size required for fast application updates, and reduce the effect of customer flow consumption.
With reference to Fig. 2, a kind of step flow chart of update method embodiment applied fastly of the invention is shown, the method is answered For mobile terminal, it can specifically include following steps:
Step 201, the difference update packet that server is sent is received, and the second preset installation kit is decompressed at least one Second installation file;Wherein, the difference update packet is based on identical between the first installation file and second installation file Data other than data generate;First installation file is based on the first installation kit decompression and generates.
In embodiments of the present invention, the mobile terminal is being opened fast in application, can send a fast application updates request. The server can be according to the version number and server latest edition number that the mobile terminal is currently applied fastly, it is determined whether Need to update the fast application in the mobile terminal.It is described fast in application, may further determine that the service when needing to update It whether there is the difference update packet applied fastly in device, if there is the difference update packet, then the server can be by institute It states difference update packet and is sent to the mobile terminal.If there is no the difference update packet, then the server can will be fast Using the complete installation kit of recent release, i.e. the first installation kit is sent to the mobile terminal.
In embodiments of the present invention, the difference update packet can be based on the first installation file and second installation file Between identical data other than data generate.Wherein, first installation file is decompressed by first installation kit and is generated, institute It states the second installation file and generation is decompressed by second installation kit.
In embodiments of the present invention, described to be applied fastly when updating, it needs to be updated using complete installation kit.And institute The installation kit that currently used version can be preset in mobile terminal, i.e. the second installation kit are stated, thus the mobile terminal can be with Based on preset the second installation kit and the difference update packet, third installation kit is generated.
It in embodiments of the present invention, can be by the second installation kit solution before based on the application of difference update packet updating decision Pressure is the second installation file, convenient for using the second installation file updating decision application in second installation kit.
Step 202, based on the difference update packet and second installation file, third installation kit is generated;
In embodiments of the present invention, the fast application at no point in the update process, needs to be updated using complete installation kit, And installation kit needs the installation kit with the latest edition in server, i.e. the first installation kit is identical.Therefore, the mobile terminal exists After receiving the difference update packet that the server is sent, need using difference update packet with second installation file, synthesis Third installation kit.
In embodiments of the present invention, the difference update packet can be decompressed at least one differential file, second peace Dress packet can be decompressed at least one second installation file.The mobile terminal can merge the differential file and described second Installation file, and generate third installation kit.The mobile terminal can be applied fastly using the third installation kit as a result, It updates.
Step 203, according to the third installation kit, corresponding fast application is updated.
In embodiments of the present invention, the mobile terminal can update corresponding fast application according to the third installation kit. To which the mobile terminal can complete the update that apply fastly by receiving the difference update packet, without obtaining complete the One installation kit.
The update method applied fastly through the embodiment of the present invention, based on the difference update packet and the second installation text Part generates third installation kit, and updates corresponding fast application using third installation kit, to realize by receiving difference update Packet completes the update applied fastly, without obtaining complete first installation kit, reduces backpack body required for fast application updates Size, and reduce the effect of customer flow consumption.
In an embodiment of the present invention, described based on preset the second installation kit and the difference update packet, it generates Third installation kit, comprising:
S21, based on the check information in the difference update packet, to the difference update packet and the second installation text Part is verified;
In embodiments of the present invention, the check information may include the check information of second installation kit and described The check information of difference update packet.Specifically, the check information of second installation kit may include second installation kit Informative abstract, size can also include informative abstract, the size of every one second installation file in second installation kit.It is described The check information of difference update packet may include informative abstract, the size of the difference update packet, can also include the difference Update informative abstract, the size of each differential file in packet.
It in embodiments of the present invention, can be according to the difference more after difference update packet described in the acquisition for mobile terminal Whether the check information for including in new packet, verify the second installation kit preset in the difference update packet and the mobile terminal Correctly.The second preset installation kit in the difference update packet and the mobile terminal that the mobile terminal confirmation receives With in server difference update packet and the second installation kit it is identical after, third installation kit is regenerated, with ensure can be correct Synthesize the third installation kit.
S22, after the difference update packet and second installation file are by verification, according to the difference update packet In compression configuration parameter, the difference update packet and second installation file, generate third installation kit.
In embodiments of the present invention, in order to ensure the mobile terminal can be incorrectly synthesised third installation kit, the difference Dividing can also include compression configuration parameter in update packet.The compression that the compression configuration parameter passes through analysis first installation kit Parameter obtains.Optionally, the mobile terminal can synthesize installation kit with reference to the compression configuration parameter, make described the synthesized Three installation kits are identical as first installation kit.
Specifically, the difference update packet can be decompressed at least one differential file, and second installation kit can solve Pressure is at least one second installation file.The mobile terminal can refer to the compression configuration parameter, merge the difference text Part and second installation file, and compress and generate third installation kit.The third installation synthesized with reference to compression configuration parameter Packet, can be identical as first installation kit, and the mobile terminal can be applied fastly using the third installation kit as a result, Update.
The update method applied fastly through the embodiment of the present invention is right based on the check information in the difference update packet The difference update packet and second installation file are verified, and configure ginseng according to the compression in the difference update packet Several, the described difference update packet and second installation file generate third installation kit, can correctly synthesize the third installation Packet, the mobile terminal can update corresponding fast application using third installation kit.It realizes needed for reducing fast application update The backpack body size wanted, and reduce the effect of customer flow consumption.
In an embodiment of the present invention, described according to the third installation kit, before updating corresponding fast application, institute State method further include:
Whether identical as first installation kit of server end S31 verifies the third installation kit;
In an embodiment of the present invention, the mobile terminal, can be further after obtaining the third installation kit Verify whether the third installation kit is identical as first installation kit of server end, it can be with ensure the mobile terminal Corresponding fast application is updated using third installation kit.
In the concrete realization, the server can send the check information of the first installation kit to the mobile terminal, or Person may include the check information of first installation kit in the difference update packet, and the mobile terminal can be according to described Whether the check information of the first installation kit, first installation kit for verifying the third installation kit and server end are identical.
Described according to the third installation kit, update is corresponding to apply fastly, specifically includes:
S41, when the third installation kit is identical as first installation kit, according to the third installation kit, more cenotype The fast application answered.
In embodiments of the present invention, the mobile terminal verifies the third installation using the check information of the first installation kit Packet, and when the third installation kit can pass through verification, illustrate that the third installation kit is identical as first installation kit.At this time Corresponding fast application can be updated according to the third installation kit.
The update method applied fastly through the embodiment of the present invention, verify the third installation kit whether with server end First installation kit is identical.When the third installation kit is identical as first installation kit, according to the third installation kit, Update corresponding fast application.It ensures that third installation kit can normally update corresponding fast application, realizes and reduce fast application Backpack body size required for updating, and reduce the effect of customer flow consumption.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 3, the structural block diagram of the producing device embodiment for the installation kit that one kind of the invention is applied fastly, institute are shown The producing device 300 for stating the installation kit applied fastly can specifically include following module:
First processing module 301, for receiving the first installation kit, and by first installation kit be decompressed at least one the The second preset installation kit is decompressed at least one second installation file by one installation file;
First generation module 302, for based on identical between first installation file and second installation file Data other than data generate difference update packet.
In an embodiment of the present invention, described device further include:
Sending module, for sending the difference update packet to mobile terminal.
In an embodiment of the present invention, the difference update packet further includes check information and compression configuration parameter.
In embodiments of the present invention, based on the identical data between first installation file and second installation file Data in addition generate difference update packet, realize and reduce backpack body size required for fast application updates, and reduce user's stream Measure the effect of consumption.
Referring to Fig. 4, a kind of structural block diagram of mobile terminal embodiment of the invention is shown, the mobile terminal 400 has Body may include following module:
Second processing module 401, for receiving the difference update packet of server transmission, and by the second preset installation kit solution Pressure is at least one second installation file;Wherein, the difference update packet is based on the first installation file and the second installation text Data other than identical data between part generate;First installation file is based on the first installation kit decompression and generates;
Second generation module 402, for generating third installation based on the difference update packet and second installation file Packet;
Update module 403, for updating corresponding fast application according to the third installation kit.
In an embodiment of the present invention, second generation module 402 includes:
Submodule is verified, for based on the check information in the difference update packet, to the difference update packet and institute The second installation file is stated to be verified;
Submodule is generated, for after the difference update packet and second installation file are by verifying, according to institute Compression configuration parameter, the difference update packet and second installation file in difference update packet are stated, third installation kit is generated.
In an embodiment of the present invention, further includes:
Whether correction verification module is identical as first installation kit of server end for verifying the third installation kit;
The update module 403 specifically includes:
Submodule is updated, for pacifying according to the third when the third installation kit is identical as first installation kit Dress packet updates corresponding fast application.
In embodiments of the present invention, it based on the difference update packet and second installation file, generates and described first The identical third installation kit of installation kit, and corresponding fast application is updated using third installation kit, thus realize it is poor by receiving Divide update packet to complete the update applied fastly, to obtain complete first installation kit, realizes and reduce fastly using needed for update The backpack body size wanted, and reduce the effect of customer flow consumption.
Mobile terminal provided in an embodiment of the present invention can be realized to be moved in the embodiment of the method for the above-mentioned update applied fastly Each process that terminal is realized, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 501, for receiving the difference update packet;
Processor 510, for the second preset installation kit to be decompressed at least one second installation file;Based on the difference Divide and update packet and second installation file, generates third installation kit identical with first installation kit;According to the third Installation kit updates corresponding fast application.
The update method applied fastly through the embodiment of the present invention, based on the difference update packet and the second installation text Part generates third installation kit identical with first installation kit, and updates corresponding fast application using third installation kit, thus Realizing realizes reduction to obtain complete first installation kit by receiving the update that difference update packet is completed to apply fastly Backpack body size required for fast application updates, and reduce the effect of customer flow consumption.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, 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 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it 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 510 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 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 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 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned update method embodiment of the method applied fastly of Shi Shixian, and identical technical effect can be reached, to avoid It repeats, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the above-mentioned update method embodiment of the method applied fastly when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
The embodiment of the present invention also provides a kind of electronic equipment, includes processor, memory and is stored on the memory simultaneously The computer program that can be run on the processor realizes that the present invention is real when the computer program is executed by the processor The step of applying the production method for the installation kit applied fastly described in example.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium Computer program realizes the production for the installation kit applied fastly as described in the present invention when the computer program is executed by processor The step of method, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer can Storage medium is read, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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 belongs within protection of the invention.

Claims (10)

1. the production method for the installation kit that one kind is applied fastly is applied to server characterized by comprising
The first installation kit is received, and first installation kit is decompressed at least one first installation file, by preset second Installation kit is decompressed at least one second installation file;
Based on the data other than the identical data between first installation file and second installation file, difference is generated more New packet.
2. the method as described in claim 1, which is characterized in that based on first installation file and the second installation text The data other than identical data between part, after generating difference update packet, the method also includes:
The difference update packet is sent to mobile terminal.
3. method according to claim 1 or 2, which is characterized in that the difference update packet further includes check information and pressure Contracting configuration parameter.
4. the update method that one kind is applied fastly is applied to mobile terminal characterized by comprising
The difference update packet that server is sent is received, and the second preset installation kit is decompressed at least one second installation text Part;Wherein, other than the difference update packet is based on the identical data between the first installation file and second installation file Data generate;First installation file is based on the first installation kit decompression and generates.
Based on the difference update packet and second installation file, third installation kit is generated;
According to the third installation kit, corresponding fast application is updated.
5. method as claimed in claim 4, which is characterized in that described based on preset the second installation kit and the difference update Packet generates third installation kit, comprising:
Based on the check information in the difference update packet, school is carried out to the difference update packet and second installation file It tests;
After the difference update packet and second installation file are by verification, according to the compression in the difference update packet Configuration parameter, the difference update packet and second installation file generate third installation kit.
6. method as claimed in claim 4, which is characterized in that described according to the third installation kit, update is answered fastly accordingly With before, the method also includes:
Whether identical as first installation kit of server end verify the third installation kit;
Described according to the third installation kit, update is corresponding to apply fastly, specifically includes:
When the third installation kit is identical as first installation kit, according to the third installation kit, update is answered fastly accordingly With.
7. the producing device for the installation kit that one kind is applied fastly characterized by comprising
First processing module is decompressed at least one first installation for receiving the first installation kit, and by first installation kit The second preset installation kit is decompressed at least one second installation file by file;
First generation module, other than based on the identical data between first installation file and second installation file Data, generate difference update packet.
8. a kind of mobile terminal, which is characterized in that including
Second processing module, for receive server transmission difference update packet, and by the second preset installation kit be decompressed into Few second installation file;Wherein, the difference update packet is based between the first installation file and second installation file Identical data other than data generate;First installation file is based on the first installation kit decompression and generates;
Second generation module, for generating third installation kit based on the difference update packet and second installation file;
Update module, for updating corresponding fast application according to the third installation kit.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 4~6 The step of described in any item update methods applied fastly.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the update side applied fastly as described in any one of claim 4~6 when the computer program is executed by processor The step of method.
CN201910330876.5A 2019-04-23 2019-04-23 Production method, device and the mobile terminal of the update, installation kit applied fastly Pending CN110109685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910330876.5A CN110109685A (en) 2019-04-23 2019-04-23 Production method, device and the mobile terminal of the update, installation kit applied fastly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910330876.5A CN110109685A (en) 2019-04-23 2019-04-23 Production method, device and the mobile terminal of the update, installation kit applied fastly

Publications (1)

Publication Number Publication Date
CN110109685A true CN110109685A (en) 2019-08-09

Family

ID=67486393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910330876.5A Pending CN110109685A (en) 2019-04-23 2019-04-23 Production method, device and the mobile terminal of the update, installation kit applied fastly

Country Status (1)

Country Link
CN (1) CN110109685A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527377A (en) * 2020-11-25 2021-03-19 深圳左邻永佳科技有限公司 Application program generation processing method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648712A (en) * 2017-02-27 2017-05-10 百度在线网络技术(北京)有限公司 Incremental updating packet generating method and device, and server
CN106775827A (en) * 2016-11-25 2017-05-31 广东欧珀移动通信有限公司 A kind of application program update method and device, computer equipment
CN108804130A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 Program installation kit generation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775827A (en) * 2016-11-25 2017-05-31 广东欧珀移动通信有限公司 A kind of application program update method and device, computer equipment
CN106648712A (en) * 2017-02-27 2017-05-10 百度在线网络技术(北京)有限公司 Incremental updating packet generating method and device, and server
CN108804130A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 Program installation kit generation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527377A (en) * 2020-11-25 2021-03-19 深圳左邻永佳科技有限公司 Application program generation processing method and device, computer equipment and storage medium
CN112527377B (en) * 2020-11-25 2024-03-19 深圳左邻永佳科技有限公司 Application program generation processing method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106933525B (en) A kind of method and apparatus showing image
CN107885825A (en) A kind of five application page sharing method and mobile terminal
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN109885257A (en) A kind of disk file reading/writing method and device
CN110035181A (en) It is a kind of to apply card theme setting method and terminal fastly
CN110365853A (en) A kind of reminding method and electronic equipment
CN109814930A (en) A kind of application loading method, device and mobile terminal
CN109215683A (en) A kind of reminding method and terminal
CN109271297A (en) A kind of abnormal prompt method and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN109407832A (en) A kind of control method and terminal device of terminal device
CN109888928A (en) A kind of terminal and wireless charging control method
CN109474784A (en) A kind of preview image processing method and terminal device
CN109491670A (en) A kind of page display method and terminal device
CN108874554A (en) Information communicating method and device
CN109745699A (en) A kind of method and terminal device responding touch control operation
CN110287655A (en) A kind of verifying code imput method, device and mobile terminal
CN109871176A (en) A kind of object displaying method and terminal device
CN109032699A (en) A kind of method and terminal for modifying application environment variable
CN108710501A (en) A kind of method and terminal of update application
CN108540642A (en) The operating method and mobile terminal of mobile terminal
CN111163227B (en) Sharing method and electronic equipment
CN107704334A (en) A kind of SDK processing method and mobile terminal
CN108021315A (en) A kind of control method and mobile terminal
CN110430573A (en) A kind of information authentication method, electronic equipment and network side equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190809