CN109324821A - A kind of self-service terminal system method for edition management - Google Patents
A kind of self-service terminal system method for edition management Download PDFInfo
- Publication number
- CN109324821A CN109324821A CN201811178136.6A CN201811178136A CN109324821A CN 109324821 A CN109324821 A CN 109324821A CN 201811178136 A CN201811178136 A CN 201811178136A CN 109324821 A CN109324821 A CN 109324821A
- Authority
- CN
- China
- Prior art keywords
- file
- version
- self
- terminal
- database
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses a kind of self-service terminal system method for edition management.After the system file of new version and original version are carried out verification comparison, in the database by delta file storage, rather than a service packs is formed.There is the file information of all versions in database in this way, the development course of system version can be easily checked by database.Database stocking system version file is used simultaneously, when there is system file and is tampered or needs to carry out version rollback in self-aided terminal, only the required system file of storage in the database need to be directly read out packing, it avoids in the case where occurring using service packs upgrading, when needing the file of multiple and different versions, it is difficult to the problem of detaching specified file from multiple service packs, simplifies process, improves efficiency.
Description
Technical field
The present invention relates to a kind of self-service terminal system method for edition management.
Background technique
Currently, gradually going deep into intelligent, with no paper process, the big service industry's unit of some flows of the people is used for
The artificial sales counter of offer simple services is replaced the equipment such as self-aided terminal.Such as bank, hospital all start to use now
A variety of different self-aided terminals provide intelligent operation service for customer, and achieve preferable effect.
And hospital provides unit as medical services, its own is there is certain particularity, for example large-scale synthesis
Hospital it is larger, and including more different department.This also just proposes requirements at the higher level to the use of self-aided terminal,
I.e. same hospital may may require that hundreds self-aided terminal while run and providing service, then just need while managing all
The operation of these self-aided terminals, therefore the software systems run on these self-aided terminals are also required to be managed collectively, in order to avoid there is system
Data disunity causes back-end data chaotic.And simultaneously as hospital there are multiple and different departments, between these departments for
The specific requirement of the requirement of self-aided terminal not identical or even inpatient department and clinic again is all had any different.And certainly due to hundreds
It helps terminal while running without interruption, it, generally should be using first by several self-aided terminal upgrading examinations when upgrading to software systems
Operation after new version is stablized, then is carried out onto all self-aided terminals with finding and handling the problem in time, so
When being controlled uniformly to self-aided terminal, also to allow the program version of different self-aided terminals different.And due to the hospital stream of people
It measures larger, it is also not possible to strict protection is carried out to every self-aided terminal, therefore after self-aided terminal program is tampered, it should it can also
Has the function easily by system reducing for correct program.
Summary of the invention
In order to solve the Hospitals at Present technical problem more for self-aided terminal service requirement, the present invention provides one kind can
The self-service terminal system method for edition management that self-aided terminal is managed collectively.
In order to achieve the above technical purposes, the technical scheme is that
A kind of self-service terminal system method for edition management, comprising the following steps:
New version updates:
Step 1, new version upload: the self-service terminal system file of new version being uploaded to server and life by monitoring backstage
At version number, then the system file of last version is read on monitoring backstage from database, by the system file of the two versions
Matching verification is carried out, delta file is saved to database, to complete the upload of new version;
Step 2, new version issue: selection needs the self-aided terminal for carrying out system update to be issued, and monitoring is from the background from database
It is middle that the system delta file of version needed for self-aided terminal is packed into incremental update packet, and send instructions under build version to data
In library;
Step 3 executes new version and updates: calling interface has checked whether to send instructions under updating terminal more new procedures on startup,
Send instructions under update if having, downloads incremental update packet and be updated;
A kind of self-service terminal system method for edition management, in the step one, in the self-service terminal system of new version
After file is uploaded to server, further include the steps that deleting garbage files, the garbage files be with needed for system upgrade
The unrelated file of file.
A kind of self-service terminal system method for edition management, in the step one, after garbage files are deleted,
Further include the steps that whether there is also files in the system file of detection upload, that is, detects whether using garbage files as system text
Part misinformation, such as there is also then continue to execute subsequent step, otherwise stop executing.
A kind of self-service terminal system method for edition management, in the step one, the build version number is
According to major release information stored in the system file uploaded, and using the system file upload time of the major release
Number, to integrate the version number of the system file as the secondary upload.
A kind of self-service terminal system method for edition management, in the step one, by the system of the two versions
File carries out matching verification, is to carry out matching verification according to md5 and file url.
A kind of self-service terminal system method for edition management, in the step one, by the system of the two versions
After file carries out matching verification, if being judged as and misinformating without delta file, stop executing subsequent step.
A kind of self-service terminal system method for edition management, further includes the steps that version rollback:
Monitor supervision platform issues movement to the version for needing the self-aided terminal for carrying out version rollback to execute corresponding rollback version: after monitoring
The system delta file of version needed for self-aided terminal is packed into increment rollback packet from database by platform, and build version issues
Instruction is into database;Calling interface has checked whether to send instructions under rollback terminal more new procedures on startup, if having under rollback
Send instructions, then download increment rollback packet and delete original version system file, then is installed with increment rollback packet.
A kind of self-service terminal system method for edition management, further includes the steps that version self-test:
Terminal updates the system file of the current self-aided terminal of program scanning, and scanning information is uploaded to monitoring backstage, after monitoring
Platform reads the whole file list of the version of this terminal and is verified, and finally obtains two set: newly-increased after version updating and
Modify the file information set and delete the file information set, and newly-increased file is packaged, then return the two set and under
Set address, if having the differentiation file to be downloaded after self-test, downloading and covering the file being tampered, if there is the text to be deleted
Part is then deleted.
The complete of the version of this terminal is read on a kind of self-service terminal system method for edition management, the monitoring backstage
Listed files is simultaneously verified, and is that file md5, file URL are uploaded to monitoring backstage by interface to verify.
The technical effects of the invention are that after by the way that the system file of new version and original version are carried out verification comparison, it will
Delta file stores in the database, rather than forms a service packs.There is the file letter of all versions in database in this way
Breath, can easily check the development course of system version by database.Database stocking system version file is used simultaneously,
It, only need to will be needed for storage in the database when self-aided terminal system file occurs and is tampered or needs to carry out version rollback
The system file wanted directly is read out packing, avoids in the case where occurring using service packs upgrading, is needing multiple and different versions
When this file, it is difficult to which the problem of detaching specified file from multiple service packs simplifies process, improve efficiency.
Detailed description of the invention
Fig. 1 is the flow diagram that new version system file of the present invention uploads;
Fig. 2 is the flow diagram that new version system file of the present invention issues;
Fig. 3 is the flow diagram of present system rollback.
Specific embodiment
Referring to Fig. 1, the present invention is when executing new version update, comprising the following steps:
The self-service terminal system file of new version is uploaded to server and build version number by monitoring backstage, so by step 1
The system file of last version is read on monitoring backstage from database afterwards, and the system file of the two versions is carried out matching school
It tests, delta file is saved to database, to complete the upload of new version;
Step 2, new version issue: selection needs the self-aided terminal for carrying out system update to be issued, and monitoring is from the background from database
It is middle that the system delta file of version needed for self-aided terminal is packed into incremental update packet, and send instructions under build version to data
In library;
Step 3 executes new version and updates: calling interface has checked whether to send instructions under updating terminal more new procedures on startup,
Send instructions under update if having, downloads incremental update packet and be updated;
Due to when carrying out the research and development of system file update, it is possible to can be by some file storages unrelated with system upgrade to liter
In grade version file, such as journal file, temporary file etc..And when carrying out new version publication, these files may be missed
It passes in released version, is likely to be identified as the delta file of system upgrade generation in verification after uploading due to these files
And be uploaded in self-aided terminal, therefore after the self-service terminal system file of new version is uploaded to server, it further include by rubbish
The step of file is deleted, to ensure the pure of system file.Garbage files are the file unrelated with file needed for system upgrade, packet
Journal file above-mentioned, temporary file etc. are included but are not limited to, specific garbage files identification can carry out classification summary by research and development side,
New version system file carries out corresponding check and deletes after uploading onto the server.
Since the system file of new version uploads publication generally by artificial, and manual operation may have fault,
May misinformate all garbage files a series of files as new version system file, then when detecting garbage files,
These files can all be deleted, that is, the system file uploaded is deleted into empty file.Therefore after deleting garbage files, also
Include the steps that whether there is also files in the system file of detection upload, that is, detect whether using garbage files as system file
Misinformation, such as there is also then continue to execute subsequent step, otherwise stop execution, in order to avoid there are other mistakes.
In order to be distinguished to the system file that different times upload, the present invention can generate one when system file uploads
Corresponding version number, version number are big according to major release information stored in the system file uploaded, and using this
The system file of version number uploads number, to integrate the version number of the system file as the secondary upload.It is stored up in system file
The major release information general record deposited parses major release from this encryption file in a specific encryption file,
Then it is added up backward minor release/point release according to the number that the system file using this major release uploads, for example major release is
1.2, the system file using this major release 1.2 this time received is the 3rd uploaded, then the version number generated is
1.2.03.Specific version number usage mode can also be adjusted according to the actual situation.
It in order to carry out accurately matching verification, while being also required to improve efficiency as far as possible, the present invention is carrying out two versions
It is that matching verification is carried out according to md5 and file url when this system file matches verification.File URL refers to the road of file
Diameter, since the outermost layer catalogue of program file, document retaining name and file suffixes.
Likewise, system file identical with version before of having misinformated in order to prevent, the system of the two versions is literary
After part carries out matching verification, if being judged as and misinformating without delta file, stop executing subsequent step.
When self-aided terminal occurs that new system file is not suitable with current operation demand or new version goes wrong, need
When returning to previous version, then monitor supervision platform is under the version for needing the self-aided terminal for carrying out version rollback to execute corresponding rollback version
Start to make: the system delta file of version needed for self-aided terminal is packed into increment rollback packet from database by monitoring backstage,
And send instructions under build version into database;Calling interface has checked whether to bristle with anger under rollback terminal more new procedures on startup
It enables, if sending instructions under having rollback, downloads increment rollback packet and delete original version system file, then pacified with increment rollback packet
Dress.
In order to which the self-aided terminal reduction for being tampered system file or generating system mistake causes system file to be lost is positive
The step of normal system, the invention also includes version self-tests: terminal updates the system file of the current self-aided terminal of program scanning, and will
Scanning information is uploaded to monitoring backstage, and monitoring backstage is read the whole file list of the version of this terminal and verified, final
Gather to two: newly-increased and modification the file information set after version updating and deleting the file information set, and by newly-increased file
It is packaged, then returns to the two set and download address is downloaded and covered if there is the differentiation file to be downloaded after self-test
The file being tampered is deleted if there is the file to be deleted.
It for the purposes of carrying out accurately matching verification, while being also required to improve efficiency as far as possible, this is read in monitoring backstage
The whole file list of the version of terminal is simultaneously verified, be by file md5, file URL by interface be uploaded to monitoring backstage into
Row verification.
In fact, generally requiring after terminal program file is tampered or lacks and executing two steps: first, verification
The program file of self-aided terminal, this just needs backstage to store the version information of this self-aided terminal and the full dose of this version
The file information of (rather than service packs);Second, by differential file, (these possible files are separately present in multiple with missing file
In the upgrade patch of version) pull out the special reduction service packs for carrying out and being packaged into this terminal.
If carrying out system update in the form of service packs, storage system file is just needed in addition again
Relevant information, and be updated using database form of the present invention, then relevant information is already stored in database, is not required to again
In addition it saves.And in order to realize second step, specified file must be just pulled out from each service packs is repackaged into one again
Special service packs, this operation be it is relatively difficult, especially encounter complications, efficiency is low-down.But for by file
Storage in the database, can directly directly read file stream in each version, then be packaged into special reduction service packs,
Process is very simple, and efficiency is also high.
Claims (9)
1. a kind of self-service terminal system method for edition management, which comprises the following steps:
New version updates:
Step 1, new version upload: the self-service terminal system file of new version being uploaded to server and life by monitoring backstage
At version number, then the system file of last version is read on monitoring backstage from database, by the system file of the two versions
Matching verification is carried out, delta file is saved to database, to complete the upload of new version;
Step 2, new version issue: selection needs the self-aided terminal for carrying out system update to be issued, and monitoring is from the background from database
It is middle that the system delta file of version needed for self-aided terminal is packed into incremental update packet, and send instructions under build version to data
In library;
Step 3 executes new version and updates: calling interface has checked whether to send instructions under updating terminal more new procedures on startup,
Send instructions under update if having, downloads incremental update packet and be updated.
2. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that the step one
In, after the self-service terminal system file of new version is uploaded to server, further include the steps that deleting garbage files, it is described
Garbage files are the file unrelated with file needed for system upgrade.
3. a kind of self-service terminal system method for edition management according to claim 2, which is characterized in that the step one
In, after deleting garbage files, further include the steps that i.e. detection is whether there is also file in the system file of detection upload
No to misinformate garbage files as system file, such as there is also then continue to execute subsequent step, otherwise stop executing.
4. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that the step one
In, the build version number is big according to major release information stored in the system file uploaded, and using this
The system file of version number uploads number, to integrate the version number of the system file as the secondary upload.
5. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that the step one
In, the system file of the two versions is subjected to matching verification, is that matching verification is carried out according to md5 and file url.
6. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that the step one
In, after the system file of the two versions is carried out matching verification, if being judged as and misinformating without delta file, stop
Only execute subsequent step.
7. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that further include that version is returned
The step of rolling:
Monitor supervision platform issues movement to the version for needing the self-aided terminal for carrying out version rollback to execute corresponding rollback version: after monitoring
The system delta file of version needed for self-aided terminal is packed into increment rollback packet from database by platform, and build version issues
Instruction is into database;Calling interface has checked whether to send instructions under rollback terminal more new procedures on startup, if having under rollback
Send instructions, then download increment rollback packet and delete original version system file, then is installed with increment rollback packet.
8. a kind of self-service terminal system method for edition management according to claim 1, which is characterized in that further include version from
The step of inspection:
Terminal updates the system file of the current self-aided terminal of program scanning, and scanning information is uploaded to monitoring backstage, after monitoring
Platform reads the whole file list of the version of this terminal and is verified, and finally obtains two set: newly-increased after version updating and
Modify the file information set and delete the file information set, and newly-increased file is packaged, then return the two set and under
Set address, if having the differentiation file to be downloaded after self-test, downloading and covering the file being tampered, if there is the text to be deleted
Part is then deleted.
9. a kind of self-service terminal system method for edition management according to claim 8, which is characterized in that after the monitoring
Platform reads the whole file list of the version of this terminal and is verified, and is that file md5, file URL are uploaded to prison by interface
Control backstage is verified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811178136.6A CN109324821B (en) | 2018-10-10 | 2018-10-10 | Self-service terminal system version management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811178136.6A CN109324821B (en) | 2018-10-10 | 2018-10-10 | Self-service terminal system version management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324821A true CN109324821A (en) | 2019-02-12 |
CN109324821B CN109324821B (en) | 2021-11-05 |
Family
ID=65261967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811178136.6A Active CN109324821B (en) | 2018-10-10 | 2018-10-10 | Self-service terminal system version management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324821B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826030A (en) * | 2019-11-08 | 2020-02-21 | 湖南长城医疗科技有限公司 | Self-service software and related module authorization use method |
CN111061699A (en) * | 2019-11-05 | 2020-04-24 | 广西电网有限责任公司 | Method and device for updating database version of electric energy meter |
CN112434051A (en) * | 2020-11-03 | 2021-03-02 | 北京思特奇信息技术股份有限公司 | Method and system for efficiently storing music copyright data |
CN114020299A (en) * | 2021-11-16 | 2022-02-08 | 四川长虹电器股份有限公司 | Method for updating android device system file |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701930A (en) * | 2014-01-07 | 2014-04-02 | 浙江大学 | Mobile application program real-time updating method and system |
CN103713928A (en) * | 2013-12-31 | 2014-04-09 | 优视科技有限公司 | Incremental file generating method, and application program installing file updating method and device |
CN105591824A (en) * | 2016-01-14 | 2016-05-18 | 杭州赫智电子科技有限公司 | Method and system for firmware upgrade |
CN105763369A (en) * | 2016-02-04 | 2016-07-13 | 湖南长城信息金融设备有限责任公司 | Terminal equipment remote software version distribution method and system |
EP3070621A1 (en) * | 2015-03-16 | 2016-09-21 | HERE Global B.V. | Version management for incrementally compiled map data |
CN106648716A (en) * | 2015-10-30 | 2017-05-10 | 北京数码视讯科技股份有限公司 | Increment updating method, server and intelligent card |
CN108469960A (en) * | 2017-07-28 | 2018-08-31 | 新华三技术有限公司 | A kind of method for edition management and device |
-
2018
- 2018-10-10 CN CN201811178136.6A patent/CN109324821B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713928A (en) * | 2013-12-31 | 2014-04-09 | 优视科技有限公司 | Incremental file generating method, and application program installing file updating method and device |
CN103701930A (en) * | 2014-01-07 | 2014-04-02 | 浙江大学 | Mobile application program real-time updating method and system |
EP3070621A1 (en) * | 2015-03-16 | 2016-09-21 | HERE Global B.V. | Version management for incrementally compiled map data |
CN106648716A (en) * | 2015-10-30 | 2017-05-10 | 北京数码视讯科技股份有限公司 | Increment updating method, server and intelligent card |
CN105591824A (en) * | 2016-01-14 | 2016-05-18 | 杭州赫智电子科技有限公司 | Method and system for firmware upgrade |
CN105763369A (en) * | 2016-02-04 | 2016-07-13 | 湖南长城信息金融设备有限责任公司 | Terminal equipment remote software version distribution method and system |
CN108469960A (en) * | 2017-07-28 | 2018-08-31 | 新华三技术有限公司 | A kind of method for edition management and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061699A (en) * | 2019-11-05 | 2020-04-24 | 广西电网有限责任公司 | Method and device for updating database version of electric energy meter |
CN111061699B (en) * | 2019-11-05 | 2024-02-09 | 广西电网有限责任公司 | Method and device for updating version of electric energy meter database |
CN110826030A (en) * | 2019-11-08 | 2020-02-21 | 湖南长城医疗科技有限公司 | Self-service software and related module authorization use method |
CN110826030B (en) * | 2019-11-08 | 2023-09-15 | 湖南长城医疗科技有限公司 | Self-service software and related module authorization use method |
CN112434051A (en) * | 2020-11-03 | 2021-03-02 | 北京思特奇信息技术股份有限公司 | Method and system for efficiently storing music copyright data |
CN114020299A (en) * | 2021-11-16 | 2022-02-08 | 四川长虹电器股份有限公司 | Method for updating android device system file |
Also Published As
Publication number | Publication date |
---|---|
CN109324821B (en) | 2021-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109324821A (en) | A kind of self-service terminal system method for edition management | |
US10175969B2 (en) | Data processing for upgrading medical equipment | |
CN107908421B (en) | Software code version management and release method and device | |
US8555245B2 (en) | Automated application generation method and system | |
CN105653329A (en) | Application management method, apparatus and system | |
US9075633B2 (en) | Configuration of life cycle management for configuration files for an application | |
JP5535484B2 (en) | Automated software testing framework | |
US8806471B2 (en) | Upgrade and downgrade in package update operations | |
US20110307881A1 (en) | Multi-branch management for updating software | |
CN101784998A (en) | System and method for delivering software | |
CN106201552A (en) | A kind of method for upgrading software, client, server and system | |
US20080072219A1 (en) | Deployment and versioning of applications | |
US20090100158A1 (en) | Backup and Recovery System for Multiple Device Environment | |
CN109298871B (en) | Software version monitoring and deploying method for intelligent scheduling system of power grid | |
CN106575227B (en) | Automatic software update framework | |
CN101616018A (en) | The method of upgrading network management software and device | |
CN103946794B (en) | The system of the rolling upgrade of data characteristicses, apparatus and method | |
CN110019138B (en) | Automatic transfer table space migration method and system based on Zabbix | |
US20150178065A1 (en) | Dynamic delivery and integration of static content into cloud | |
CN108156003A (en) | A kind of application upgrade method and terminal, server, system | |
US7181739B1 (en) | Installation relationship database | |
CN108052336A (en) | A kind of distributed software upgrade-system and its implementation | |
CN102256242B (en) | System and method for processing service application | |
CN111506358A (en) | Method and device for updating container configuration | |
CN101952816A (en) | System and method for verifying delivered software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |