[go: up one dir, main page]

CN108111331A - Acquisition methods, device, storage medium, processor and the system of updated data package - Google Patents

Acquisition methods, device, storage medium, processor and the system of updated data package Download PDF

Info

Publication number
CN108111331A
CN108111331A CN201711079036.3A CN201711079036A CN108111331A CN 108111331 A CN108111331 A CN 108111331A CN 201711079036 A CN201711079036 A CN 201711079036A CN 108111331 A CN108111331 A CN 108111331A
Authority
CN
China
Prior art keywords
updated
data packet
version
server
check information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711079036.3A
Other languages
Chinese (zh)
Other versions
CN108111331B (en
Inventor
张子天
江保贵
蒋明利
胡云海
马高龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qunar Software Technology Co Ltd
Original Assignee
Beijing Qunar Software Technology 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 Beijing Qunar Software Technology Co Ltd filed Critical Beijing Qunar Software Technology Co Ltd
Priority to CN201711079036.3A priority Critical patent/CN108111331B/en
Publication of CN108111331A publication Critical patent/CN108111331A/en
Application granted granted Critical
Publication of CN108111331B publication Critical patent/CN108111331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of acquisition methods of updated data package, device, storage medium, processor and systems.This method includes:Receive the update request message for coming from terminal, wherein, one or more assemblies of the update request message for application program of the request server to being installed in terminal carry out incremental update, update the version information and the first check information that one or more assemblies are carried in request message;Data packet to be updated is obtained according to version information and the first check information, wherein, data packet to be updated is used to carry out incremental update to one or more assemblies;The download address of data packet to be updated is returned to terminal.The amount of updating the data that the present invention solves the application program update mode provided in correlation technique is larger, renewal speed is slower, it is serious restrict application program iteration efficiency the technical issues of.

Description

Acquisition methods, device, storage medium, processor and the system of updated data package
Technical field
The present invention relates to computer realm, in particular to a kind of acquisition methods of updated data package, device, storage Medium, processor and system.
Background technology
At present, the application program body for more refining, being installed in terminal is become with communication service explosive growth, scene Product is compared rise appreciably than before, and constantly alternating occurs in application version issue.Existing application program update mode is deposited The amount of updating the data is big, renewal speed is slow the defects of, so as to not only result in the loss of the network traffics of terminal, application program Technological deficiency makes up or the real-time of emerging function issue arrival user is poor, the serious iteration efficiency for restricting application program.
For it is above-mentioned the problem of, currently no effective solution has been proposed.
The content of the invention
At least part embodiment of the present invention provides a kind of acquisition methods of updated data package, device, storage medium, processing Device and system, at least to solve, the amount of updating the data in a manner of the application program update provided in correlation technique is larger, update speed The technical issues of degree is slower, the iteration efficiency of serious restriction application program.
A wherein embodiment according to the present invention provides a kind of acquisition methods of updated data package, including:
The update request message for coming from terminal is received, wherein, update request message is for request server to terminal The one or more assemblies of the application program of installation carry out incremental update, update in request message and carry one or more assemblies Version information and the first check information;Data packet to be updated is obtained according to version information and the first check information, wherein, it treats more New data packets are used to carry out incremental update to one or more assemblies;The download address of data packet to be updated is returned to terminal.
Optionally, obtaining data packet to be updated according to version information and the first check information includes:Believed according to the first verification Breath, which determines that server is currently stored, first version application component installation kit corresponding with version information;Determine server local not There are differential data bag, wherein, differential data bag is used to carry out incremental update to one or more assemblies;By second edition application Component installation kit carries out difference processing with first version application component installation kit, obtains differential data bag, wherein, the second edition is high In first version.
Optionally, obtaining data packet to be updated according to version information and the first check information includes:Believed according to the first verification Breath, which determines that server is currently stored, first version application component installation kit corresponding with version information;It is obtained from default storage region Data packet to be updated is taken, wherein, data packet to be updated is by server in advance to second edition application component installation kit and the first edition This application component installation kit carries out difference processing and obtains, and the second edition is higher than first version.
Optionally, after the download address for returning to data packet to be updated to terminal, further include:Reception comes from terminal Downloading request message, wherein, downloading request message is used to obtain data packet to be updated according to download address;In response to download request Message sends data packet to be updated and the second check information to terminal, wherein, the second check information is used to verify data to be updated Whether bag is adapted with one or more assemblies.
A wherein embodiment according to the present invention additionally provides the acquisition methods of another updated data package, including:
Update request message is sent to server, wherein, update request message pacifies terminal local for request server The one or more assemblies of the application program of dress carry out incremental update, update in request message and carry one or more assemblies Version information and the first check information;The download address for the data packet to be updated that server returns is received, wherein, data to be updated Bag is obtained by server according to version information and the first check information, and data packet to be updated is used to carry out one or more assemblies Incremental update.
Optionally, after the download address that server returns is received, further include:It is obtained according to download address from server Data packet to be updated and the second check information, wherein, the second check information for verify data packet to be updated whether with one or Multiple components are adapted;Determine that data packet to be updated is adapted with one or more assemblies by the second check information;It will treat more New data packets are merged with one or more assemblies.
A wherein embodiment according to the present invention provides a kind of acquisition device of updated data package, including:
First receiving module, for receiving the update request message for coming from terminal, wherein, update request message is used for please The one or more assemblies of application program of the server to being installed in terminal is asked to carry out incremental update, updates and is carried in request message There are one or multiple components version information and the first check information;Acquisition module, for being verified according to version information and first Acquisition of information data packet to be updated, wherein, data packet to be updated is used to carry out incremental update to one or more assemblies;First is anti- Module is presented, for returning to the download address of data packet to be updated to terminal.
Optionally, acquisition module includes:First determination unit, for determining that server is currently deposited according to the first check information Contain first version application component installation kit corresponding with version information;Second determination unit, for determining server local not There are differential data bag, wherein, differential data bag is used to carry out incremental update to one or more assemblies;First acquisition unit, For second edition application component installation kit and first version application component installation kit to be carried out difference processing, differential data is obtained Bag, wherein, the second edition is higher than first version.
Optionally, acquisition module includes:3rd determination unit, for determining that server is currently deposited according to the first check information Contain first version application component installation kit corresponding with version information;Second acquisition unit, for being obtained from default storage region Data packet to be updated is taken, wherein, data packet to be updated is by server in advance to second edition application component installation kit and the first edition This application component installation kit carries out difference processing and obtains, and the second edition is higher than first version.
Optionally, above device further includes:Second receiving module, for receiving the downloading request message for coming from terminal, Wherein, downloading request message is used to obtain data packet to be updated according to download address;Second feedback module, in response to downloading Request message sends data packet to be updated and the second check information to terminal, wherein, the second check information is to be updated for verifying Whether data packet is adapted with one or more assemblies.
A wherein embodiment according to the present invention provides the acquisition device of another updated data package, including:
Sending module, for sending update request message to server, wherein, update request message is used for request server Incremental update is carried out to the one or more assemblies of the application program of terminal local installation, is updated there are one being carried in request message Or the version information and the first check information of multiple components;Receiving module, for receiving the data packet to be updated of server return Download address, wherein, data packet to be updated is obtained by server according to version information and the first check information, data to be updated Bag is for one or more assemblies progress incremental update.
Optionally, above device further includes:Acquisition module, for obtaining data to be updated from server according to download address Bag and the second check information, wherein, the second check information for verify data packet to be updated whether with one or more assemblies phase Adaptation;Determining module determines that data packet to be updated is adapted with one or more assemblies for passing through the second check information;Processing Module, for data packet to be updated to be merged with one or more assemblies.
A wherein embodiment according to the present invention provides a kind of storage medium, and storage medium includes the program of storage, In, equipment performs the acquisition methods of above-mentioned updated data package where controlling storage medium when program is run.
A wherein embodiment according to the present invention provides a kind of processor, and processor is used for operation program, wherein, program The acquisition methods of above-mentioned updated data package are performed during operation.
A wherein embodiment according to the present invention provides a kind of more new system of application component, including:Terminal kimonos Business device, wherein, server is used to perform the acquisition methods of above-mentioned updated data package, and terminal is for above-mentioned another updated data package Acquisition methods.
In at least part embodiment of the present invention, the update request message of terminal, update request are come from using reception Message the one or more assemblies of application program installed in terminal are carried out for request server incremental update and this more Carry the version information of one or more assemblies and the mode of the first check information in new request message, according to version information and First check information obtains data packet to be updated, which is used to carry out incremental update to one or more assemblies, And the download address of data packet to be updated is returned to terminal, achieve the purpose that promote application component update timeliness, It is achieved thereby that reducing the spent network traffics of application update, reducing the technique effect of time cost, and then solves correlation The amount of updating the data of application program update mode provided in technology is larger, renewal speed is slower, seriously restricts application program Iteration efficiency the technical issues of.
Description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the acquisition methods of updated data package of a wherein embodiment according to the present invention;
Fig. 2 is the flow chart of the acquisition methods of another updated data package of a wherein embodiment according to the present invention;
Fig. 3 is the wherein structure diagram of the more new system of the application component of an embodiment according to the present invention;
Fig. 4 is a kind of structure diagram of the acquisition device of updated data package of a wherein embodiment according to the present invention;
Fig. 5 is a kind of structure diagram of the acquisition device of updated data package of a wherein preferred embodiment according to the present invention;
Fig. 6 is the structure diagram of the acquisition device of another updated data package of a wherein embodiment according to the present invention;
Fig. 7 is the structural frames of the acquisition device of another updated data package of a wherein preferred embodiment according to the present invention Figure.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
A wherein embodiment according to the present invention provides a kind of embodiment of the acquisition methods of updated data package, it is necessary to say Bright, step shown in the flowchart of the accompanying drawings can be held in the computer system of such as a group of computer-executable instructions Row, although also, show logical order in flow charts, it in some cases, can be to be different from order herein Perform shown or described step.
Fig. 1 is a kind of flow chart of the acquisition methods of updated data package of a wherein embodiment according to the present invention, such as Fig. 1 institutes Show, this method comprises the following steps:
Step S10 receives the update request message for coming from terminal, wherein, update request message is used for request server Incremental update is carried out to the one or more assemblies of application program installed in terminal, update carried in request message there are one or The version information of multiple components and the first check information;
Step S12 obtains data packet to be updated according to version information and the first check information, wherein, data packet to be updated For carrying out incremental update to one or more assemblies;
Step S14 returns to the download address of data packet to be updated to terminal.
By above-mentioned steps, the update request message for receiving and coming from terminal may be employed, which is used for The one or more assemblies of application program of the request server to being installed in terminal carry out incremental update and update request disappears The version information of one or more assemblies and the mode of the first check information are carried in breath, is verified according to version information and first Acquisition of information data packet to be updated, the data packet to be updated are used to carry out one or more assemblies incremental update and to end End returns to the download address of data packet to be updated, has achieved the purpose that promote application component update timeliness, so as to fulfill It reduces the spent network traffics of application update, reduce the technique effect of time cost, and then solve institute in correlation technique The amount of updating the data of the application program update mode of offer is larger, renewal speed is slower, the serious iteration effect for restricting application program The technical issues of rate.
Incremental update refers to the portion that server is had differences by special algorithm lookup new version content with legacy version content Divide (process is referred to as difference), then extract difference section and form update patch (patch), i.e., above-mentioned data packet to be updated. Terminal is in renewal process is detected, it is only necessary to update patch be downloaded to terminal local, update patch then is incorporated into local Application component installation kit, and then formed new version application component installation kit.The set of applications of terminal local Part installation kit is obtained by extracting current mounted application program APMB package (APK).
Optionally, in step s 12, obtaining data packet to be updated according to version information and the first check information can include Step performed below:
Step S121, determining that server is currently stored according to the first check information has first version corresponding with version information Application component installation kit;
Step S122 determines server local there is no differential data bag, wherein, differential data bag is used for one or more A component carries out incremental update;
Step S123 carries out second edition application component installation kit and first version application component installation kit at difference Reason, obtains differential data bag, wherein, the second edition is higher than first version.
First, terminal needs to believe the version number of local mounted first version application component installation kit and the first verification Breath (such as:Message Digest Algorithm 5 (MD5)) it is sent to server.Secondly, server is needed according to the first check information Determine the first version application component installation kit that the first version application component installation kit that terminal reports is stored with server local It is consistent, such as:Terminal installation first version application component installation kit be downloaded from regular channel and not be logical Cross what Brute Force obtained.Then, server judges locally whether be stored with the differential data bag previously generated, wherein, this is treated It is poor that updated data package in advance carries out second edition application component installation kit and first version application component installation kit by server Office manages to obtain, and second edition application component installation kit is the peace obtained after upgrading to first version application component installation kit Dress bag.Finally, server can then utilize what is provided in Android (android) if it is determined that locally there is no differential data bag The instrument " bsdiff " of binary system difference increment upgrade package is made, it should according to second edition application component installation kit and first version With the binary file of the two different editions of component installation kit, above-mentioned update patch is generated.Specifically, server can use Such as issue orders:Bsdiff oldelement newelement patchelement generate above-mentioned update patch.
Optionally, in step s 12, obtaining data packet to be updated according to version information and the first check information can include Step performed below:
Step S124, determining that server is currently stored according to the first check information has first version corresponding with version information Application component installation kit;
Step S125 obtains data packet to be updated from default storage region, wherein, data packet to be updated is advance by server Difference processing is carried out to second edition application component installation kit with first version application component installation kit to obtain, the second edition is higher than First version.
If the differential data bag previously generated is locally stored in server judgement, i.e. server has advanced with The instrument " bsdiff " of the making binary system difference increment upgrade package provided in android, installs second edition application component The binary file of the two different editions of bag with first version application component installation kit carries out difference processing, generates above-mentioned update Patch, then server the update patch can be directly acquired from default storage region.
Optionally, after step S14, the download address for returning to data packet to be updated to terminal, can also include following Perform step:
Step S15 receives the downloading request message for coming from terminal, wherein, downloading request message is used for according to download ground Location obtains data packet to be updated;
In response to downloading request message, data packet to be updated and the second check information are sent to terminal by step S16, wherein, Second check information is used to verify whether data packet to be updated is adapted with one or more assemblies.
Default storage region of the server by the update patch xx.patch storages of generation on the server, for terminal downloads Update.The application component update of corresponding multiple versions needs to carry out difference processing respectively to different editions, so as to according to end Actual demand is held to perform purposive upgrading.However, for the larger situation of version span, then it is whole that application program may be employed The newer mode of body full dose completes application program update processing.In addition, server can also issue the second check information to terminal (such as:MD5), so that terminal not only can confirm that update patch should with first version in application component renewal process Be adapted with component installation kit, while it can be identified that this time newer basis be first version application component installation kit and Further acknowledge that first version application component installation kit and data packet to be updated are merged obtained second edition application by terminal Component installation kit is consistent with the second edition application component installation kit stored on server.
A wherein embodiment according to the present invention, provides the embodiment of the acquisition methods of another updated data package, and Fig. 2 is The flow chart of the acquisition methods of another updated data package of a wherein embodiment according to the present invention, as shown in Fig. 2, this method bag Include following steps:
Step S20 sends update request message to server, wherein, update request message is for request server to end The one or more assemblies of locally-installed application program is held to carry out incremental update, are updated there are one being carried in request message or more The version information of a component and the first check information;
Step S22 receives the download address for the data packet to be updated that server returns, wherein, data packet to be updated is by taking Business device is obtained according to version information and the first check information, and data packet to be updated is used to carry out increment more to one or more assemblies Newly.
Optionally, in step S22, after receiving the download address that server returns, step performed below can also be included:
Step S23 obtains data packet to be updated and the second check information according to download address from server, wherein, second Check information is used to verify whether data packet to be updated is adapted with one or more assemblies;
Step S24 determines that data packet to be updated is adapted with one or more assemblies by the second check information;
Step S25 merges data packet to be updated with one or more assemblies.
It is downloaded in terminal from server after xx.patch service packs, it is necessary to obtain corresponding to xx.patch patches APK.Originally the legacy version APK installed is synthesized new version APK by terminal using bspatch instruments with update patch.Terminal old edition This APK can by replicate predetermined directory (such as:Data/app the APK file under) obtains.
In addition, server can also be issued to terminal the second check information (such as:MD5), so that terminal is to applying journey It not only can confirm that update patch is adapted with first version application component installation kit in sequence component renewal process, while can also Confirm that this time newer basis is first version application component installation kit and further acknowledges that terminal pacifies first version application component Dress bag merges obtained second edition application component installation kit and the second edition stored on server with update patch Application component installation kit is consistent.
Fig. 3 is the wherein structure diagram of the more new system of the application component of an embodiment according to the present invention, such as Fig. 3 Shown, which includes:Terminal 1 and server 2.The system is to be common to the frame for the client that various assemblies melt hair, can To be integrated into various types APP, and complete in the case where user can not perceive the incremental update of each Android application component. The system can include following operating process:
First, terminal needs to believe the version number of local mounted first version application component installation kit and the first verification Breath (such as:MD5) it is sent to server.
Secondly, server need according to the first check information determine first version application component installation kit that terminal reports with The first version application component installation kit of server local storage is consistent.
Again, server judges locally whether be stored with the differential data bag previously generated, wherein, the data packet to be updated Difference processing is carried out by server with first version application component installation kit to second edition application component installation kit in advance to obtain, Second edition application component installation kit is the installation kit obtained after upgrading to first version application component installation kit.
Then, server can then utilize the making provided in android if it is determined that locally there is no differential data bag The instrument " bsdiff " of binary system difference increment upgrade package, according to second edition application component installation kit and first version application group The binary file of the two different editions of part installation kit generates above-mentioned update patch.If server judgement has been locally stored The differential data bag previously generated, i.e. server has advanced with the making binary system difference increment liter provided in android The instrument " bsdiff " of grade bag, to second edition application component installation kit and first version application component installation kit, the two are different The binary file of version carries out difference processing, generates above-mentioned update patch, then server can be direct from default storage region Obtain the update patch.
Finally, downloaded in terminal from server after update service packs, it is necessary to obtain the application corresponding to update patch Component installation kit.First version application component installation kit and update patch are merged to obtain second by terminal using synthetics Version application component installation kit.The first version application component installation kit of terminal can by replicate predetermined directory (such as: Data/app the APK file under) obtains.In addition, server can also be issued to terminal the second check information (such as:MD5), with Just terminal not only can confirm that update patch and first version application component installation kit in application component renewal process It is adapted, while it can be identified that this time newer basis is first version application component installation kit and further acknowledges that terminal will First version application component installation kit and data packet to be updated merge obtained second edition application component installation kit with The second edition application component installation kit stored on server is consistent.
A wherein embodiment according to the present invention provides a kind of embodiment of the acquisition device of updated data package, and Fig. 4 is root According to a kind of structure diagram of the acquisition device of updated data package of a wherein embodiment of the invention, as shown in figure 4, the device bag It includes:First receiving module 10, for receiving the update request message for coming from terminal, wherein, update request message is used to ask The one or more assemblies of application program of the server to being installed in terminal carry out incremental update, update and are carried in request message The version information of one or more assemblies and the first check information;Acquisition module 20, for being verified according to version information and first Acquisition of information data packet to be updated, wherein, data packet to be updated is used to carry out incremental update to one or more assemblies;First is anti- Module 30 is presented, for returning to the download address of data packet to be updated to terminal.
Optionally, acquisition module 20 includes:First determination unit (not shown), for true according to the first check information Determine that server is currently stored first version application component installation kit corresponding with version information;Second determination unit is (in figure not Show), for determining server local there is no differential data bag, wherein, differential data bag is used for one or more assemblies Carry out incremental update;First acquisition unit (not shown), for by second edition application component installation kit and first version Application component installation kit carries out difference processing, obtains differential data bag, wherein, the second edition is higher than first version.
Optionally, acquisition module 20 includes:3rd determination unit (not shown), for true according to the first check information Determine that server is currently stored first version application component installation kit corresponding with version information;Second acquisition unit is (in figure not Show), for obtaining data packet to be updated from default storage region, wherein, data packet to be updated is by server in advance to second Version application component installation kit carries out difference processing with first version application component installation kit and obtains, and the second edition is higher than the first edition This.
Optionally, Fig. 5 is a kind of knot of the acquisition device of updated data package of a wherein preferred embodiment according to the present invention Structure block diagram, as shown in figure 5, above device further includes:Second receiving module 40, the download request that terminal is come from for reception disappear Breath, wherein, downloading request message is used to obtain data packet to be updated according to download address;Second feedback module 50, for responding In downloading request message, data packet to be updated and the second check information are sent to terminal, wherein, the second check information is used to verify Whether data packet to be updated is adapted with one or more assemblies.
A wherein embodiment according to the present invention provides a kind of embodiment of the acquisition device of updated data package, and Fig. 6 is root According to the structure diagram of the acquisition device of another updated data package of a wherein embodiment of the invention, as shown in fig. 6, the device bag It includes:Sending module 60, for sending update request message to server, wherein, update request message is used for request server pair Terminal local installation application program one or more assemblies carry out incremental update, update request message in carry there are one or The version information of multiple components and the first check information;Receiving module 70, for receiving the data packet to be updated of server return Download address, wherein, data packet to be updated is obtained by server according to version information and the first check information, data to be updated Bag is for one or more assemblies progress incremental update.
Optionally, Fig. 7 is the acquisition device of another updated data package of a wherein preferred embodiment according to the present invention Structure diagram, as shown in fig. 7, above device further includes:Acquisition module 80, for being treated more from server acquisition according to download address New data packets and the second check information, wherein, the second check information for verify data packet to be updated whether with one or more Component is adapted;Determining module 90 determines data packet to be updated and one or more assemblies phase for passing through the second check information Adaptation;Processing module 100, for data packet to be updated to be merged with one or more assemblies.
A wherein embodiment according to the present invention additionally provides a kind of storage medium, and storage medium includes the program of storage, In, equipment performs the acquisition methods of above-mentioned updated data package where controlling storage medium when program is run.Above-mentioned storage medium It can include but is not limited to:USB flash disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disc or light The various media that can store program code such as disk.
A wherein embodiment according to the present invention additionally provides a kind of processor, and processor is used for operation program, wherein, journey The acquisition methods of above-mentioned updated data package are performed during sort run.Above-mentioned processor can include but is not limited to:Microprocessor (MCU) Or the processing unit of programmable logic device (FPGA) etc..
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or Person is desirably integrated into another system or some features can be ignored or does not perform.Another, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or Part steps.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (15)

1. a kind of acquisition methods of updated data package, which is characterized in that including:
The update request message for coming from terminal is received, wherein, the update request message is for request server to the end The one or more assemblies for the application program installed on end carry out incremental update, and described one is carried in the update request message The version information and the first check information of a or multiple components;
Data packet to be updated is obtained according to the version information and first check information, wherein, the data packet to be updated For carrying out incremental update to one or more of components;
The download address of the data packet to be updated is returned to the terminal.
2. it according to the method described in claim 1, it is characterized in that, is obtained according to the version information and first check information The data packet to be updated is taken to include:
Determining that the server is currently stored according to first check information has first version corresponding with the version information Application component installation kit;
The server local is determined there is no differential data bag, wherein, the differential data bag is used for one or more A component carries out incremental update;
Second edition application component installation kit and the first version application component installation kit are subjected to difference processing, obtained described Differential data bag, wherein, the second edition is higher than first version.
3. it according to the method described in claim 1, it is characterized in that, is obtained according to the version information and first check information The data packet to be updated is taken to include:
Determining that the server is currently stored according to first check information has first version corresponding with the version information Application component installation kit;
The data packet to be updated is obtained from default storage region, wherein, the data packet to be updated is advance by the server Difference processing is carried out to second edition application component installation kit with first version application component installation kit to obtain, the second edition is higher than First version.
4. according to the method described in claim 1, it is characterized in that, the institute of the data packet to be updated is being returned to the terminal After stating download address, further include:
The downloading request message for coming from the terminal is received, wherein, the downloading request message is used to download ground according to described Location obtains the data packet to be updated;
In response to the downloading request message, data packet to be updated and the second check information are sent to the terminal, wherein, it is described Second check information is used to verify whether the data packet to be updated is adapted with one or more of components.
5. a kind of acquisition methods of updated data package, which is characterized in that including:
Update request message is sent to server, wherein, the update request message is used to ask the server to terminal sheet The one or more assemblies of the application program of ground installation carry out incremental update, are carried in the update request message one Or the version information and the first check information of multiple components;
The download address for the data packet to be updated that the server returns is received, wherein, the data packet to be updated is by the clothes Business device is obtained according to the version information and first check information, and the data packet to be updated is used for one or more A component carries out incremental update.
6. according to the method described in claim 5, it is characterized in that, receive the download address that the server returns it Afterwards, further include:
The data packet to be updated and the second check information are obtained from the server according to the download address, wherein, it is described Second check information is used to verify whether the data packet to be updated is adapted with one or more of components;
Determine that the data packet to be updated is adapted with one or more of components by second check information;
The data packet to be updated is merged with one or more of components.
7. a kind of acquisition device of updated data package, which is characterized in that including:
First receiving module, for receiving the update request message for coming from terminal, wherein, the update request message is used for please The one or more assemblies of application program of the server to being installed in the terminal is asked to carry out incremental update, the update request disappears The version information and the first check information of one or more of components are carried in breath;
Acquisition module, for obtaining data packet to be updated according to the version information and first check information, wherein, it is described Data packet to be updated is used to carry out incremental update to one or more of components;
First feedback module, for returning to the download address of the data packet to be updated to the terminal.
8. device according to claim 7, which is characterized in that the acquisition module includes:
First determination unit has and version letter for determining that the server is currently stored according to first check information Cease corresponding first version application component installation kit;
Second determination unit, for determining the server local there is no differential data bag, wherein, the differential data bag is used In to one or more of components progress incremental update;
First acquisition unit, for second edition application component installation kit and the first version application component installation kit to be carried out Difference processing obtains the differential data bag, wherein, the second edition is higher than first version.
9. device according to claim 7, which is characterized in that the acquisition module includes:
3rd determination unit has and version letter for determining that the server is currently stored according to first check information Cease corresponding first version application component installation kit;
Second acquisition unit, for obtaining the data packet to be updated from default storage region, wherein, the data packet to be updated Difference processing is carried out to second edition application component installation kit and first version application component installation kit by the server in advance It obtains, the second edition is higher than first version.
10. device according to claim 7, which is characterized in that described device further includes:
Second receiving module, for receiving the downloading request message for coming from the terminal, wherein, the downloading request message is used According to the download address acquisition data packet to be updated;
Second feedback module, in response to the downloading request message, data packet to be updated and second to be sent to the terminal Check information, wherein, second check information for verify the data packet to be updated whether with one or more of groups Part is adapted.
11. a kind of acquisition device of updated data package, which is characterized in that including:
Sending module, for sending update request message to server, wherein, the update request message is used to ask the clothes The one or more assemblies for the application program that business device installs terminal local carry out incremental update, are taken in the update request message Version information and the first check information with one or more of components;
Receiving module, for receiving the download address for the data packet to be updated that the server returns, wherein, the number to be updated Obtained according to bag according to the version information and first check information by the server, the data packet to be updated for pair One or more of components carry out incremental update.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Acquisition module, for obtaining the data packet to be updated and the second verification letter from the server according to the download address Breath, wherein, second check information is used to verify whether the data packet to be updated mutually fits with one or more of components Match somebody with somebody;
Determining module, for determining the data packet to be updated and one or more of components by second check information It is adapted;
Processing module, for the data packet to be updated to be merged with one or more of components.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, it is run in described program When control the storage medium where updated data package in equipment perform claim requirement 1 to 4 or 5 to 6 described in any one Acquisition methods.
14. a kind of processor, which is characterized in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the acquisition methods of the updated data package described in any one in 1 to 4 or 5 to 6.
15. a kind of more new system of application component, which is characterized in that including:Terminal and server, wherein, the service Device is for the acquisition methods of the updated data package described in any one in perform claim requirement 1 to 4, and the terminal is for right of execution Profit requires the acquisition methods of the updated data package described in any one in 5 to 6.
CN201711079036.3A 2017-11-06 2017-11-06 Method, device, storage medium, processor and system for acquiring update data packet Active CN108111331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711079036.3A CN108111331B (en) 2017-11-06 2017-11-06 Method, device, storage medium, processor and system for acquiring update data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711079036.3A CN108111331B (en) 2017-11-06 2017-11-06 Method, device, storage medium, processor and system for acquiring update data packet

Publications (2)

Publication Number Publication Date
CN108111331A true CN108111331A (en) 2018-06-01
CN108111331B CN108111331B (en) 2021-04-16

Family

ID=62207425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711079036.3A Active CN108111331B (en) 2017-11-06 2017-11-06 Method, device, storage medium, processor and system for acquiring update data packet

Country Status (1)

Country Link
CN (1) CN108111331B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189427A (en) * 2018-08-30 2019-01-11 百度在线网络技术(北京)有限公司 Using update method, device, system and storage medium
CN109471653A (en) * 2018-09-29 2019-03-15 百度在线网络技术(北京)有限公司 Update method, electronic equipment, server and the storage medium of application program
CN109656588A (en) * 2018-11-14 2019-04-19 中国电力科学研究院有限公司 A kind of method and system remotely fast implementing power information acquisition terminal software upgrading
CN109766127A (en) * 2019-01-16 2019-05-17 上海掌门科技有限公司 Methods for updating application version information
CN109828770A (en) * 2018-12-28 2019-05-31 维沃移动通信有限公司 A kind of method for upgrading software, terminal device and server
CN110543318A (en) * 2019-08-30 2019-12-06 珠海格力电器股份有限公司 control device program updating method and device, storage medium and control device
CN110737447A (en) * 2018-07-18 2020-01-31 阿里巴巴集团控股有限公司 Application updating method and device
CN110750547A (en) * 2019-10-21 2020-02-04 中国民航信息网络股份有限公司 Data acquisition method and device
CN111240767A (en) * 2020-02-04 2020-06-05 北京字节跳动网络技术有限公司 Component and page loading method, apparatus, electronic device and storage medium
CN111343217A (en) * 2018-12-18 2020-06-26 阿里巴巴集团控股有限公司 Resource data downloading method and device, terminal equipment and computer storage medium
CN111478808A (en) * 2020-04-02 2020-07-31 清华大学 Method, system, electronic device and storage medium for assisting configuration update verification
CN111831300A (en) * 2019-08-23 2020-10-27 北京骑胜科技有限公司 APP update method, apparatus, electronic device, and computer-readable storage medium
CN112000347A (en) * 2020-07-27 2020-11-27 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112291600A (en) * 2020-10-26 2021-01-29 海信电子科技(深圳)有限公司 Caching method and display device
CN112860797A (en) * 2021-02-10 2021-05-28 上海商汤智能科技有限公司 Database synchronization method and device, storage medium and equipment
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN113238777A (en) * 2021-05-20 2021-08-10 网易(杭州)网络有限公司 Application program updating method, device, equipment and storage medium
CN113377412A (en) * 2021-08-13 2021-09-10 武汉众智数字技术有限公司 Method and system for incremental updating of client software
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN113467801A (en) * 2021-06-11 2021-10-01 浪潮电子信息产业股份有限公司 BMC firmware application updating method, BMC, system and storage medium
CN113778476A (en) * 2020-07-06 2021-12-10 北京沃东天骏信息技术有限公司 Method, device, equipment and computer readable medium for updating mobile application version
CN113886406A (en) * 2021-09-15 2022-01-04 北京达佳互联信息技术有限公司 A file library update method, device, electronic device and storage medium
CN114327539A (en) * 2021-12-02 2022-04-12 海尔优家智能科技(北京)有限公司 Incidence relation establishing method and device, storage medium and electronic device
CN114900424A (en) * 2022-05-27 2022-08-12 网易(杭州)网络有限公司 Data hot-repair method and device, electronic equipment and storage medium
CN114938365A (en) * 2022-03-18 2022-08-23 青岛海尔科技有限公司 Method and device for updating functional module, storage medium and electronic device
CN118509322A (en) * 2023-02-15 2024-08-16 上海一谈网络科技有限公司 Data updating method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200219A (en) * 2013-02-05 2013-07-10 北京小米科技有限责任公司 Data package updating method, device, terminal equipment and server
CN104657170A (en) * 2013-11-25 2015-05-27 腾讯科技(上海)有限公司 Data updating method, device and system
CN105487905A (en) * 2015-11-27 2016-04-13 东软集团股份有限公司 Updating method and device of hybrid application
US20160125093A1 (en) * 2014-10-31 2016-05-05 Linkedin Corporation Partial graph incremental update in a social network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200219A (en) * 2013-02-05 2013-07-10 北京小米科技有限责任公司 Data package updating method, device, terminal equipment and server
CN104657170A (en) * 2013-11-25 2015-05-27 腾讯科技(上海)有限公司 Data updating method, device and system
US20160125093A1 (en) * 2014-10-31 2016-05-05 Linkedin Corporation Partial graph incremental update in a social network
CN105487905A (en) * 2015-11-27 2016-04-13 东软集团股份有限公司 Updating method and device of hybrid application

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737447B (en) * 2018-07-18 2023-11-14 阿里巴巴集团控股有限公司 Application updating method and device
CN110737447A (en) * 2018-07-18 2020-01-31 阿里巴巴集团控股有限公司 Application updating method and device
CN109189427A (en) * 2018-08-30 2019-01-11 百度在线网络技术(北京)有限公司 Using update method, device, system and storage medium
CN109471653A (en) * 2018-09-29 2019-03-15 百度在线网络技术(北京)有限公司 Update method, electronic equipment, server and the storage medium of application program
CN109471653B (en) * 2018-09-29 2022-06-17 阿波罗智联(北京)科技有限公司 Application program updating method, electronic device, server and storage medium
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN109656588A (en) * 2018-11-14 2019-04-19 中国电力科学研究院有限公司 A kind of method and system remotely fast implementing power information acquisition terminal software upgrading
CN111343217A (en) * 2018-12-18 2020-06-26 阿里巴巴集团控股有限公司 Resource data downloading method and device, terminal equipment and computer storage medium
CN109828770B (en) * 2018-12-28 2022-07-29 维沃移动通信有限公司 A software upgrade method, terminal device and server
CN109828770A (en) * 2018-12-28 2019-05-31 维沃移动通信有限公司 A kind of method for upgrading software, terminal device and server
CN109766127B (en) * 2019-01-16 2022-06-28 上海掌门科技有限公司 Methods for updating application version information
CN109766127A (en) * 2019-01-16 2019-05-17 上海掌门科技有限公司 Methods for updating application version information
CN111831300B (en) * 2019-08-23 2025-02-11 北京骑胜科技有限公司 APP update method, device, electronic device and computer-readable storage medium
CN111831300A (en) * 2019-08-23 2020-10-27 北京骑胜科技有限公司 APP update method, apparatus, electronic device, and computer-readable storage medium
CN110543318A (en) * 2019-08-30 2019-12-06 珠海格力电器股份有限公司 control device program updating method and device, storage medium and control device
CN110750547A (en) * 2019-10-21 2020-02-04 中国民航信息网络股份有限公司 Data acquisition method and device
CN111240767A (en) * 2020-02-04 2020-06-05 北京字节跳动网络技术有限公司 Component and page loading method, apparatus, electronic device and storage medium
CN111478808B (en) * 2020-04-02 2021-05-25 清华大学 Method, system, electronic device and storage medium for assisting configuration update verification
CN111478808A (en) * 2020-04-02 2020-07-31 清华大学 Method, system, electronic device and storage medium for assisting configuration update verification
CN113778476A (en) * 2020-07-06 2021-12-10 北京沃东天骏信息技术有限公司 Method, device, equipment and computer readable medium for updating mobile application version
CN112000347B (en) * 2020-07-27 2022-08-30 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112000347A (en) * 2020-07-27 2020-11-27 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112291600A (en) * 2020-10-26 2021-01-29 海信电子科技(深圳)有限公司 Caching method and display device
CN112860797A (en) * 2021-02-10 2021-05-28 上海商汤智能科技有限公司 Database synchronization method and device, storage medium and equipment
WO2022170771A1 (en) * 2021-02-10 2022-08-18 上海商汤智能科技有限公司 Database synchronization method and apparatus, and storage medium and device
CN113238777A (en) * 2021-05-20 2021-08-10 网易(杭州)网络有限公司 Application program updating method, device, equipment and storage medium
CN113238777B (en) * 2021-05-20 2023-08-22 网易(杭州)网络有限公司 Application program updating method, device, equipment and storage medium
CN113467801A (en) * 2021-06-11 2021-10-01 浪潮电子信息产业股份有限公司 BMC firmware application updating method, BMC, system and storage medium
CN113467801B (en) * 2021-06-11 2024-02-23 浪潮电子信息产业股份有限公司 BMC firmware application updating method, BMC, system and storage medium
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN113377412B (en) * 2021-08-13 2022-01-11 武汉众智数字技术有限公司 A method and system for incremental update of client software
CN113377412A (en) * 2021-08-13 2021-09-10 武汉众智数字技术有限公司 Method and system for incremental updating of client software
CN113886406A (en) * 2021-09-15 2022-01-04 北京达佳互联信息技术有限公司 A file library update method, device, electronic device and storage medium
CN114327539A (en) * 2021-12-02 2022-04-12 海尔优家智能科技(北京)有限公司 Incidence relation establishing method and device, storage medium and electronic device
CN114938365A (en) * 2022-03-18 2022-08-23 青岛海尔科技有限公司 Method and device for updating functional module, storage medium and electronic device
CN114900424A (en) * 2022-05-27 2022-08-12 网易(杭州)网络有限公司 Data hot-repair method and device, electronic equipment and storage medium
CN118509322A (en) * 2023-02-15 2024-08-16 上海一谈网络科技有限公司 Data updating method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108111331B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN108111331A (en) Acquisition methods, device, storage medium, processor and the system of updated data package
CN108023896B (en) Block synchronization method and system
CN106484453B (en) Method and device for realizing system upgrading
US7509636B2 (en) System and method for updating files utilizing delta compression patching
AU2004279170B2 (en) System and method for managing and communicating software updates
CN106155742B (en) Component updates processing method and processing device
CN109582323A (en) Increment updating method, device, terminal and the server of application installation package
CN109522041A (en) Client resource update method, device, processor, server and terminal
CN109787774A (en) Upgrade and download method, device, server and terminal based on digital signature verification
AU2004279162A1 (en) System and method for a software distribution service
CN106779855A (en) Advertisement fill method and device
CN105739971B (en) Verify generation, application method and the device of file
CN109542851A (en) File update method, device and system
CN113608763A (en) Vehicle-mounted OTA upgrading method, device, equipment and operation machine
CN105327508B (en) Online game operating system and method
CN108566280A (en) A kind of FPGA hardware accelerates the remote upgrade method and system of program
CN106357694A (en) Method and device for processing access request
CN108647039A (en) A kind of processing method and processing device of data upgrading
CN107992318A (en) Application program updating method, apparatus, storage medium and processor
CN106934257A (en) A kind of program encryption methods and procedures encryption device
CN111064723B (en) Over-the-air upgrading method and system based on backup system
CN107426314B (en) Data downloading method and device
CN107957878A (en) A kind of embedded device on-line software updating method reallocated based on storage resource
CN107911218A (en) A kind of firmware signature device, system and method
CN109327437A (en) Concurrent websocket business information processing method and server-side

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
GR01 Patent grant
GR01 Patent grant