CN109491693A - A kind of the heat update processing method and electronic equipment of graphical programming client - Google Patents
A kind of the heat update processing method and electronic equipment of graphical programming client Download PDFInfo
- Publication number
- CN109491693A CN109491693A CN201811641772.8A CN201811641772A CN109491693A CN 109491693 A CN109491693 A CN 109491693A CN 201811641772 A CN201811641772 A CN 201811641772A CN 109491693 A CN109491693 A CN 109491693A
- Authority
- CN
- China
- Prior art keywords
- packet
- update
- updated
- client
- applications client
- 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
Abstract
The heat that the present invention discloses a kind of graphical programming client updates processing method and electronic equipment, wherein method in applications client comprising steps of adding current version information and obtaining the chained address for updating packet;When needing to be updated the applications client, update packet is downloaded from background server by the chained address;The update packet of downloading is installed, and applications client is updated.In the present invention, being updated in such a way that heat updates to applications client, the use of user will not be had an impact in this way, it is convenient for users to use, and improve update efficiency, when needing to update, can independently complete to update.
Description
Technical field
The present invention relates to the heat of field of computer technology more particularly to a kind of graphical programming client update processing method and
Electronic equipment.
Background technique
In the prior art, a application software product can generally be listed after test, but any a production
Product are not perfect, for example, with the use of user, the problem of user feedback is more and more, and the demand of user is also got over
Come it is more, so needing to optimize product, to meet the use of user.
With the quickening of the update iteration speed of product, the requirement of product is also higher and higher, if be user every time from
Oneself downloads newest client application, updates efficiency and substantially reduces, and updates inconvenience.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of heat of graphical programming client to update
Processing method and electronic equipment, it is intended to solve the problems, such as product renewing mode low efficiency, inconvenience in the prior art.
Technical scheme is as follows:
A kind of heat update processing method of graphical programming client, wherein comprising steps of
Current version information is added in applications client and obtains the chained address for updating packet;
When needing to be updated the applications client, downloaded more from background server by the chained address
New packet;
The update packet of downloading is installed, and applications client is updated.
The heat of the graphical programming client updates processing method, wherein further include:
Packet will be updated in advance and is uploaded to background server together with corresponding version information, and is saved.
The heat of the graphical programming client updates processing method, wherein when needs carry out the applications client
When update, the step of update is wrapped is downloaded from background server by the chained address and is specifically included:
Update is obtained from background server according to the chained address and wraps corresponding version information;
The version information for the update packet that will acquire is compared with the current version information of applications client;
If the two is consistent, terminate process, if the two is inconsistent, according to the chained address under in background server
Carry the update packet.
The heat of the graphical programming client updates processing method, wherein installs the update packet of downloading, and to application visitor
The step of family end is updated specifically includes:
After the completion of updating packet downloading, update packet is decompressed;
It is updated and replaces according to corresponding contents of the content after decompression to applications client.
The heat of the graphical programming client updates processing method, wherein will update packet and is downloaded to a temporary folder
In.
The heat of the graphical programming client updates processing method, wherein the applications client is NW.js application visitor
Family end.
The heat of the graphical programming client updates processing method, wherein the chained address includes updating packet to correspond to
Version information chained address and update itself chained address of packet.
A kind of electronic equipment, wherein include:
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Current version information is added in applications client and obtains the chained address for updating packet;
When needing to be updated the applications client, downloaded more from background server by the chained address
New packet;
The update packet of downloading is installed, and applications client is updated.
A kind of non-volatile computer readable storage medium storing program for executing, wherein the non-volatile computer readable storage medium storing program for executing is deposited
Computer executable instructions are contained, when which is executed by one or more processors, may make described one
The heat that a or multiple processors execute the graphical programming client updates processing method.
A kind of computer program product, wherein non-volatile computer is readable to be deposited computer program product including being stored in
Computer program on storage media, computer program include program instruction, when program instruction is executed by processor, make the place
Manage the heat update processing method that device executes the graphical programming client.
The utility model has the advantages that in the present invention, being updated in such a way that heat updates to applications client, in this way will not to
The use at family has an impact, convenient for users to use, and improves update efficiency, when needing to update, can independently complete more
Newly.
Detailed description of the invention
Fig. 1 is that a kind of heat of graphical programming client of the present invention updates the flow chart of processing method preferred embodiment.
Fig. 2 is the structural block diagram of a kind of electronic equipment preferred embodiment of the present invention.
Specific embodiment
The heat that the present invention provides a kind of graphical programming client updates processing method and electronic equipment, to make mesh of the invention
, technical solution and effect it is clearer, clear, the present invention is described in more detail below.It should be appreciated that described herein
Specific embodiment be only used to explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is that a kind of heat of graphical programming client of the present invention updates the stream of processing method preferred embodiment
Cheng Tu, as shown, itself comprising steps of
S1, current version information is added in applications client and obtains the chained address for updating packet;
S2, when need the applications client is updated when, through the chained address under in background server
It carries and updates packet;
The update packet that S3, installation are downloaded, and applications client is updated.
It, in this way will not be to the use of user being updated in such a way that heat updates to applications client in the present invention
It has an impact, it is convenient for users to use, and update efficiency is improved, when needing to update, can independently complete to update.
In the step S1, current version information is added in applications client and obtains the chain ground connection for updating packet
Location.
Current version information can be added i.e. in applications client, can also add chained address, pass through the chained address
The contents such as update packet can be got.Applications client therein is graphical programming client.
A package.json can be specifically created in applications client, and adds version information and chain ground connection wherein
Location.The root of each project is in the following, generally have a package.json file, That file defines needed for this project
The configuration information (such as the metadata such as title, version, licensing) of the various modules and project wanted.Npm installation
It is passed directly to when package.json under current project catalogue with order npm install or npm install--save-dev
Module in package.json is installed under node-modules file by installation automatically.Package.json text
Part can also can be used npm init order and be automatically generated with hand-coding.
In the step S2, when needing to be updated the applications client, by the chained address from rear
Downloading updates packet in platform server.
If necessary to update, then update packet can be downloaded from background server according to previously stored chained address, so as to
It is subsequent that applications client is updated.
In the step S3, after having downloaded update packet from background server, directly applications client can be carried out more
New processing, makes applications client remain last state, so that user uses latest function, promote user uses body
It tests.
Further, the heat of the graphical programming client updates processing method, further include:
Packet will be updated in advance and is uploaded to background server together with corresponding version information, and is saved.
Background server is uploaded to that is, it needs to will first update and wrap version information corresponding with the update packet, so as to application visitor
Family end is veritified, and judges whether to need to download the update packet.
Further, when needing to be updated the applications client, by the chained address from background server
The step of middle downloading update packet, specifically includes:
Update is obtained from background server according to the chained address and wraps corresponding version information;
The version information for the update packet that will acquire is compared with the current version information of applications client;
If the two is consistent, terminate process, if the two is inconsistent, according to the chained address under in background server
Carry the update packet.
Above-mentioned steps are exactly the process veritified, since the size of version information itself is smaller, so can be first from background service
Downloading, which updates, in device wraps corresponding version information, is then compared with the current version information of itself, both judge whether one
It causes, if unanimously, illustrating not having to be updated applications client, if it is inconsistent, illustrating to need to applications client
It is updated, the update packet can be downloaded from background server according to the chained address at this time.It is different for version information
The case where cause, since the update packet being stored in background server is generally latest edition, so if there is inconsistent, it can be straight
It connects and determines that the version of applications client is to need to update compared with lowest version.
Further, the update packet of downloading is installed, and the step of being updated to applications client specifically includes:
After the completion of updating packet downloading, update packet is decompressed;
It is updated and replaces according to corresponding contents of the content after decompression to applications client.
In above-mentioned steps, downloaded update packet after, can to updates wrap decompress, obtain update wrap in it is interior
Hold, applications client corresponding contents are updated and are replaced further according to content therein, can reach correspondence in this way and use client
End carries out the purpose of hot update.
In the step S2, when downloading updates packet, it can be downloaded to a temporary folder, which is clipped in
After the completion of update, the update packet that can directly delete corresponding temporary folder and wherein temporarily store.Certainly, the update packet
It can also remain stored in the temporary folder, so that user is actively updated according to update packet.
Further, the applications client is NW.js applications client.NW.js (original name node-webkit) is to be based on
The application of Chromium and node.js can use HTML and written in JavaScript native applications program by it.NW.js is also
The module for allowing to call Node.js from DOM realizes one and is write with all Web technologies the new exploitation of native applications program
Mode.It is based on HTML5, CSS3, JS and WebGL and write, support all api of nodejs and third party's module, can make
Nodejs module is called directly with DOM, and is easy to be packaged and distribute, supports that running environment includes 32 and 64
Window, Linux and Mac OS.
Further, the chained address includes the chain for updating the chained address for wrapping corresponding version information and updating packet itself
It is grounded location.
That is, the present invention is separately to handle version information with the chained address for updating packet, the two is built in application together
In client, newest version information is obtained according to the chained address of version information, and believe with the version of applications client itself
Breath is compared, and if desired updates after the completion of comparing, then is downloaded from background server according to the chained address for updating packet itself
It is corresponding to update packet.
Specifically, a package.json is created in applications client, and adds current version information (i.e. wherein
The version information of current application client, including version number), while also addition wherein needs to obtain from background server
Version information chained address, and need downloaded from background server update packet chained address, these contents are all
Included in package.json.Then using the node-webkit-updater module in nw, existing version information is read
It gets in module.
Node-webkit is equivalent to the combination of Chromium and node.js, can be packaged web application by it
At cross-platform desktop application, keep the exploitation of desktop application simpler, efficient.Node-webkit-updater is by nw official
The hot more New Parent of the application that developer provides breaks into new version compressed package and is put into configuration file and matches after having new version update
The catalogue set, and new package.json is also put under the catalogue of configuration, such user will when opening application
Verification version is gone, if there is new version will go to download automatically, and application can be restarted automatically after the download is complete.
In the present invention, version information, and the current version with applications client can be periodically obtained from background server
Information is compared, i.e., is compared at regular intervals, in this way when applications client needs to be updated, can obtain in time
Relevant version information is got, and is updated the downloading of packet.
Timing length therein can be every 1 day, perhaps every 1 month or every customized duration.If answered
It is more frequent with the update of client, then timing length can suitably be shortened, to be updated in time.
The timing that certain above situation belongs to active updates, and the present invention may be arranged as passively updating, i.e., ought have new
When update packet and corresponding version information upload to background server, then update notification is issued to applications client, is applied in this way
Client can be downloaded to update from background server in time wraps corresponding version information, is then compared with the version information of itself
It is right.It the advantage of doing so is that once there is update, will be compared, in the case where comparison result is inconsistent, stand at the first time
It is downloaded from background server and updates packet, locally applied client is updated and is replaced, it is ensured that whenever, it can be the
One time correspondence is updated with client.
The present invention also provides a kind of electronic equipment 10, as shown in Fig. 2, comprising:
Processor 110 is adapted for carrying out each instruction, and
Equipment 120 is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor 110:
Current version information is added in applications client and obtains the chained address for updating packet;
When needing to be updated the applications client, downloaded more from background server by the chained address
New packet;
The update packet of downloading is installed, and applications client is updated.
The processor 110 can for general processor, digital signal processor (DSP), specific integrated circuit (ASIC),
Field programmable gate array (FPGA), single-chip microcontroller, ARM (Acorn RISC Machine) or other programmable logic device are divided
Any combination of vertical door or transistor logic, discrete hardware component or these components.In addition, processor can also be any
Conventional processors, microprocessor or state machine.Processor also may be implemented as calculating the combination of equipment, for example, DSP and Wei Chu
Manage combination, multi-microprocessor, one or more microprocessors combination DSP core, any other this configuration of device.
It stores equipment 120 and is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software
Program, non-volatile computer executable program and module, as the graphical programming client in the embodiment of the present invention heat more
The corresponding program instruction of new processing method.Processor is stored in the non-volatile software program stored in equipment by operation, referred to
Order and unit update the various function application and data processing of processing method thereby executing the heat of graphical programming client,
Realize above method embodiment.
It has been described in detail in the method for particular technique details in front about above-mentioned electronic equipment 10, so it will not be repeated.
The present invention also provides a kind of non-volatile computer readable storage medium storing program for executing, the non-volatile computer readable storage
Media storage has computer executable instructions, when which is executed by one or more processors, may make
The heat that one or more of processors execute the graphical programming client updates processing method.
The present invention also provides a kind of computer program product, computer program product includes being stored in non-volatile computer
Computer program on readable storage medium storing program for executing, computer program include program instruction, when program instruction is executed by processor, are made
The heat that the processor executes the graphical programming client updates processing method.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (10)
1. a kind of heat of graphical programming client updates processing method, which is characterized in that comprising steps of
Current version information is added in applications client and obtains the chained address for updating packet;
When needing to be updated the applications client, update is downloaded from background server by the chained address
Packet;
The update packet of downloading is installed, and applications client is updated.
2. the heat of graphical programming client according to claim 1 updates processing method, which is characterized in that further include:
Packet will be updated in advance and is uploaded to background server together with corresponding version information, and is saved.
3. the heat of graphical programming client according to claim 2 updates processing method, which is characterized in that when needs are to institute
When stating applications client and being updated, the step of downloading update packet from background server by the chained address, is specifically wrapped
It includes:
Update is obtained from background server according to the chained address and wraps corresponding version information;
The version information for the update packet that will acquire is compared with the current version information of applications client;
If the two is consistent, terminate process, if the two is inconsistent, institute is downloaded from background server according to the chained address
State update packet.
4. the heat of graphical programming client according to claim 1 updates processing method, which is characterized in that install downloading
Packet is updated, and the step of being updated to applications client specifically includes:
After the completion of updating packet downloading, update packet is decompressed;
It is updated and replaces according to corresponding contents of the content after decompression to applications client.
5. the heat of graphical programming client according to claim 1 updates processing method, which is characterized in that will update under packet
It is loaded onto a temporary folder.
6. the heat of graphical programming client according to claim 1 updates processing method, which is characterized in that the application visitor
Family end is NW.js applications client.
7. the heat of graphical programming client according to claim 2 updates processing method, which is characterized in that the chain ground connection
Location includes the chained address for updating the chained address for wrapping corresponding version information and updating packet itself.
8. a kind of electronic equipment characterized by comprising
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Current version information is added in applications client and obtains the chained address for updating packet;
When needing to be updated the applications client, update is downloaded from background server by the chained address
Packet;
The update packet of downloading is installed, and applications client is updated.
9. a kind of non-volatile computer readable storage medium storing program for executing, which is characterized in that the non-volatile computer readable storage medium
Matter is stored with computer executable instructions, when which is executed by one or more processors, may make institute
Stating one or more processors perform claim requires the heat of the described in any item graphical programming clients of 1-7 to update processing method.
10. a kind of computer program product, which is characterized in that computer program product can including being stored in non-volatile computer
The computer program on storage medium is read, computer program includes program instruction, when program instruction is executed by processor, makes institute
Stating processor perform claim requires the heat of the described in any item graphical programming clients of 1-7 to update processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811641772.8A CN109491693A (en) | 2018-12-29 | 2018-12-29 | A kind of the heat update processing method and electronic equipment of graphical programming client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811641772.8A CN109491693A (en) | 2018-12-29 | 2018-12-29 | A kind of the heat update processing method and electronic equipment of graphical programming client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109491693A true CN109491693A (en) | 2019-03-19 |
Family
ID=65713476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811641772.8A Pending CN109491693A (en) | 2018-12-29 | 2018-12-29 | A kind of the heat update processing method and electronic equipment of graphical programming client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491693A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992290A (en) * | 2019-03-21 | 2019-07-09 | 深圳点猫科技有限公司 | The programming realization method and system that a kind of pair of desktop end program Intelligent hot updates |
CN110119276A (en) * | 2019-04-18 | 2019-08-13 | 深圳壹账通智能科技有限公司 | Implementation method, device, computer equipment and the storage medium of unread message prompt |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060069753A1 (en) * | 2004-06-18 | 2006-03-30 | Limin Hu | Automatic web-based client-server application program update system |
CN103067484A (en) * | 2012-12-25 | 2013-04-24 | 深圳市天维尔通讯技术有限公司 | Method and system upgrading application program automatically |
US20140223423A1 (en) * | 2013-02-05 | 2014-08-07 | Apple Inc. | Automatic Updating of Applications |
CN106201607A (en) * | 2016-07-04 | 2016-12-07 | 乐视控股(北京)有限公司 | The upgrade method of a kind of software version and equipment |
CN106708537A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Application updating method and application updating device |
CN108509211A (en) * | 2018-02-07 | 2018-09-07 | 深圳壹账通智能科技有限公司 | Application program updating method, apparatus, mobile terminal and storage medium |
-
2018
- 2018-12-29 CN CN201811641772.8A patent/CN109491693A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060069753A1 (en) * | 2004-06-18 | 2006-03-30 | Limin Hu | Automatic web-based client-server application program update system |
CN103067484A (en) * | 2012-12-25 | 2013-04-24 | 深圳市天维尔通讯技术有限公司 | Method and system upgrading application program automatically |
US20140223423A1 (en) * | 2013-02-05 | 2014-08-07 | Apple Inc. | Automatic Updating of Applications |
CN106201607A (en) * | 2016-07-04 | 2016-12-07 | 乐视控股(北京)有限公司 | The upgrade method of a kind of software version and equipment |
CN106708537A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Application updating method and application updating device |
CN108509211A (en) * | 2018-02-07 | 2018-09-07 | 深圳壹账通智能科技有限公司 | Application program updating method, apparatus, mobile terminal and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992290A (en) * | 2019-03-21 | 2019-07-09 | 深圳点猫科技有限公司 | The programming realization method and system that a kind of pair of desktop end program Intelligent hot updates |
CN110119276A (en) * | 2019-04-18 | 2019-08-13 | 深圳壹账通智能科技有限公司 | Implementation method, device, computer equipment and the storage medium of unread message prompt |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105022750B (en) | Resource file loading method and device | |
US9032383B2 (en) | Automatically updating applications on a client's device without interrupting the user's experience | |
CN102073512B (en) | JAVA cluster application system code loading and upgrading device and method | |
US20130332916A1 (en) | System and method for updating application archive files | |
CN108520059A (en) | Loading method, system, computer equipment and the storage medium of the client H5 pages | |
CN105740016B (en) | Increment issuing method and device, upgrading method and device of application program | |
CN102833350A (en) | Processing method and processing device of WebApp updating | |
CN108647032B (en) | Application loading method and device, computer device and computer readable storage medium | |
JP2019510315A (en) | Application updating method and apparatus for mobile terminal | |
CN107357607B (en) | The read method and device of file data | |
CN109491693A (en) | A kind of the heat update processing method and electronic equipment of graphical programming client | |
CN105468472B (en) | Data backup and recovery method and device based on iOS operating system | |
US9239714B2 (en) | Rapid deployment of software applications | |
CN107463405A (en) | The update method and device of a kind of application program | |
CN109725912A (en) | Application program configuration method, device, terminal, server and readable storage medium storing program for executing | |
CN103560997A (en) | Application program download management method and device and download server | |
US20130346960A1 (en) | Method and system for updating an application | |
CN102323890B (en) | Web page processing method, device and system for wireless terminal | |
CN107656767A (en) | Method, apparatus that system installation kit automatically updates, intelligent express delivery cabinet | |
CN106293790A (en) | Application program updating method and apparatus based on Firefox operating system | |
CN107229655B (en) | Updating method, device and system of page static file | |
CN105227600A (en) | The method of mobile device system upgrading | |
CN108008984A (en) | A kind of resource file downloading updating method and device | |
CN107423367B (en) | Web page loading method and device | |
TW201128532A (en) | Loading and upgrade device of Java cluster application system code and method thereof |
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: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |