CN106201578A - A kind of software system more new frame - Google Patents
A kind of software system more new frame Download PDFInfo
- Publication number
- CN106201578A CN106201578A CN201610486600.2A CN201610486600A CN106201578A CN 106201578 A CN106201578 A CN 106201578A CN 201610486600 A CN201610486600 A CN 201610486600A CN 106201578 A CN106201578 A CN 106201578A
- Authority
- CN
- China
- Prior art keywords
- software system
- tag file
- version
- end module
- software
- 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)
Abstract
The present invention relates to software system technical field, particularly a kind of software system more new frame.Described framework includes front-end module, background service, ftp server and tag file.Front-end module is responsible for the version of software system and is represented and trigger version updating process;Background service is responsible for scanning downloaded software system upgrade bag, performs system version and updates and maintenance features file;Ftp server is then used for depositing software system and updates bag;The information that tag file is then used for realizing between front-end module and background service is mutual.The invention provides a kind of simple and general software system more new frame, utilize the existing software system of this framework extension, improve Consumer's Experience.
Description
Technical field
The present invention relates to software system technical field, particularly a kind of software system more new frame.
Background technology
The development of software is very rapid, and a version may be accomplished by being substituted within one week, and this version quickly changes
In generation, has become as normality.
Software supplier, may be frequent in initial following period of time after providing software system to use to end user
Need system is carried out that BUG reparation, database update, function are newly-increased etc. a series of updates operation.General software supplier
The method realizing updating operation has:
Method one: remotely the production environment to end user manually carries out system update.
Method two: the renewal to each user operates making one renewal bag, and is sent respectively to each user, then
Teaching each user removes to update the software system of oneself by doing and illustrating.
Although above method can solve the renewal of software system, but there is following drawback:
1, renewal process is loaded down with trivial details, and software system provider needs to safeguard the renewal upgrading of each system user, if used
Family amount is very big, and this process is unacceptable;
2, poor user experience, user may need to carry out frequently software upgrading during using software system, and
And this process user oneself is uncontrollable.
In order to reduce the software upgrading complicated processes of software supplier, improve the Experience Degree of end user simultaneously, need one
Plant new software system more new frame, to solve aforesaid problem.
Summary of the invention
Present invention solves the technical problem that and be to propose a kind of software system more new frame, software supplier can be reduced
Software upgrading complicated processes, improves the Experience Degree of end user simultaneously.
The present invention solves the technical scheme of above-mentioned technical problem, described framework include front-end module, background service,
Ftp server and tag file;
Mutual for system user of described front-end module, the version mainly realizing software system represents, it is provided that connect
Mouth triggers system version renewal process to system user;
Described background service mainly realizes scanning downloaded software system upgrade bag, performs system version and updates, feature
The maintenance of file;
Described tag file refers to a specific ordinary file, front-end module and background service all can regularly read or
Person writes the specific field inside this document, and both realize the mutual of information by these specific fields;
Described ftp server is the Typical Representative that a storage updates bag, it is also possible to be cloud disk;For depositing software
System update bag, and receive scanning and the download of background service.
Described version represents and includes showing software system current version information, if having latest edition to be available for upgrading etc.;
Described triggering system version renewal process refers to that user have sent upgrading to backstage service module and updates software system
The request of system.
Described software system updating bag is the APMB package of a specified format, includes software system more inside this document
The newly All Files required for upgrading, an and automatic installation script and a software upgrading script file.
The described system version renewal that performs refers to that the system update that receiving front-end user sends is asked and performs above-mentioned soft
Part updates script file.
Described tag file is safeguarded and is specifically included that
When background service is found to have software system redaction, then down loading updating bag revise the state word in tag file
Section is downloaded, and the information such as the version number of redaction be recorded tag file respective field;
Front-end module scanning tag file finds that state field is downloaded, then display systems is renewable, and simultaneously
Show new version information;
Front-end module is after user has carried out renewal updating operation, and the state field of tag file is revised by trigger event
For ready;
The system update request of background service receiving front-end module, the state field of reading tag file also judge, if
Ready then performs more new script, and the state field revised in tag file after renewal is restarted, revises other simultaneously
Respective field.
The present invention program has the beneficial effect that:
1, providing a kind of simple and general framework, in order to realize the simplification that software system updates, reducing software provides
The software upgrading complicated processes of business, improves the Experience Degree of software system end user simultaneously.
2, the framework of the present invention is applicable to almost all of software system, has only to carry out simply for existing software system
Extension can realize.
Accompanying drawing explanation
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the module map of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is carried out clear, complete description, it is clear that institute
The embodiment described is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention,
Those of ordinary skill in the art are not making the substantive scheme created and obtained, and broadly fall into the scope of protection of the invention.
Refer to Fig. 1, by the module map of a kind of software system more new frame that the embodiment of the present invention is provided.The present invention exists
The form devising a software system updating bag during realization is as follows:
Typ Packet type _ cut client's code name _ ver bag version _ md5 check code .zip
Wherein, Packet type can be no software system submodule, such as door, it is achieved end etc.;Client's code name is then
Represent the end user of each software system;Bag version refers to the version number of this AKU, can be with time marking;Md5 school
Test code for updating the completeness check of bag.
Updating and comprise automatic installation script inside AKU, such as install.sh, user environment can be certainly after downloading AKU
Dynamic this script of execution.
After software system provider specifies good upgrading to update bag for specific user, uploaded to ftp server etc.
Storage pool is deposited.
The present invention devises a tag file comprising following similar content during realizing simultaneously:
Version=20160112
Date=20160112
Type=portal
State=restarted
Needrestart=0
The background service timing scan ftp server that user environment runs, is applicable to the software of this locality more if finding to exist
New bag is then downloaded.Perform to update the install.sh script inside bag, this script load amendment tag file after down loading updating bag
Respective field, such as revise state=downloaded, depending on updating bag characteristic amendment needrestart=1 etc..
Front-end module can trigger an event when user enters into the system update page, and this event reads tag file
State field, if downloaded, then it represents that there is new renewal bag, event can read other of tag file further
Field (such as whether needing to restart service field needrestart) also returns to the page and is shown, to point out user to enter
The renewal operation of row software system.
User clicks on software upgrading and sends request to background service, and this process can trigger the state of amendment tag file
Field is ready.
Background service then performs the automatic upgrading updating in AKU after the mode field of scanning tag file is ready
Script, such as update.sh, completes the renewal upgrading of user software system.Upgrade script is regarding different user different update bag not
With, upgrade script can revise the state field in tag file after running succeeded be restarted, in order to is read by front-end module
Take displaying.
Claims (7)
1. a software system more new frame, it is characterised in that described framework includes front-end module, background service, FTP service
Device and tag file;
Mutual for system user of described front-end module, the version mainly realizing software system represents, it is provided that interface is given
System user triggers system version renewal process;
Described background service mainly realizes scanning downloaded software system upgrade bag, performs system version and updates, tag file
Maintenance;
Described tag file refers to a specific ordinary file, and front-end module and background service all can regularly read or write
Entering the specific field inside this document, both realize the mutual of information by these specific fields;
Described ftp server is the Typical Representative that a storage updates bag, it is also possible to be cloud disk;For depositing software system
Update bag, and receive scanning and the download of background service.
Software system the most according to claim 1 more new frame, it is characterised in that described version represent include showing soft
Part system current version information, if having latest edition to be available for upgrading etc.;
The described system version renewal process that triggers refers to that user have sent, to backstage service module, more new software system of upgrading
Request.
Software system the most according to claim 1 more new frame, it is characterised in that described software system updating bag is one
The APMB package of individual specified format, includes software system and updates the All Files required for upgrading, and one inside this document
Automatically installation script and a software upgrading script file.
Software system the most according to claim 2 more new frame, it is characterised in that described software system updating bag is one
The APMB package of individual specified format, includes software system and updates the All Files required for upgrading, and one inside this document
Automatically installation script and a software upgrading script file.
5. according to the software system more new frame described in any one of Claims 1-4, it is characterised in that described execution system
Version updating refers to that the system update that receiving front-end user sends is asked and performs above-mentioned software upgrading script file.
6. according to the software system more new frame described in any one of Claims 1-4, it is characterised in that described tag file
Maintenance specifically includes that
When background service is found to have software system redaction, then down loading updating bag the state field revised in tag file are
Downloaded, and the information such as the version number of redaction be recorded tag file respective field;
Front-end module scanning tag file finds that state field is downloaded, then display systems is renewable, and shows simultaneously
New version information;
Front-end module is after user has carried out renewal updating operation, and the state field of tag file is revised as by trigger event
ready;
The system update request of background service receiving front-end module, the state field of reading tag file also judge, if
Ready then performs more new script, and the state field revised in tag file after renewal is restarted, revises other simultaneously
Respective field.
Software system the most according to claim 5 more new frame, it is characterised in that described tag file safeguards main bag
Include:
When background service is found to have software system redaction, then down loading updating bag the state field revised in tag file are
Downloaded, and the information such as the version number of redaction be recorded tag file respective field;
Front-end module scanning tag file finds that state field is downloaded, then display systems is renewable, and shows simultaneously
New version information;
Front-end module is after user has carried out renewal updating operation, and the state field of tag file is revised as by trigger event
ready;
The system update request of background service receiving front-end module, the state field of reading tag file also judge, if
Ready then performs more new script, and the state field revised in tag file after renewal is restarted, revises other simultaneously
Respective field.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610486600.2A CN106201578A (en) | 2016-06-25 | 2016-06-25 | A kind of software system more new frame |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610486600.2A CN106201578A (en) | 2016-06-25 | 2016-06-25 | A kind of software system more new frame |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201578A true CN106201578A (en) | 2016-12-07 |
Family
ID=57460838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610486600.2A Pending CN106201578A (en) | 2016-06-25 | 2016-06-25 | A kind of software system more new frame |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201578A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608706A (en) * | 2017-09-26 | 2018-01-19 | 南京哈卢信息科技有限公司 | A kind of application program automatic heating update method based on functional module |
CN108270806A (en) * | 2016-12-30 | 2018-07-10 | 航天信息股份有限公司 | A kind of more application upgrade method and systems |
CN112379865A (en) * | 2020-11-03 | 2021-02-19 | 福建福诺移动通信技术有限公司 | Software development framework updating method based on Maven plug-in mechanism |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883226A (en) * | 2010-05-31 | 2010-11-10 | 中山大学 | Digital television updating method and digital television terminal |
CN102938857A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Method for on-line upgrading of STB (Set Top Box) |
CN103577214A (en) * | 2012-08-09 | 2014-02-12 | 罗森伯格(上海)通信技术有限公司 | Method and device for updating application program |
CN105354066A (en) * | 2015-11-30 | 2016-02-24 | 广东小天才科技有限公司 | OTA (over the air) downloading method and device and intelligent terminal |
-
2016
- 2016-06-25 CN CN201610486600.2A patent/CN106201578A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883226A (en) * | 2010-05-31 | 2010-11-10 | 中山大学 | Digital television updating method and digital television terminal |
CN103577214A (en) * | 2012-08-09 | 2014-02-12 | 罗森伯格(上海)通信技术有限公司 | Method and device for updating application program |
CN102938857A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Method for on-line upgrading of STB (Set Top Box) |
CN105354066A (en) * | 2015-11-30 | 2016-02-24 | 广东小天才科技有限公司 | OTA (over the air) downloading method and device and intelligent terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108270806A (en) * | 2016-12-30 | 2018-07-10 | 航天信息股份有限公司 | A kind of more application upgrade method and systems |
CN107608706A (en) * | 2017-09-26 | 2018-01-19 | 南京哈卢信息科技有限公司 | A kind of application program automatic heating update method based on functional module |
CN107608706B (en) * | 2017-09-26 | 2020-05-01 | 南京哈卢信息科技有限公司 | Automatic hot updating method for application program based on functional module |
CN112379865A (en) * | 2020-11-03 | 2021-02-19 | 福建福诺移动通信技术有限公司 | Software development framework updating method based on Maven plug-in mechanism |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866599B (en) | The production method and system of Visual Report Forms | |
CN108388445B (en) | Continuous integration method based on 'platform + application' mode | |
CN107832230B (en) | Test method, equipment and system based on data tuning | |
CN106610840A (en) | FOTA (Firmware Over-The-Air) upgrade method and system | |
CN103810257A (en) | Method and device for upgrading software database and equipment | |
CN106201578A (en) | A kind of software system more new frame | |
CN101515967A (en) | Over-the-air downloader of terminal firmware and method thereof | |
CN104035780A (en) | Method and device for publishing APK file | |
US10346262B2 (en) | Job management apparatus, job management method and computer readable medium to generate and execute a retry job when an error occurs during a job step | |
CN109445807A (en) | Realize the method, apparatus and computer readable storage medium of application program update | |
CN106406913B (en) | Method and system for extracting codes from project | |
CN105159718A (en) | Firmware updating method and device | |
US7958083B2 (en) | Interacting methods of data summarization | |
CN103019795A (en) | Method and system for upgrading software basic data | |
CN104915234B (en) | A kind of Android mobile terminal upgrading report method and system | |
CN110286883B (en) | Intelligent database coding monitoring method and device and electronic equipment | |
US20130346955A1 (en) | Calendar aware adaptive patching of a computer program | |
CN108733758B (en) | Hotel static data pushing method and device, electronic equipment and readable storage medium | |
CN103984554A (en) | Software design document generating method and device | |
CN104598382A (en) | Test control method and device | |
CN109634758A (en) | Method and middleware platform based on JSON document control event and behavior | |
CN103645968B (en) | A kind of browser status restored method and device | |
CN113220592B (en) | Processing method and device for automatic test resources, server and storage medium | |
CN101615131A (en) | The dispatching method of the storage means of timing task information and device and timed task | |
CN104123160A (en) | Element level updating method for navigation equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |
|
WD01 | Invention patent application deemed withdrawn after publication |