CN107992318A - Application program updating method, apparatus, storage medium and processor - Google Patents
Application program updating method, apparatus, storage medium and processor Download PDFInfo
- Publication number
- CN107992318A CN107992318A CN201711288180.8A CN201711288180A CN107992318A CN 107992318 A CN107992318 A CN 107992318A CN 201711288180 A CN201711288180 A CN 201711288180A CN 107992318 A CN107992318 A CN 107992318A
- Authority
- CN
- China
- Prior art keywords
- data packet
- downloaded
- upgrading
- application program
- upgrading data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of application program updating method, apparatus, storage medium and processor.This method includes:The update request message for coming from terminal is received, wherein, update request message is used to obtain upgrading data packet to be downloaded corresponding with application client or application program Service Component of terminal local installation that is storing in server-side;In response to update request message, determine that the application client of terminal local installation or application program Service Component meet upgrading trigger condition, wherein, upgrading trigger condition includes at least one of:The update time scope of upgrading data packet to be downloaded, the download time threshold value of upgrading data packet to be downloaded;Instruction terminal upgrades application client or application program Service Component using upgrading data packet to be downloaded.The present invention solves the flow complexity of the upgrading data packet issuing process with client associate employed in correlation technique and is very easy to the technical problem for significant error occur.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of application program updating method, apparatus, storage medium
And processor.
Background technology
The flow of the upgrading data packet issuing process with client associate employed in correlation technique is complicated, and very
Easily there is significant error.Such as:Issue condition, publication channel, issue quantity are customized, checks that contrast component bag relies on.If
It was found that client issuing process goes wrong, then user can be caused to download to the client of mistake, then can not be under normal use
The client being downloaded to.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
At least part embodiment of the present invention provides a kind of application program updating method, apparatus, storage medium and processor,
It is complicated and very at least to solve the flow of the upgrading data packet issuing process with client associate employed in correlation technique
Easily there is the technical problem of significant error.
A wherein embodiment according to the present invention, there is provided a kind of application program updating method, including:
The update request message for coming from terminal is received, wherein, update request message is used to obtain what is stored in server-side
Upgrading data packet to be downloaded corresponding with the application client or application program Service Component of terminal local installation;Response
In update request message, determine that the application client of terminal local installation or application program Service Component meet that upgrading is touched
Clockwork spring part, wherein, upgrading trigger condition includes at least one of:The update time scope of upgrading data packet to be downloaded, treat down
Carry the download time threshold value of upgrading data packet;Instruction terminal to application client or is answered using upgrading data packet to be downloaded
Upgraded with program traffic component.
Optionally it is determined that the application client or application program Service Component of terminal local installation meet that upgrading is touched
Clockwork spring part includes one below:When upgrading update time scope of the trigger condition including upgrading data packet to be downloaded, definite pair
The time point that the application client or application program Service Component of terminal local installation are upgraded is located at update time
In the range of;When upgrading download time threshold value of the trigger condition including upgrading data packet to be downloaded, upgrading data to be downloaded are determined
The download time of bag is less than download time threshold value;When upgrading trigger condition includes the update time model of upgrading data packet to be downloaded
When enclosing the download time threshold value with upgrading data packet to be downloaded, determine to terminal local installation application client or should
The time point upgraded with program traffic component is located in the range of update time and the download of upgrading data packet to be downloaded
Number is less than download time threshold value.
Alternatively, instruction terminal uses upgrading data packet to be downloaded to application client or application program service groups
Part, which carries out upgrading, to be included:By relatively determining that first version number is less than the second edition number, wherein, first version number is terminal local
The application client of installation or the current version number of application program Service Component, the second edition number are alternative upgrading data
The latest edition number of bag;Determine that alternative upgrading data packet is upgrading data packet to be downloaded according to default filter condition, wherein, preset
Filter condition includes at least one of:Application client downloads channel, the system version of terminal, the brand of terminal;
The current data packet of upgrading data packet to be downloaded and application client or application program Service Component is carried out at difference
Reason, obtains differential data bag;The download address of differential data bag is sent to terminal.
Alternatively, before instruction terminal upgrades application program traffic component using upgrading data packet to be downloaded,
Further include:Acquisition and the associated Dependency Specification of application program Service Component, wherein, Dependency Specification includes at least one of:Should
With the current version number of programmatic client, the current version number of associated component, terminal system version number;It is true according to Dependency Specification
Determine application program Service Component to check by relying on.
Alternatively, upgrading data packet to be downloaded is used to application client or application program business in instruction terminal
After component is upgraded, further include:Determine application client or application program Service Component occur after upgrading it is different
Often, stop issuing upgrading data packet to be downloaded;Rolling back action is performed to upgrading data packet to be downloaded or to upgrading to be downloaded
The mistake of data packet issues new edition upgrading data packet after modifying.
A wherein embodiment according to the present invention, additionally provides a kind of application program updating device, including:
Receiving module, the update request message of terminal is come from for receiving, wherein, update request message, which is used to obtain, to be taken
Liter to be downloaded corresponding with application client or application program Service Component of terminal local installation that is being stored on business end
Level data bag;First determining module, in response to update request message, determining the application client that terminal local is installed
Or application program Service Component meets upgrading trigger condition, wherein, upgrading trigger condition includes at least one of:It is to be downloaded
The update time scope of upgrading data packet, the download time threshold value of upgrading data packet to be downloaded;Upgraded module, for instruction terminal
Application client or application program Service Component are upgraded using upgrading data packet to be downloaded.
Alternatively, the first determining module, for determining the application client or application program of terminal local installation
Service Component meets that upgrading trigger condition includes one below:When upgrading trigger condition includes the upgrading of upgrading data packet to be downloaded
During time range, determine to terminal local installation application client or application program Service Component upgraded when
Between point in the range of the update time;When upgrading download time threshold value of the trigger condition including upgrading data packet to be downloaded, really
The download time of fixed upgrading data packet to be downloaded is less than download time threshold value;When upgrading trigger condition includes ascending series to be downloaded
According to bag update time scope and upgrading data packet to be downloaded download time threshold value when, determine to terminal local installation application
The time point that programmatic client or application program Service Component are upgraded is located in the range of update time and liter to be downloaded
The download time of level data bag is less than download time threshold value.
Alternatively, upgraded module includes:First determination unit, for by relatively determining that first version number is less than the second edition
This number, wherein, first version number for terminal local installation application client or application program Service Component it is current
Version number, the second edition number are the latest edition number of alternative upgrading data packet;Second determination unit, for according to default filtering rod
Part determines that alternative upgrading data packet is upgrading data packet to be downloaded, wherein, default filter condition includes at least one of:Using
Programmatic client downloads channel, the system version of terminal, the brand of terminal;Processing unit, for ascending series evidence to be downloaded
Bag carries out difference processing with the current data packet of application client or application program Service Component, obtains differential data
Bag;Feedback unit, for sending the download address of differential data bag to terminal.
Alternatively, above device further includes:Acquisition module, believes for obtaining with associated rely on of application program Service Component
Breath, wherein, Dependency Specification includes at least one of:The current version number of application client, the current version of associated component
This number, the system version number of terminal;Module is checked, for determining that application program Service Component is examined by relying on according to Dependency Specification
Look into.
Alternatively, above device further includes:Second determining module, for determining application client or application program
There is abnormal, stopping issue upgrading data packet to be downloaded after upgrading in Service Component;Processing module, for ascending series to be downloaded
Rolling back action is performed according to bag or new edition upgrading data packet is issued after modifying to the mistake of upgrading data packet to be downloaded.
A wherein embodiment according to the present invention, additionally provides a kind of storage medium, and storage medium includes the program of storage, its
In, equipment performs above application programme upgrade method where controlling storage medium when program is run.
A wherein embodiment according to the present invention, additionally provides a kind of processor, and processor is used for operation program, wherein, journey
Above application programme upgrade method is performed during sort run.
In at least part embodiment of the present invention, the update request message of terminal, the upgrade request are come from using reception
Message is used to obtain the application client or application program Service Component with terminal local installation stored in server-side
Corresponding upgrading data packet to be downloaded and in response to update request message, determines the application client of terminal local installation
Or application program Service Component meets upgrading trigger condition, which includes at least one of:Liter to be downloaded
The mode of the update time scope of level data bag, the download time threshold value of upgrading data packet to be downloaded, is used by instruction terminal
Upgrading data packet to be downloaded upgrades application client or application program Service Component, has reached simplified ascending series
According to bag issue flow, the purpose for the coverage for reducing upgrading data packet issue failure, it is achieved thereby that effectively simplifying upgrading
The issue flow of data packet, reasonably control upgrading data packet to issue the technique effect of the coverage to fail, and then solves
The flow of the upgrading data packet issuing process with client associate employed in correlation technique is complicated and is very easy to weigh
The technical problem slipped up greatly.
Brief 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 is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the application program updating method of a wherein embodiment according to the present invention;
Fig. 2 is the flow chart of administrative staff's release upgrade process data packet of a wherein preferred embodiment according to the present invention;
Fig. 3 is the flow chart of the client escalation process of a wherein preferred embodiment according to the present invention;
Fig. 4 is the structure diagram of the application program updating device of a wherein embodiment according to the present invention;
Fig. 5 is the structure diagram of the application program updating device of a wherein preferred embodiment according to the present invention.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, 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
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
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, there is provided a kind of embodiment of application program updating method, it is necessary to explanation
It is that step shown in the flowchart of the accompanying drawings can perform in the computer system of such as a group of computer-executable instructions,
Also, although logical order is shown in flow charts, in some cases, can be with different from order execution herein
Shown or described step.
Fig. 1 is the flow chart of the application program updating method of a wherein embodiment according to the present invention, as shown in Figure 1, the party
Method includes the following steps:
Step S12, receives the update request message for coming from terminal, wherein, update request message is used to obtain server-side
The ascending series to be downloaded corresponding with the application client or application program Service Component of terminal local installation of upper storage
According to bag;
Step S14, in response to update request message, determines the application client of terminal local installation or using journey
Sequence Service Component meets upgrading trigger condition, wherein, upgrading trigger condition includes at least one of:Upgrading data packet to be downloaded
Update time scope, the download time threshold value of upgrading data packet to be downloaded;
Step S16, instruction terminal is using upgrading data packet to be downloaded to application client or application program business
Component is upgraded.
By above-mentioned steps, the update request message for receiving and coming from terminal can be used, which is used for
Obtain being stored in server-side with terminal local installation application client or application program Service Component is corresponding treats
Download upgrading data packet and in response to update request message, determine application client or the application of terminal local installation
Program traffic component meets upgrading trigger condition, which includes at least one of:Upgrading data packet to be downloaded
Update time scope, the mode of the download time threshold value of upgrading data packet to be downloaded, liter to be downloaded is used by instruction terminal
Level data bag upgrades application client or application program Service Component, has reached simplified upgrading data packet issue
Flow, the purpose for reducing the coverage that upgrading data packet issue fails, it is achieved thereby that effectively simplifying upgrading data packet
Flow, the technique effect for the coverage for reasonably controlling upgrading data packet to issue failure are issued, and then solves correlation technique
Employed in the upgrading data packet issuing process with client associate flow it is complicated and be very easy to significant error occur
Technical problem.
In at least part embodiment of the present invention, there is provided a kind of Android client release upgrade system, it supports Android
The independent release upgrade of each service line component in the overall upgrading of client and client.The client hereinafter mentioned is such as
No specified otherwise typically refers to Android client.When client is issued, administrative staff can log in platform, select issue condition
(such as:Applicable cell phone system version, mobile phone brand) carry out the issue of client.
Alternatively, in step S14, the application client or application program service groups of terminal local installation are determined
Part meets that upgrading trigger condition can include one of in the following manner:
Mode one, when upgrading the update time scope of trigger condition including upgrading data packet to be downloaded, determine to terminal
The time point that locally-installed application client or application program Service Component is upgraded is located at update time scope
It is interior;
Mode two, when upgrading the download time threshold value of trigger condition including upgrading data packet to be downloaded, determine to be downloaded
The download time of upgrading data packet is less than download time threshold value;
Mode three, the update time scope when upgrading trigger condition including upgrading data packet to be downloaded and ascending series to be downloaded
According to bag download time threshold value when, determine to terminal local installation application client or application program Service Component into
The time point of row upgrading is located in the range of update time and the download time of upgrading data packet to be downloaded is less than download time
Threshold value.
Above-mentioned upgrade-system includes:Front end page and back end interface.Front end page, which is mainly used for user, fills in and releases news,
Such as:The client-side information that publication channel, released version number, the check information of issue bag and component bag rely on.Filled out in user
Write after finishing, these information can be stored into back-end data base, the issue data as upgrade-system.Not issue condition it
Interior client can not use the upgrading data packet.At the same time it can also be issued according to exclusion dimension, such as:The liter currently issued
The inapplicable mobile phone marketing channel of level bag, mobile phone brand, cell phone system, the client within issue condition can not use the ascending series
According to bag.
Administrative staff can set gray scale to issue on the system page, can be from the two dimension controls of time and upgrading quantity
Ash measurement, to control scope of release.When client sends upgrade request to upgrade-system, upgrade-system can record newest in real time
The number of downloads of issue client terminal, to realize quantity gray-scale Control.When number of downloads reaches download time threshold value, stop to visitor
Family end returns to upgrade information.In addition, the timing since administrative staff click on issue just, if issuing time exceeds the defined time
Scope, can also stop returning to upgrade information to client.When there are two factor of judgment of number of downloads and issuing time at the same time,
Judge whether number of downloads reach download time threshold value and issuing time beyond the two judgements of defined time range
Which Rule of judgment first met in condition.When one of condition first meets, then need not be further continued for judging another judgement
Whether condition meets, can terminate release upgrade data packet.
Alternatively, in step s 16, instruction terminal to application client or is answered using upgrading data packet to be downloaded
Step performed below can be included by carrying out upgrading with program traffic component:
Step S161, by relatively determining that first version number is less than the second edition number, wherein, first version number is terminal sheet
The application client of ground installation or the current version number of application program Service Component, the second edition number is alternative ascending series
According to the latest edition number of bag;
Step S162, determines that alternative upgrading data packet is upgrading data packet to be downloaded according to default filter condition, wherein, in advance
If filter condition includes at least one of:Application client downloads channel, the system version of terminal, the product of terminal
Board;
Step S163, to the current of upgrading data packet to be downloaded and application client or application program Service Component
Data packet carries out difference processing, obtains differential data bag;
Step S164, the download address of differential data bag is sent to terminal.
For terminal user during updating client, upgrade-system can select suitable client according to default filter condition
Upgrading is downloaded for terminal user in end.Meanwhile the upgrade-system also provides the function and service line group that difference saves flow upgrading
The function that part individually upgrades.
When client sends upgrade request to upgrade-system, if client current version number is less than released version number,
Suitable client downloads then can be obtained according to the channel information and system information of client to install.Meanwhile upgrade-system can also
Client current version data bag is obtained with after upgraded version data packet, performing Difference Calculation, and then obtain differential data bag.
If calculated successfully, the download address of differential data bag can be returned to client, user only needs to download according to download address
Differential data bag, can perform the client updating operation for saving flow.If the version number of client has been latest edition
This, then will not return to upgrade information.
Alternatively, in step S16, instruction terminal is using upgrading data packet to be downloaded to being risen using program traffic component
Before level, step performed below can also be included:
Step S10, obtain with the associated Dependency Specification of application program Service Component, wherein, Dependency Specification include with down toward
It is one of few:The current version number of application client, the current version number of associated component, the system version number of terminal;
Step S11, determines that application program Service Component is checked by relying on according to Dependency Specification.
When the component bag of service line is individually issued, other component versions and client release may be relied on.These
Information can all be packaged in advance issue component bag in, back-end system can download component bag simultaneously parse these information, then carry out according to
Rely and check, inspection, which can unsuccessfully return, unsuccessfully prompts and terminate issue flow.
Alternatively, in step S16, instruction terminal is using upgrading data packet to be downloaded to application client or application
After program traffic component is upgraded, step performed below can also be included:
Step S17, it is abnormal to determine that application client or application program Service Component occur after upgrading, stops hair
Cloth upgrading data packet to be downloaded;
Step S18, performs upgrading data packet to be downloaded rolling back action or in the mistake to upgrading data packet to be downloaded
New edition upgrading data packet is issued after modifying.
Administrative staff can fill in the issue condition of customization in the page of upgrade-system, can complete issue work, real
Existing mode is flexibly and conveniently.Once it was found that making a fault in issuing process, issue can be stopped in time in system, will be lost
The coverage lost is preferably minimized.In addition, all issue records can be browsed on the page of upgrade-system.Issuing
After failure, an issue record can be selected to perform rolling back action, while can also easily check hair according to issue record
The related personnel of cloth failure, carries out responsibility positioning.Therefore, when upgrading data packet issues failure, can stop issuing immediately, and
Rolling back action is carried out by history issue record, controls coverage.
The above-mentioned process that is preferable to carry out is made in further detail below in conjunction with the preferred embodiment shown in Fig. 2 and Fig. 3
Explanation.
Fig. 2 is the flow chart of administrative staff's release upgrade process data packet of a wherein preferred embodiment according to the present invention,
As shown in Fig. 2, the process can include following processing step:
Step S202, administrative staff log on to the front end page of upgrade-system after by authority verification.
Step S204, administrative staff fill in issue condition, such as:Mobile phone marketing channel, cell phone system version, mobile phone brand.
Step S206, administrative staff fill in gray scale issuing time and/or issue quantity, then start to perform gray scale issue behaviour
Make.If not finding mistake in gray scale issuing process, full dose issue can be carried out to upgrading data packet.
Step S208, if finding mistake in gray scale issuing process, stops gray scale issue immediately.For the mistake of appearance
By mistake, can select to issue again after rollback or modification.The information of issue can store in the database, be checked for historical record
Used with rollback.
Fig. 3 is the flow chart of the client escalation process of a wherein preferred embodiment according to the present invention, as shown in figure 3, should
Process can include following processing step:
Step S302, client call check upgrade interface, if upgrade interface because mistake or gray scale issue terminate and
Close, then server-side will not return upgrade information (such as:The download address of difference upgrading data packet).
Step S304, upgrade-system are contrasted client release number and the upgrading data packet version number of newest issue,
If client release number is identical with newest released version number, it is determined that need not be to client executing updating operation.It is if objective
Hu Duan version numbers are less than newest released version number, it is determined that need to client executing updating operation.
Step S306, upgrade-system obtain the information such as the download channel, cell phone system version, mobile phone brand of client, root
Available upgrading data packet is selected to be upgraded according to default filter condition.
Step S308, if upgrade-system returns to available upgrade package and is in gray scale issued state, issues quantity
It is incremented by once.
A wherein embodiment according to the present invention, there is provided a kind of embodiment of application program updating device, the device are applicable in
In server-side.Fig. 4 is the structure diagram of the application program updating device of a wherein embodiment according to the present invention, as shown in figure 4, should
Included with program upgrade apparatus:Receiving module 10, the update request message of terminal is come from for receiving, wherein, upgrade request
Message is used to obtain the application client or application program Service Component with terminal local installation stored in server-side
Corresponding upgrading data packet to be downloaded;First determining module 20, in response to update request message, determining that terminal local is installed
Application client or application program Service Component meet upgrading trigger condition, wherein, upgrading trigger condition include with
It is at least one lower:The update time scope of upgrading data packet to be downloaded, the download time threshold value of upgrading data packet to be downloaded;Upgrading
Module 30, for instruction terminal using upgrading data packet to be downloaded to application client or application program Service Component into
Row upgrading.
Alternatively, the first determining module 20, for determining the application client of terminal local installation or using journey
Sequence Service Component meets that upgrading trigger condition includes one below:When upgrading trigger condition includes the liter of upgrading data packet to be downloaded
During level time range, determine what the application client or application program Service Component of terminal local installation were upgraded
Time point is located in the range of update time;When upgrading download time threshold value of the trigger condition including upgrading data packet to be downloaded,
Determine that the download time of upgrading data packet to be downloaded is less than download time threshold value;When upgrading trigger condition includes upgrading to be downloaded
During the download time threshold value of the update time scope of data packet and upgrading data packet to be downloaded, determine to answer terminal local installation
The time point upgraded with programmatic client or application program Service Component is located in the range of update time and to be downloaded
The download time of upgrading data packet is less than download time threshold value.
Alternatively, upgraded module 30 includes:First determination unit (not shown), for by relatively determining the first edition
This number is less than the second edition number, wherein, the application client or application program that first version number is installed for terminal local
The current version number of Service Component, the second edition number are the latest edition number of alternative upgrading data packet;Second determination unit is (in figure
It is not shown), for determining that alternative upgrading data packet is upgrading data packet to be downloaded according to default filter condition, wherein, preset
Filter condition includes at least one of:Application client downloads channel, the system version of terminal, the brand of terminal;Place
Unit (not shown) is managed, for upgrading data packet to be downloaded and application client or application program Service Component
Current data packet carry out difference processing, obtain differential data bag;Feedback unit (not shown), it is poor for being sent to terminal
The download address of divided data bag.
Alternatively, Fig. 5 is the structure diagram of the application program updating device of a wherein preferred embodiment according to the present invention, such as
Shown in Fig. 5, above device further includes:Acquisition module 40, for obtain with the associated Dependency Specification of application program Service Component, its
In, Dependency Specification includes at least one of:The current version number of application client, the current version number of associated component,
The system version number of terminal;Module 50 is checked, for determining that application program Service Component is checked by relying on according to Dependency Specification.
Alternatively, as shown in figure 5, above device further includes:Second determining module 60, for determining application client
Or there is abnormal, stopping issue upgrading data packet to be downloaded after upgrading in application program Service Component;Processing module 70, is used for
Rolling back action is performed to upgrading data packet to be downloaded or is issued after modifying to the mistake of upgrading data packet to be downloaded new
Version upgrading data packet.
A wherein embodiment according to the present invention, additionally provides a kind of storage medium, and storage medium includes the program of storage, its
In, equipment performs above application programme upgrade method where controlling storage medium when program is run.Above-mentioned storage medium can be with
Including but not limited to:USB flash disk, read-only storage (ROM), random access memory (RAM), mobile hard disk, magnetic disc or CD etc.
It is various can be with the medium of store program codes.
A wherein embodiment according to the present invention, additionally provides a kind of processor, and processor is used for operation program, wherein, journey
Above application programme upgrade method is performed during sort run.Above-mentioned processor can include but is not limited to:Microprocessor (MCU) can
The processing unit of programmed 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, the description to each embodiment all emphasizes particularly on different fields, and does 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, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode when actually realizing, 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
Connect, 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 with positioned 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, can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, 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 used as 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
Embody, which is stored in a storage medium, including some instructions are used 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 (12)
- A kind of 1. application program updating method, it is characterised in that including:The update request message for coming from terminal is received, wherein, the update request message is used to obtain what is stored in server-side Upgrading data packet to be downloaded corresponding with the application client or application program Service Component of terminal local installation;In response to the update request message, the application client or application program industry of the terminal local installation are determined Component satisfaction of being engaged in upgrades trigger condition, wherein, the upgrading trigger condition includes at least one of:The ascending series to be downloaded According to the update time scope of bag, the download time threshold value of the upgrading data packet to be downloaded;Indicate the terminal using the upgrading data packet to be downloaded to the application client or application program business Component is upgraded.
- 2. according to the method described in claim 1, it is characterized in that, determine the application client of the terminal local installation Or application program Service Component meets that upgrading trigger condition includes one below:When the upgrading trigger condition includes the update time scope of the upgrading data packet to be downloaded, determine to the terminal The time point that locally-installed application client or application program Service Component is upgraded is located at the update time In the range of;When the upgrading trigger condition includes the download time threshold value of the upgrading data packet to be downloaded, determine described to be downloaded The download time of upgrading data packet is less than the download time threshold value;When the upgrading trigger condition includes the update time scope of the upgrading data packet to be downloaded and the upgrading to be downloaded During the download time threshold value of data packet, application client or application program business to terminal local installation are determined The time point that component is upgraded is located in the range of the update time and the download of the upgrading data packet to be downloaded time Number is less than the download time threshold value.
- 3. according to the method described in claim 1, it is characterized in that, indicate that the terminal uses the upgrading data packet to be downloaded Carrying out upgrading to the application client or application program Service Component includes:By relatively determining that first version number is less than the second edition number, wherein, the first version number is pacified for the terminal local The application client of dress or the current version number of application program Service Component, the second edition number are alternative ascending series According to the latest edition number of bag;Determine that the alternative upgrading data packet is the upgrading data packet to be downloaded according to default filter condition, wherein, it is described pre- If filter condition includes at least one of:The application client downloads channel, the system version of the terminal, institute State the brand of terminal;To the current data of the upgrading data packet to be downloaded and the application client or application program Service Component Bag carries out difference processing, obtains differential data bag;The download address of the differential data bag is sent to the terminal.
- 4. according to the method described in claim 1, it is characterized in that, use the upgrading data to be downloaded in the instruction terminal Before bag upgrades the application program Service Component, further include:Obtain with the associated Dependency Specification of application program Service Component, wherein, the Dependency Specification include it is following at least it One:The current version number of the application client, the current version number of associated component, the system version number of the terminal;Determine that the application program Service Component is checked by relying on according to the Dependency Specification.
- 5. according to the method described in claim 1, it is characterized in that, use the upgrading data to be downloaded in the instruction terminal After bag upgrades the application client or application program Service Component, further include:It is abnormal to determine that the application client or application program Service Component occur after upgrading, stops treating described in issue Download upgrading data packet;Rolling back action is performed to the upgrading data packet to be downloaded or is carried out in the mistake to the upgrading data packet to be downloaded New edition upgrading data packet is issued after modification.
- A kind of 6. application program updating device, it is characterised in that including:Receiving module, the update request message of terminal is come from for receiving, wherein, the update request message, which is used to obtain, to be taken It is being stored on business end with terminal local installation application client or application program Service Component is corresponding treats down Carry upgrading data packet;First determining module, in response to the update request message, determining that the application program of the terminal local installation is objective Family end or application program Service Component meet upgrading trigger condition, wherein, the upgrading trigger condition include it is following at least it One:The download time threshold value of the update time scope of the upgrading data packet to be downloaded, the upgrading data packet to be downloaded;Upgraded module, for indicate the terminal using the upgrading data packet to be downloaded to the application client or Application program Service Component is upgraded.
- 7. device according to claim 6, it is characterised in that the first determining module, for determining the terminal local peace The application client or application program Service Component of dress meet that upgrading trigger condition includes one below:When the upgrading trigger condition includes the update time scope of the upgrading data packet to be downloaded, determine to the terminal The time point that locally-installed application client or application program Service Component is upgraded is located at the update time In the range of;When the upgrading trigger condition includes the download time threshold value of the upgrading data packet to be downloaded, determine described to be downloaded The download time of upgrading data packet is less than the download time threshold value;When the upgrading trigger condition includes the update time scope of the upgrading data packet to be downloaded and the upgrading to be downloaded During the download time threshold value of data packet, application client or application program business to terminal local installation are determined The time point that component is upgraded is located in the range of the update time and the download of the upgrading data packet to be downloaded time Number is less than the download time threshold value.
- 8. device according to claim 6, it is characterised in that the upgraded module includes:First determination unit, for being less than the second edition number by relatively more definite first version number, wherein, the first version number For the application client of terminal local installation or the current version number of application program Service Component, the second edition This number latest edition number for alternative upgrading data packet;Second determination unit, for determining that the alternative upgrading data packet is the ascending series to be downloaded according to default filter condition According to bag, wherein, the default filter condition includes at least one of:It is the download channel of the application client, described The brand of the system version of terminal, the terminal;Processing unit, for the upgrading data packet to be downloaded and the application client or application program service groups The current data packet of part carries out difference processing, obtains differential data bag;Feedback unit, for sending the download address of the differential data bag to the terminal.
- 9. device according to claim 6, it is characterised in that described device further includes:Acquisition module, for acquisition and the associated Dependency Specification of application program Service Component, wherein, the Dependency Specification bag Include at least one of:The current version number of the application client, the current version number of associated component, the terminal System version number;Module is checked, for determining that the application program Service Component is checked by relying on according to the Dependency Specification.
- 10. device according to claim 6, it is characterised in that described device further includes:Second determining module, for determine the application client or application program Service Component occur after upgrading it is different Often, stop issuing the upgrading data packet to be downloaded;Processing module, for performing rolling back action or to the upgrading data to be downloaded to the upgrading data packet to be downloaded The mistake of bag issues new edition upgrading data packet after modifying.
- A kind of 11. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, run in described program When control the storage medium where application program updating method in equipment perform claim requirement 1 to 5 described in any one.
- A kind of 12. processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the application program updating method described in any one in 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711288180.8A CN107992318A (en) | 2017-12-07 | 2017-12-07 | Application program updating method, apparatus, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711288180.8A CN107992318A (en) | 2017-12-07 | 2017-12-07 | Application program updating method, apparatus, storage medium and processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107992318A true CN107992318A (en) | 2018-05-04 |
Family
ID=62036443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711288180.8A Pending CN107992318A (en) | 2017-12-07 | 2017-12-07 | Application program updating method, apparatus, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107992318A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111225371A (en) * | 2019-12-27 | 2020-06-02 | 上海商米科技集团股份有限公司 | Method and device for controlling upgrading of intelligent business terminal system |
CN112035155A (en) * | 2020-09-01 | 2020-12-04 | 平安付科技服务有限公司 | Version update management method and device, computer equipment and readable storage medium |
CN112579114A (en) * | 2019-09-27 | 2021-03-30 | 阿里巴巴集团控股有限公司 | Program upgrading method and device for Internet of things equipment and Internet of things equipment |
CN112783540A (en) * | 2020-12-31 | 2021-05-11 | 北京百度网讯科技有限公司 | Method and device for updating service data in application program, electronic equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104966206A (en) * | 2015-05-12 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Method, device, and system for performing gray release on mobile application |
CN105183496A (en) * | 2015-07-21 | 2015-12-23 | 浪潮软件集团有限公司 | Method for automatically upgrading and pushing software based on domestic CPU and operating system |
CN105656859A (en) * | 2014-11-18 | 2016-06-08 | 航天信息股份有限公司 | Secure online upgrade method and system for tax control equipment software |
CN106155742A (en) * | 2016-06-30 | 2016-11-23 | 百度在线网络技术(北京)有限公司 | Assembly updates processing method and processing device |
CN106445621A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Upgrading method and device of application and electronic device |
CN107329738A (en) * | 2017-05-25 | 2017-11-07 | 广州华多网络科技有限公司 | Component update method and device |
-
2017
- 2017-12-07 CN CN201711288180.8A patent/CN107992318A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656859A (en) * | 2014-11-18 | 2016-06-08 | 航天信息股份有限公司 | Secure online upgrade method and system for tax control equipment software |
CN104966206A (en) * | 2015-05-12 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Method, device, and system for performing gray release on mobile application |
CN105183496A (en) * | 2015-07-21 | 2015-12-23 | 浪潮软件集团有限公司 | Method for automatically upgrading and pushing software based on domestic CPU and operating system |
CN106155742A (en) * | 2016-06-30 | 2016-11-23 | 百度在线网络技术(北京)有限公司 | Assembly updates processing method and processing device |
CN106445621A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Upgrading method and device of application and electronic device |
CN107329738A (en) * | 2017-05-25 | 2017-11-07 | 广州华多网络科技有限公司 | Component update method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579114A (en) * | 2019-09-27 | 2021-03-30 | 阿里巴巴集团控股有限公司 | Program upgrading method and device for Internet of things equipment and Internet of things equipment |
CN111225371A (en) * | 2019-12-27 | 2020-06-02 | 上海商米科技集团股份有限公司 | Method and device for controlling upgrading of intelligent business terminal system |
CN112035155A (en) * | 2020-09-01 | 2020-12-04 | 平安付科技服务有限公司 | Version update management method and device, computer equipment and readable storage medium |
CN112783540A (en) * | 2020-12-31 | 2021-05-11 | 北京百度网讯科技有限公司 | Method and device for updating service data in application program, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992318A (en) | Application program updating method, apparatus, storage medium and processor | |
CN109726099B (en) | Application gray level publishing method, device and equipment | |
CN110245049B (en) | Monitoring method, device, equipment and storage medium for product configuration data | |
CN109815111A (en) | Gray scale test method, device, computer equipment and storage medium | |
CN109165170B (en) | Method and system for automatic request test | |
CN107943502A (en) | A kind of upgrade method based on the detection of fine granularity system mode under linux system | |
CN108228810A (en) | List linkage configuration method and system and list update method and system | |
CN108418787A (en) | Acquisition method, terminal device and the medium of Enterprise Resources Plan data | |
CN111988422A (en) | Subscription method, device, server and storage medium of application service | |
CN109214908A (en) | A kind of monitoring method and relevant apparatus | |
CN109117172A (en) | A kind of method and device of the terminal versions number identification of target terminal | |
CN108111330A (en) | The acquisition of updated data package, the update method of application component and device | |
CN108268272A (en) | Patch update method and device based on WSUS | |
CN107832069A (en) | The update method of application program | |
CN108763051A (en) | Electronic device, transaction software operation risk method for early warning and storage medium | |
CN114328132A (en) | Method, device, equipment and medium for monitoring state of external data source | |
CN108092777A (en) | The monitoring and managing method and device of digital certificate | |
CN107656860A (en) | Performance test methods, apparatus and system | |
CN107844994A (en) | A kind of merchandise information processing method and device | |
US20210097551A1 (en) | Customer Service Ticket Prioritization Using Multiple Time-Based Machine Learning Models | |
CN110750299A (en) | Intelligent software quality tracking system, method and storage medium | |
CN106681760A (en) | Transaction processing method and device based on client engineering project management system | |
CN109918287A (en) | APP upgrading test method, apparatus, computer equipment and storage medium | |
CN107590064A (en) | A kind of application upgrade method of testing, device and system | |
CN111815267A (en) | Foreign language learning and reviewing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180504 |
|
RJ01 | Rejection of invention patent application after publication |