CN107390966A - Update application upgrade prompt message method and device - Google Patents
Update application upgrade prompt message method and device Download PDFInfo
- Publication number
- CN107390966A CN107390966A CN201610330015.3A CN201610330015A CN107390966A CN 107390966 A CN107390966 A CN 107390966A CN 201610330015 A CN201610330015 A CN 201610330015A CN 107390966 A CN107390966 A CN 107390966A
- Authority
- CN
- China
- Prior art keywords
- character string
- upgrade
- application
- preset
- upgrade tip
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses one kind to update application upgrade prompt message method and device, is related to Internet technical field, solves the problems, such as that existing application upgrade prompt message renewal efficiency is low.The present invention main technical schemes be:More recent application version information is obtained, the more recent application version information includes version number and preset upgrade tip character string corresponding with the version number;Detect that the version number is higher than locally applied current version number, then locally applied upgrade tip information is updated according to the preset upgrade tip character string.Present invention is mainly used for renewal application upgrade prompt message.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of renewal application upgrade prompt message side
Method and device.
Background technology
With mobile Internet develop rapidly and the continuous improvement of mobile terminal intellectualized technology, sea
The application program of amount is downloaded and installed by mobile terminal, is greatly enriched the movable living of people.For
Meets the needs of people are increasingly lifted, developer can be aperiodically generally the application of its exploitation
Program increases new function logic, to make improvement or optimization to application program.Wherein, application is worked as
When there is more redaction, client can show application upgrade prompt message.In order to meet user not
Same demand, application upgrade prompt message can be enriched by the renewal to application upgrade tip information
Pattern.
At present, when carrying out the renewal of application upgrade prompt message, application upgrade prompt message is generally all
Realized by client and need to issue the application of redaction.Such as require carrying for each application version upgrading
If showing dialog box and can showing different interface elements, then client must be adjusted and
The application of issue redaction is needed, and can so increase many exploitations and test job amount.Therefore it is existing
Application upgrade prompt message update complexity it is higher, renewal it is less efficient.
The content of the invention
In view of the above problems, it is proposed that the present invention, overcome above mentioned problem or at least to provide one kind
The renewal application upgrade prompt message method and device partly to solve the above problems.
To reach above-mentioned purpose, present invention generally provides following technical scheme:
On the one hand, the embodiments of the invention provide one kind to update application upgrade prompt message method, the party
Method includes:
Obtain more recent application version information, the more recent application version information include version number and with institute
State preset upgrade tip character string corresponding to version number;
Detect that the version number is higher than locally applied current version number, then carried according to the preset upgrading
Show that character string updates locally applied upgrade tip information.
On the other hand, the embodiment of the present invention also provides a kind of renewal application upgrade prompt message device, should
Device includes:
Acquiring unit, for obtaining more recent application version information, wrapped in the more recent application version information
Include version number and preset upgrade tip character string corresponding with the version number;
Updating block, for detecting that the version number is higher than locally applied current version number, then basis
The preset upgrade tip character string updates locally applied upgrade tip information.
By above-mentioned technical proposal, technical scheme provided in an embodiment of the present invention at least has following advantages:
A kind of renewal application upgrade prompt message method and device provided in an embodiment of the present invention, is obtained first
Take more recent application version information, the more recent application version information include version number and with the version
Preset upgrade tip character string corresponding to number, detect that the version number is higher than locally applied current version
Number, then locally applied upgrade tip information is updated according to the preset upgrade tip character string.With mesh
The preceding application by issuing redaction realizes that renewal application upgrade prompt message is compared, the embodiment of the present invention
When the version number in the more recent application version information got is higher than locally applied current version, lead to
The preset upgrade tip character string crossed in more recent application version information realizes that updating locally applied upgrading carries
Show information, issued because preset upgrade tip character string is controlled by server end, and it is locally applied
Upgrade tip information obtained according to preset upgrade tip character string, therefore client can be not
Application upgrade prompt message is updated on the premise of updating current application version, so as to implement by the present invention
Example can flexibly change application upgrade prompt message, and then improve renewal application upgrade prompt message
Efficiency.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit for
Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol
Number represent identical part.In the accompanying drawings:
Fig. 1 is the application for the renewal application upgrade prompt message method and device that the embodiment of the present application provides
Environment schematic;
Fig. 2 shows the structured flowchart for the user terminal that the embodiment of the present application provides;
Fig. 3 is a kind of renewal application upgrade prompt message method flow diagram provided in an embodiment of the present invention;
Fig. 4 is another renewal application upgrade prompt message method flow diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of composition frame for updating application upgrade prompt message device provided in an embodiment of the present invention
Figure;
Fig. 6 is another composition for updating application upgrade prompt message device provided in an embodiment of the present invention
Block diagram;
Fig. 7 is the interface schematic diagram of renewal application upgrade prompt message provided in an embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although show in accompanying drawing
The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure
Without should be limited by embodiments set forth here.Conversely, there is provided these embodiments are to be able to more
Thoroughly understand the disclosure, and the scope of the present disclosure can be completely communicated to the technology of this area
Personnel.
The following each embodiments of the application can be applied in environment as shown in Figure 1.As shown in figure 1,
Communication link is carried out by network 300 and one or more user terminals 200 using background server 100
Connect, to enter row data communication or interaction.In the embodiment of the present application, it is provided with user terminal 200
Client, the client can be third-party application software (such as mobile phone Taobao, Alipays), with answering
It is corresponding with background server 100, so as to provide the user service (such as renewal application upgrade prompting
Information).It is described application background server 100 can be database server, instant communication server,
The multiple servers or a clothes with difference in functionality such as the webserver, authentication server
Business device.The user terminal 200 can be PC (personal computer, PC), flat board
It is computer, smart mobile phone, personal digital assistant (personal digital assistant, PDA), on knee
Pocket computer, vehicle-mounted computer etc..The network 300 can be wireless network or cable network, example
Such as wireless network may be, but not limited to, Wi-Fi (Wireless Fidelity) network, 2G/3G/4G networks.
Fig. 2 shows a kind of structured flowchart for the user terminal 200 that can be applied in the embodiment of the present application.
As shown in Fig. 2 the user terminal 200 can include memory 201, storage control 202, place
Manage device 203, mixed-media network modules mixed-media 204 and display 205.
Memory 201, storage control 202, processor 203, mixed-media network modules mixed-media 204, display 205
Directly or indirectly electrically connected between each element, to realize the transmission of data or interaction.For example, these
Electrical connection can be realized by one or more communication bus or signal bus between element.The renewal
Application upgrade prompt message method and device include it is at least one can be with software or firmware (firmware)
Form be stored in software function module in memory 201, such as the renewal application upgrade prompting
The software function module or computer program that information approach and device include.
Memory 201 can store various software programs and module, as the embodiment of the present application provides
Programmed instruction/module corresponding to application upgrade prompt message method and device is updated, processor 203 passes through
Operation is stored in software program and module in memory 201, so as to perform various function application with
And data processing, that is, realize the renewal application upgrade prompt message method in the embodiment of the present application.
Wherein, processor 203 is specifically configured to:Obtain more recent application version information, more recent application
Version information includes version number and preset upgrade tip character string corresponding with version number;Detect version
This number is higher than locally applied current version number, then is updated according to preset upgrade tip character string locally applied
Upgrade tip information.The processor 203 is additionally configured to:Load preset upgrade tip character string;
Locally applied upgrade tip information is updated according to the loading result of preset upgrade tip character string.Generation
Signed corresponding to preset upgrade tip character string;Judging the preset upgrade tip character string signature of generation is
The no signature character string with upgrade tip is identical, the algorithm of the preset upgrade tip character string signature of generation and
The algorithm of the upgrade tip signature character string of server generation is identical;If the preset upgrade tip word of generation
Symbol string signature is identical with upgrade tip signature character string, then loads preset upgrade tip character string.Display
Device 205 is configured as:Preset upgrade tip character string is showed by client terminal web page container WebView
Application upgrade prompt message corresponding to loading result.
Memory 201 can include but is not limited to random access memory (Random Access
Memory, RAM), read-only storage (Read Only Memory, ROM), it may be programmed read-only
Memory (Programmable Read-Only Memory, PROM), erasable read-only memory
(Erasable Programmable Read-Only Memory, EPROM), the read-only storage of electric erasable
Device (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Processor 203 can be a kind of IC chip, have signal handling capacity.Above-mentioned processing
Device can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU),
Network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable patrol
Collect device, discrete gate or transistor logic, discrete hardware components.It can realize or hold
Disclosed each method, step and logic diagram in row the embodiment of the present application.General processor can be
Microprocessor or the processor can also be any conventional processors etc..
Mixed-media network modules mixed-media 204 is used to receiving and sending network signal.Above-mentioned network signal may include wirelessly
Signal or wire signal.
It is appreciated that the structure shown in Fig. 2 is only to illustrate, user terminal 200 can also include than Fig. 2
Shown in more either less components or there is the configuration different from shown in Fig. 2.Institute in Fig. 2
Each component shown can use hardware, software or its combination to realize.In addition, in the embodiment of the present application
User terminal 200 can also include the user terminal of multiple specific difference in functionalitys.
The advantages of to make technical solution of the present invention, is clearer, with reference to the accompanying drawings and examples to this hair
It is bright to elaborate.
The embodiments of the invention provide one kind to update application upgrade prompt message method, as shown in figure 3,
Methods described includes:
301st, more recent application version information is obtained.
Wherein, the more recent application version information includes version number and corresponding with the version number pre-
Put upgrade tip character string.The more recent application version information is the newest application version issued in server
This information.The preset upgrade tip character string is reality of the server end according to application upgrade prompt message
Border demand is pre-set, and updates the locally applied upgrade tip information of client for realizing.In this hair
In bright embodiment, the application that can update client at any time by the preset upgrade tip character string rises
Level prompt message, and no longer need the application by issuing redaction to realize renewal application upgrade prompting letter
Breath.
It should be noted that the preset upgrade tip character string can be by HTML (HyperText
Markup Language, HTML) character string write or pass through JAVA
The character string that (object oriented program language) is write, the embodiment of the present invention are not specifically limited.
302nd, detect that the version number is higher than locally applied current version number, then according to the preset liter
Level prompt strings update locally applied upgrade tip information.
For the embodiment of the present invention, if detecting, the version number is higher than locally applied current version number,
Then need to update locally applied upgrade tip according to preset upgrade tip character string among subsequent step
Information.For example, the version number obtained is version:1.0.2, locally applied current version number is
version:1.0.1, then the version number for drawing acquisition by judgement is higher than locally applied current version number.
For the embodiment of the present invention, more recent application version information, the more recent application version are obtained first
Information includes version number and preset upgrade tip character string corresponding with the version number, then detects
Whether the version number is higher than locally applied current version number, if the version number works as higher than locally applied
Preceding version number, then locally applied upgrade tip information is updated according to the preset upgrade tip character string.
Issued because preset upgrade tip character string is controlled by server end, and locally applied upgrading carries
Show that information obtains according to preset upgrade tip character string, therefore client can not update currently
Application upgrade prompt message is updated on the premise of application version.
For example, preset upgrade tip character string is Web page in the more recent application version information got
HTML character strings, version number version:1.0.1 then firstly the need of judging version number version:
1.0.1 whether it is higher than locally applied current version number, if version number version:1.0.1 higher than locally applied
Current version number, then client needs to load HTML character strings, and passes through Web page exhibition
Show the loading result of client.In embodiments of the present invention, the upgrade tip information of application can basis
The change of preset upgrade tip character string and change at any time, therefore by the embodiment of the present invention update should
Rich diversity is had more with the interface display of upgrade tip information, can preferably embody redaction should
Characteristic, improve Consumer's Experience.
A kind of renewal application upgrade prompt message method provided in an embodiment of the present invention, is obtained newest first
Application version information, the more recent application version information include version number and corresponding with the version number
Preset upgrade tip character string, detect that the version number is higher than locally applied current version number, then
Locally applied upgrade tip information is updated according to the preset upgrade tip character string.With passing through at present
The application of issue redaction realizes that renewal application upgrade prompt message is compared, and the embodiment of the present invention, which is worked as, to be obtained
To more recent application version information in version number be higher than locally applied current version when, by newest
Preset upgrade tip character string in application version information, which is realized, updates locally applied upgrade tip letter
Breath, issued because preset upgrade tip character string is controlled by server end, and locally applied liter
Level prompt message obtains according to preset upgrade tip character string, therefore client can not update
Application upgrade prompt message is updated on the premise of current application version, so that can by the embodiment of the present invention
Flexibly to change application upgrade prompt message, and then improve the effect of renewal application upgrade prompt message
Rate.
The embodiments of the invention provide another kind to update application upgrade prompt message method, as shown in figure 4,
Methods described includes:
401st, more recent application version information is obtained.
Wherein, the more recent application version information includes version number and corresponding with the version number pre-
Put upgrade tip character string.The more recent application version information is the newest application version issued in server
This information.The preset upgrade tip character string is reality of the server end according to application upgrade prompt message
Border demand is pre-set, and updates the locally applied upgrade tip information of client for realizing.In this hair
In bright embodiment, the application that can update client at any time by the preset upgrade tip character string rises
Level prompt message, and no longer need the application by issuing redaction to realize renewal application upgrade prompting letter
Breath.
For the embodiment of the present invention, before more recent application version information is obtained, methods described also includes:
Sent to server and obtain the request of more recent application version information, to cause the server receiving
State and send more recent application version information to client after asking.In embodiments of the present invention, client to
After server sends the version information request of acquisition more recent application, if there is latest edition among server
Application message, then server more recent application version information is sent to client.Wherein, latest edition
Version number, the URL of application installation package, preset upgrade tip character string, upgrading are included in application message
Information, the embodiment of the present invention such as prompting signature character string are not specifically limited.
402nd, detect whether the version number is higher than locally applied current version number.
403rd, detect that the version number is higher than locally applied current version number, generate the preset upgrading
Signed corresponding to prompt strings.
Wherein, the institute of the algorithm of the preset upgrade tip character string signature of the generation and server generation
The algorithm for stating upgrade tip signature character string is identical.In embodiments of the present invention, when the version number is high
When locally applied current version, generate and signed corresponding to the preset upgrade tip character string, can
The legitimacy and security for the more recent application version information that authentication server is sent among subsequent step.
It should be noted that the embodiment of the present invention does not do specific restriction to signature algorithm.
404th, judge generation preset upgrade tip character string signature whether with the upgrade tip sign word
Symbol string is identical.
In embodiments of the present invention, if the preset upgrade tip character string signature of generation and the upgrading carry
Show that signature character string is identical, then load the preset upgrade tip character string;If the preset upgrading of generation
Prompt strings signature is different with upgrade tip signature character string, then need not load the preset liter
Level prompt strings.For the embodiment of the present invention, by the preset upgrade tip character string for judging generation
Signature whether with the upgrade tip sign character string identical mode, it is ensured that acquisition it is newest should
With the legitimacy and security of version information.
If the 405th, the preset upgrade tip character string signature of generation and upgrade tip signature character string phase
Together, then the preset upgrade tip character string is loaded.
406th, locally applied upgrading is updated according to the loading result of the preset upgrade tip character string to carry
Show information.
In embodiments of the present invention, more recent application version information is obtained first, then detects the version
Number whether it is higher than locally applied current version number, the version number is current higher than locally applied if detecting
Version number, then generate and signed corresponding to the preset upgrade tip character string, then judge the pre- of generation
Whether identical with the upgrade tip signature character string upgrade tip character string signature is put, if generation is pre-
It is identical with upgrade tip signature character string to put upgrade tip character string signature, then loads described preset
Upgrade tip character string, finally updated according to the loading result of the preset upgrade tip character string local
The upgrade tip information of application.Issued because preset upgrade tip character string is controlled by server end,
And locally applied upgrade tip information obtains according to preset upgrade tip character string, therefore service
Device can change the application upgrade prompt message of client on the premise of redaction is not sent out, so as to improve
The renewal efficiency of application upgrade prompt message.
It is described locally applied according to the preset upgrade tip character string renewal for the embodiment of the present invention
Upgrade tip information after, methods described also includes:Pass through client terminal web page container WebView exhibitions
Application upgrade prompt message corresponding to the existing preset upgrade tip character string loading result.It is for example, pre-
It is HTML character strings to put upgrade tip character string, then client can be provided by system
WebView loads HTML character strings, then application upgrade prompt message corresponding to displaying.
In embodiments of the present invention, application is also included in the more recent application version information and downloads unified money
Source finger URL URL, it is described that the preset upgrade tip is showed by client terminal web page container WebView
After application upgrade prompt message corresponding to character string loading result, methods described also includes:If receive
To confirmation instruction corresponding to the application upgrade prompt message, then URL is downloaded to this according to the application
Ground application is upgraded.
For the embodiment of the present invention, adaptable scene as shown in fig. 7, but be not limited only to this, wrap
Include:Server end has increased speech identifying function newly in the application, and has issued newest corresponding to the function
Application version information, client detect locally applied after more recent application version information is got
Version number is less than the version number in more recent application version information, now needs to generate the preset upgrading and carries
Show and sign corresponding to character string, then judge generation preset upgrade tip character string signature whether and institute
It is identical to state upgrade tip signature character string, if the preset upgrade tip character string signature of generation and the liter
Level prompting signature character string is identical, then loads the preset upgrade tip character string, last according to
The loading result of preset upgrade tip character string updates locally applied upgrade tip information.Wherein, in advance
It is HTML character strings to put upgrade tip character string, and client loads HTML words by WebView
Symbol string, and show WEB page corresponding to loading HTML character string results, i.e., as disappeared among Fig. 7
Cease locally applied upgrade tip information of the Notifications dialog for renewal.In embodiments of the present invention, due to
Preset upgrade tip character string is issued by server end control, and locally applied upgrade tip is believed
Breath obtains according to preset upgrade tip character string, therefore client can not update current application
Application upgrade prompt message is updated on the premise of version, so that can be flexible by the embodiment of the present invention
Application upgrade prompt message is changed, and then improves the efficiency of renewal application upgrade prompt message.
Another renewal application upgrade prompt message method provided in an embodiment of the present invention, is obtained most first
New opplication version information, the more recent application version information include version number and with the version number pair
The preset upgrade tip character string answered, detect that the version number is higher than locally applied current version number,
Locally applied upgrade tip information is then updated according to the preset upgrade tip character string.With leading at present
The application for crossing issue redaction realizes that renewal application upgrade prompt message is compared, and the embodiment of the present invention, which is worked as, to be obtained
When version number in the more recent application version information got is higher than locally applied current version, by most
Preset upgrade tip character string in new opplication version information, which is realized, updates locally applied upgrade tip letter
Breath, issued because preset upgrade tip character string is controlled by server end, and locally applied liter
Level prompt message obtains according to preset upgrade tip character string, therefore client can not update
Application upgrade prompt message is updated on the premise of current application version, so that can by the embodiment of the present invention
Flexibly to change application upgrade prompt message, and then improve the effect of renewal application upgrade prompt message
Rate.
Further, the embodiment of the present invention provides a kind of renewal application upgrade prompt message device, such as Fig. 5
Shown, described device includes:Acquiring unit 51, updating block 52.
Acquiring unit 51, for obtaining more recent application version information, in the more recent application version information
Including version number and preset upgrade tip character string corresponding with the version number;
Updating block 52, for detecting that the version number is higher than locally applied current version number, then root
Locally applied upgrade tip information is updated according to the preset upgrade tip character string.
A kind of it should be noted that renewal application upgrade prompt message device provided in an embodiment of the present invention
Other corresponding corresponding descriptions for describing, may be referred to method shown in Fig. 3 of involved each functional unit,
It will not be repeated here, it should be understood that the device in the present embodiment, which can correspond to, realizes preceding method reality
Apply the full content in example.
A kind of renewal application upgrade prompt message device provided in an embodiment of the present invention, is obtained newest first
Application version information, the more recent application version information include version number and corresponding with the version number
Preset upgrade tip character string, detect that the version number is higher than locally applied current version number, then
Locally applied upgrade tip information is updated according to the preset upgrade tip character string.With passing through at present
The application of issue redaction realizes that renewal application upgrade prompt message is compared, and the embodiment of the present invention, which is worked as, to be obtained
To more recent application version information in version number be higher than locally applied current version when, by newest
Preset upgrade tip character string in application version information, which is realized, updates locally applied upgrade tip letter
Breath, issued because preset upgrade tip character string is controlled by server end, and locally applied liter
Level prompt message obtains according to preset upgrade tip character string, therefore client can not update
Application upgrade prompt message is updated on the premise of current application version, so that can by the embodiment of the present invention
Flexibly to change application upgrade prompt message, and then improve the effect of renewal application upgrade prompt message
Rate.
Further, the embodiment of the present invention provides another renewal application upgrade prompt message device, such as
Shown in Fig. 6, described device includes:Acquiring unit 61, updating block 62.
Acquiring unit 61, for obtaining more recent application version information, in the more recent application version information
Including version number and preset upgrade tip character string corresponding with the version number;
Updating block 62, for detecting that the version number is higher than locally applied current version number, then root
Locally applied upgrade tip information is updated according to the preset upgrade tip character string.
For the embodiment of the present invention, the updating block 62 includes:
Load-on module 621, for loading the preset upgrade tip character string;
Update module 622, it is local for being updated according to the loading result of the preset upgrade tip character string
The upgrade tip information of application.
In embodiments of the present invention, upgrade tip signature word is also included in the more recent application version information
Symbol string, the updating block 62 also include:Generation module 623, judge module 624;
The generation module 623, for generating signature corresponding to the preset upgrade tip character string;
The judge module 624, for judge generation preset upgrade tip character string signature whether and institute
It is identical to state upgrade tip signature character string, the algorithm of the preset upgrade tip character string of generation signature
It is identical with the algorithm of the upgrade tip signature character string of server generation;
The load-on module 621, if specifically for generate preset upgrade tip character string signature and it is described
Upgrade tip signature character string is identical, then loads the preset upgrade tip character string.
Further, described device also includes:
Show unit 63, carried for showing the preset upgrading by client terminal web page container WebView
Show application upgrade prompt message corresponding to character string loading result.
Further, application is also included in the more recent application version information and downloads URL
URL, described device also include:
Upgrade unit 64, if confirming instruction corresponding to the application upgrade prompt message for receiving,
Then URL is downloaded according to the application to locally applied to upgrade.
The acquiring unit 61, the request of more recent application version information is obtained specifically for being sent to server,
To cause the server to send more recent application version information to client after the request is received.
It should be noted that another renewal application upgrade prompt message dress provided in an embodiment of the present invention
Other corresponding corresponding descriptions for describing, may be referred to method shown in Fig. 4 of involved each functional unit are put,
It will not be repeated here, it should be understood that the device in the present embodiment, which can correspond to, realizes preceding method reality
Apply the full content in example.
Another renewal application upgrade prompt message device provided in an embodiment of the present invention, is obtained most first
New opplication version information, the more recent application version information include version number and with the version number pair
The preset upgrade tip character string answered, detect that the version number is higher than locally applied current version number,
Locally applied upgrade tip information is then updated according to the preset upgrade tip character string.With leading at present
The application for crossing issue redaction realizes that renewal application upgrade prompt message is compared, and the embodiment of the present invention, which is worked as, to be obtained
When version number in the more recent application version information got is higher than locally applied current version, by most
Preset upgrade tip character string in new opplication version information, which is realized, updates locally applied upgrade tip letter
Breath, issued because preset upgrade tip character string is controlled by server end, and locally applied liter
Level prompt message obtains according to preset upgrade tip character string, therefore client can not update
Application upgrade prompt message is updated on the premise of current application version, so that can by the embodiment of the present invention
Flexibly to change application upgrade prompt message, and then improve the effect of renewal application upgrade prompt message
Rate.
The renewal application upgrade prompt message device includes processor and memory, above-mentioned acquiring unit,
Judging unit, updating block, show unit, upgrade unit etc. and be stored in storage as program unit
In device, corresponding function is realized by the said procedure unit of computing device storage in memory.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can
To set one or more, the effect of renewal application upgrade prompt message is improved by adjusting kernel parameter
Rate.
Memory may include the volatile memory in computer-readable medium, random access memory
The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash
RAM), memory includes at least one storage chip.
Present invention also provides a kind of computer program product, when being performed on data processing equipment,
It is adapted for carrying out the program code of initialization there are as below methods step:Obtain more recent application version information, institute
Stating more recent application version information includes version number and preset upgrade tip word corresponding with the version number
Symbol string;Judge whether the version number is higher than locally applied current version number;If the version number is higher than
Locally applied current version number, locally applied upgrading is updated according to the preset upgrade tip character string
Prompt message.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system,
Or computer program product.Therefore, the application can use complete hardware embodiment, complete software to implement
The form of embodiment in terms of example or combination software and hardware.Moreover, the application can be used at one
Or multiple computer-usable storage mediums for wherein including computer usable program code are (including but not
Be limited to magnetic disk storage, CD-ROM, optical memory etc.) on the computer program product implemented
Form.
The application is with reference to the method, equipment (system) and computer program according to the embodiment of the present application
The flow chart and/or block diagram of product describes.Flowed it should be understood that can be realized by computer program instructions
In each flow and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram
Flow and/or square frame combination.Can provide these computer program instructions to all-purpose computer, specially
With the processor of computer, Embedded Processor or other programmable data processing devices to produce one
Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices
It is raw to be used to realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple sides
The device for the function of being specified in frame.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle
In the computer-readable memory that equipment works in a specific way so that be stored in this and computer-readable deposit
Instruction in reservoir, which produces, includes the manufacture of command device, and command device realization is in flow chart one
The function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices
On so that series of operation steps is performed on computer or other programmable devices to produce computer
The processing of realization, so as to which the instruction performed on computer or other programmable devices is provided for realizing
Specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/
Output interface, network interface and internal memory.
Memory may include the volatile memory in computer-readable medium, random access memory
The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash
RAM).Memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with
Realize that information stores by any method or technique.Information can be computer-readable instruction, data knot
The module or other data of structure, program.The example of the storage medium of computer includes, but are not limited to phase
Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory
(DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electricity can
Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light
Disk read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic
Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium,
The information that can be accessed by a computing device available for storage.Defined according to herein, it is computer-readable
Medium does not include temporary computer readable media (transitory media), the data-signal and load of such as modulation
Ripple.
Embodiments herein is these are only, is not limited to the application.For this area skill
For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it
Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model
Within enclosing.
Claims (12)
1. one kind renewal application upgrade prompt message method, it is characterised in that including:
Obtain more recent application version information, the more recent application version information include version number and with institute
State preset upgrade tip character string corresponding to version number;
Detect that the version number is higher than locally applied current version number, then carried according to the preset upgrading
Show that character string updates locally applied upgrade tip information.
2. according to the method for claim 1, it is characterised in that described according to the preset upgrading
Prompt strings, which update locally applied upgrade tip information, to be included:
Load the preset upgrade tip character string;
Locally applied upgrade tip is updated according to the loading result of the preset upgrade tip character string to believe
Breath.
3. according to the method for claim 2, it is characterised in that the more recent application version information
In also include upgrade tip signature character string, before the loading preset upgrade tip character string,
Methods described also includes:
Generate and signed corresponding to the preset upgrade tip character string;
Judge generation preset upgrade tip character string signature whether with the upgrade tip sign character string
It is identical, the algorithm of the preset upgrade tip character string signature of the generation and the liter of server generation
The algorithm of level prompting signature character string is identical;
The loading preset upgrade tip character string includes:
If the preset upgrade tip character string signature of generation is identical with upgrade tip signature character string,
Then load the preset upgrade tip character string.
4. according to the method for claim 3, it is characterised in that described according to the preset upgrading
After prompt strings update locally applied upgrade tip information, methods described also includes:
The preset upgrade tip character string loading result is showed by client terminal web page container WebView
Corresponding application upgrade prompt message.
5. according to the method for claim 4, it is characterised in that the more recent application version information
In also include application download uniform resource position mark URL, it is described to pass through client terminal web page container
WebView shows application upgrade prompt message corresponding to the preset upgrade tip character string loading result
Afterwards, methods described also includes:
Instruction is confirmed corresponding to the application upgrade prompt message if receiving, according under the application
URL is carried to locally applied to upgrade.
6. according to the method for claim 1, it is characterised in that the acquisition more recent application version
Information includes;
Sent to server and obtain the request of more recent application version information, to cause the server receiving
After to the request more recent application version information is sent to client.
7. one kind renewal application upgrade prompt message device, it is characterised in that including:
Acquiring unit, for obtaining more recent application version information, wrapped in the more recent application version information
Include version number and preset upgrade tip character string corresponding with the version number;
Updating block, for detecting that the version number is higher than locally applied current version number, then basis
The preset upgrade tip character string updates locally applied upgrade tip information.
8. device according to claim 7, it is characterised in that the updating block includes:
Load-on module, for loading the preset upgrade tip character string;
Update module, for being answered according to the renewal of the loading result of the preset upgrade tip character string is local
Upgrade tip information.
9. device according to claim 8, it is characterised in that the more recent application version information
In also include upgrade tip signature character string, the updating block also includes:Generation module, judge mould
Block;
The generation module, for generating signature corresponding to the preset upgrade tip character string;
The judge module, for judge generation preset upgrade tip character string signature whether with it is described
Upgrade tip signature character string is identical, the algorithm of the preset upgrade tip character string of generation signature and
The algorithm of the upgrade tip signature character string of server generation is identical;
The load-on module, if specifically for the preset upgrade tip character string signature generated and the liter
Level prompting signature character string is identical, then loads the preset upgrade tip character string.
10. device according to claim 9, it is characterised in that described device also includes:
Show unit, for showing the preset upgrade tip by client terminal web page container WebView
Application upgrade prompt message corresponding to character string loading result.
11. device according to claim 10, it is characterised in that the more recent application version letter
Also include application in breath and download uniform resource position mark URL, described device also includes:
Upgrade unit, if confirming instruction corresponding to the application upgrade prompt message for receiving,
URL is downloaded according to the application to locally applied to upgrade.
12. device according to claim 7, it is characterised in that
The acquiring unit, the request of more recent application version information is obtained specifically for being sent to server,
To cause the server to send more recent application version information to client after the request is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610330015.3A CN107390966B (en) | 2016-05-17 | 2016-05-17 | Method and device for updating application upgrading prompt information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610330015.3A CN107390966B (en) | 2016-05-17 | 2016-05-17 | Method and device for updating application upgrading prompt information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107390966A true CN107390966A (en) | 2017-11-24 |
CN107390966B CN107390966B (en) | 2020-11-06 |
Family
ID=60338217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610330015.3A Active CN107390966B (en) | 2016-05-17 | 2016-05-17 | Method and device for updating application upgrading prompt information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107390966B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764851A (en) * | 2018-07-27 | 2020-02-07 | Oppo广东移动通信有限公司 | Application update reminding method and device, storage medium and electronic equipment |
CN113051283A (en) * | 2019-12-27 | 2021-06-29 | 北京国双科技有限公司 | Data processing method and device for application market, storage medium and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409709A (en) * | 2008-11-24 | 2009-04-15 | 浪潮通信信息***有限公司 | Method for publishing client terminal program of communication network management system automatically |
CN103941961A (en) * | 2014-03-14 | 2014-07-23 | 北京星网锐捷网络技术有限公司 | Prompting method, device and facility for application updating |
CN104090781A (en) * | 2013-04-17 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Method and device for processing upgrading information |
CN104104527A (en) * | 2013-04-03 | 2014-10-15 | 华为终端有限公司 | Upgrade method for access terminal device and access terminal device |
US20140310376A1 (en) * | 2013-04-16 | 2014-10-16 | Samsung Electronics Co., Ltd. | Method and device for obtaining network feedback |
US20140317615A1 (en) * | 2013-04-19 | 2014-10-23 | Tencent Technologies (Shenzhen) Company Limited | Systems and Methods for Installing Applications |
CN104375856A (en) * | 2014-09-24 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Application updating method and device |
CN105335183A (en) * | 2014-08-06 | 2016-02-17 | 乐视致新电子科技(天津)有限公司 | Software upgrade method and system |
CN105468440A (en) * | 2015-12-16 | 2016-04-06 | 北京金山安全软件有限公司 | Information display method and device and electronic equipment |
-
2016
- 2016-05-17 CN CN201610330015.3A patent/CN107390966B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409709A (en) * | 2008-11-24 | 2009-04-15 | 浪潮通信信息***有限公司 | Method for publishing client terminal program of communication network management system automatically |
CN104104527A (en) * | 2013-04-03 | 2014-10-15 | 华为终端有限公司 | Upgrade method for access terminal device and access terminal device |
US20140310376A1 (en) * | 2013-04-16 | 2014-10-16 | Samsung Electronics Co., Ltd. | Method and device for obtaining network feedback |
CN104090781A (en) * | 2013-04-17 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Method and device for processing upgrading information |
US20140317615A1 (en) * | 2013-04-19 | 2014-10-23 | Tencent Technologies (Shenzhen) Company Limited | Systems and Methods for Installing Applications |
CN103941961A (en) * | 2014-03-14 | 2014-07-23 | 北京星网锐捷网络技术有限公司 | Prompting method, device and facility for application updating |
CN105335183A (en) * | 2014-08-06 | 2016-02-17 | 乐视致新电子科技(天津)有限公司 | Software upgrade method and system |
CN104375856A (en) * | 2014-09-24 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Application updating method and device |
CN105468440A (en) * | 2015-12-16 | 2016-04-06 | 北京金山安全软件有限公司 | Information display method and device and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764851A (en) * | 2018-07-27 | 2020-02-07 | Oppo广东移动通信有限公司 | Application update reminding method and device, storage medium and electronic equipment |
CN113051283A (en) * | 2019-12-27 | 2021-06-29 | 北京国双科技有限公司 | Data processing method and device for application market, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107390966B (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502725B (en) | Upgrade method, equipment and the electronic equipment of application program | |
CN108279932B (en) | Method and device for dynamically configuring user interface of mobile terminal | |
CN105849696B (en) | Software upgrading is provided for the calculating equipment on identical network | |
CN107608689A (en) | The update method of application program, device and electronic equipment in client | |
CN107766050A (en) | The dispositions method and device of a kind of heterogeneous applications | |
CN108345632A (en) | Call method, device, equipment and the computer readable storage medium of the H5 pages | |
CN104717179B (en) | A kind of processing method and processing device of communication service | |
CN107766040A (en) | A kind of method, apparatus and computer-readable recording medium for generating interface document | |
CN106843976B (en) | Method and apparatus for generating image file | |
CN107689982A (en) | Multi-data source method of data synchronization, application server and computer-readable recording medium | |
CN107861736A (en) | Patch generates and update method and device, electronic equipment, storage medium | |
CN106874519A (en) | Webpage representation method and apparatus | |
CN105786511B (en) | The implementation method of terminal device Web application management | |
CN104063225B (en) | Screen locking theme development method and device | |
CN106874471A (en) | Information-pushing method and device | |
CN107172685A (en) | The method and apparatus that the information of WAP is shown in mobile terminal | |
WO2012016400A1 (en) | Method and device for managing configuration file | |
EP3313041A1 (en) | Application download method and device | |
CN106682491A (en) | Application downloading method and device | |
CN107390966A (en) | Update application upgrade prompt message method and device | |
CN108011871A (en) | A kind of remote assistance processing method and equipment | |
CN110109684A (en) | Block chain node administration agent services installation method, electronic device and storage medium | |
CN110321122A (en) | The development approach and relevant device of browser application | |
CN109413212A (en) | Method and apparatus for handling request | |
CN109683992A (en) | Method and apparatus for managing object |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200522 Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 510640 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping radio square B tower 13 floor 03 unit self Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |