CN109710290A - A kind of method of embedded type terminal equipment flash disk upgrading - Google Patents
A kind of method of embedded type terminal equipment flash disk upgrading Download PDFInfo
- Publication number
- CN109710290A CN109710290A CN201811605658.XA CN201811605658A CN109710290A CN 109710290 A CN109710290 A CN 109710290A CN 201811605658 A CN201811605658 A CN 201811605658A CN 109710290 A CN109710290 A CN 109710290A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- flash disk
- file
- terminal
- upgrade file
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000006837 decompression Effects 0.000 claims abstract description 6
- 238000003780 insertion Methods 0.000 claims abstract description 6
- 230000037431 insertion Effects 0.000 claims abstract description 6
- 230000008878 coupling Effects 0.000 claims abstract description 4
- 238000010168 coupling process Methods 0.000 claims abstract description 4
- 238000005859 coupling reaction Methods 0.000 claims abstract description 4
- 238000012423 maintenance Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000007795 chemical reaction product Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of methods of embedded type terminal equipment flash disk upgrading, comprising the following steps: updates simultaneously build version message file;Write upgrade script;Upgrade script reading terminals software, hardware, driving version information, and are compared with information in version information file, determine upgrade file whether with this terminal coupling;Upgrade file is copied to terminal according to filename and corresponds to catalogue by upgrade script, and whether the upgrade file for verifying terminal and flash disk is consistent;Upgrade file packet is generated, carries out upgrade file encryption, and upgrade file packet is copied into flash disk;Terminal program initiates a thread, and poll detects flash disk insert state;After detecting flash disk insertion, upgrade file packet is searched for, and executes upgrade script after decompression upgrade file packet is decrypted, completes upgrade job.The method of embedded type terminal equipment flash disk upgrading disclosed by the invention, simplifies terminal upgrade workload.
Description
Technical field
The present invention relates to a kind of methods that technical field of memory more particularly to embedded type terminal equipment flash disk upgrade.
Background technique
Demand with user to built-in terminal product function is continuously increased, the upgrading to end product program, driving
Further frequently.For being placed in open air, not having the end product of fast wireless network function, upgrade job is to maintenance people
Member brings very big workload.Therefore need to find the side of convenient, the reliable upgrading terminals application program of one kind and driving
Method.
In the prior art, using modes such as ssh, ftp based on Ethernet RJ45 interface, physical connection is established with terminal
Afterwards, upgrade file is passed in the file system of terminal, replaces original application program, driving, loaded automatically after terminal is restarted
New driving, runs new procedures.Technical solution in the prior art has the disadvantages that application program, driving are located at not identical text
Part needs to copy respectively when pressing from both sides, and if you need to upgrade multiple files, process is comparatively laborious.File copy process is such as abnormal, and having can
It can cause file corruption that upgrading is caused to fail.
Based on the above issues, therefore, to those skilled in the art, how preferably to realize and upgraded eventually by flash disk
The technical issues of holding program, driving, being urgent need to resolve.
Summary of the invention
Technical problems based on background technology, the invention proposes a kind of sides of embedded type terminal equipment flash disk upgrading
Previous upgrading terminals program, driving are needed the work of maintenance personnel's multi-pass operation, are reduced to only need maintenance personnel that will deposit by method
There is the flash disk insertion terminal of upgrade file packet, remaining upgrade job is completed by terminal automatic running upgrade script.
A kind of method of embedded type terminal equipment flash disk upgrading proposed by the present invention, comprising the following steps:
Update simultaneously build version message file;
Write upgrade script;
Upgrade script reading terminals software, hardware, driving version information, and compared with information in version information file
It is right, determine upgrade file whether with this terminal coupling;
Upgrade file is copied to terminal according to filename and corresponds to catalogue by upgrade script, and verifies the upgrading of terminal and flash disk
Whether file is consistent;
Upgrade file packet is generated, carries out upgrade file encryption, and upgrade file packet is copied into flash disk;
Terminal program initiates a thread, and poll detects flash disk insert state;
After detecting flash disk insertion, upgrade file packet is searched for, and executes upgrading foot after decompression upgrade file packet is decrypted
This, completes upgrade job.
Preferably, the version that program file provided by this time upgrading is identified in the version information file, drives file
This information, and applicable hardware revision information.
Preferably, whether the upgrade file for verifying terminal and flash disk by md5sum mode is consistent.
Preferably, it generates in upgrade package step, concrete mode are as follows: upgrade procedure, driving, version are believed by zip order
File, upgrade script progress ciphered compressed are ceased, a upgrade file packet is generated.
A kind of method of embedded type terminal equipment flash disk upgrading provided in the present invention, by previous upgrading terminals program, drives
The dynamic work for needing maintenance personnel's multi-pass operation is reduced to that maintenance personnel is only needed to be inserted into the flash disk for having upgrade file packet eventually
End, remaining upgrade job are completed by terminal automatic running upgrade script.In addition, it is desirable to which file upgraded, it can be by script certainly
By being arranged.Meanwhile by terminal program to be upgraded, driving, upgrade file version information, upgrade script by ciphered compressed to upgrading
File packet is saved to flash disk, and encryption can prevent upgrade file to be stolen.Terminal program possesses the key of decompression this document, terminal inspection
After measuring flash disk insertion, decompression upgrade file packet and then automatic running upgrade script are automatically performed terminal upgrade work;The above function
Terminal upgrade workload can be enormously simplified.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for embedded type terminal equipment flash disk upgrading proposed by the present invention.
Specific embodiment
As shown in FIG. 1, FIG. 1 is a kind of flow charts of the method for embedded type terminal equipment flash disk upgrading proposed by the present invention.
The present invention is described in detail below with reference to the accompanying drawings and embodiments.
A kind of method of embedded type terminal equipment flash disk upgrading, comprising the following steps:
S1: updating and build version message file, wherein journey provided by this time upgrading is identified in version information file
Preface part, the version information for driving file, and applicable hardware revision information;
S2: upgrade script is write;
S3: upgrade script reading terminals software, hardware, driving version information, and carried out with information in version information file
Compare, determine upgrade file whether with this terminal coupling;
S4: upgrade file is copied to terminal according to filename and corresponds to catalogue by upgrade script, and passes through md5sum mode school
Whether the upgrade file for testing terminal and flash disk is consistent;
S5: ciphered compressed is carried out to upgrade procedure, driving, version information file, upgrade script by zip order, is generated
One upgrade file packet, and upgrade file packet is copied into flash disk;
S6: terminal program initiates a thread, and poll detects flash disk insert state;
S7: after detecting flash disk insertion, searching for upgrade file packet, and executes upgrading after decompression upgrade file packet is decrypted
Script completes upgrade job.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (4)
1. a kind of method of embedded type terminal equipment flash disk upgrading, which comprises the following steps:
Update simultaneously build version message file;
Write upgrade script;
Upgrade script reading terminals software, hardware, driving version information, and be compared with information in version information file, really
Determine upgrade file whether with this terminal coupling;
Upgrade file is copied to terminal according to filename and corresponds to catalogue by upgrade script, and verifies the upgrade file of terminal and flash disk
It is whether consistent;
Upgrade file packet is generated, carries out upgrade file encryption, and upgrade file packet is copied into flash disk;
Terminal program initiates a thread, and poll detects flash disk insert state;
After detecting flash disk insertion, upgrade file packet is searched for, and executes upgrade script after decompression upgrade file packet is decrypted, it is complete
At upgrade job.
2. the method for embedded type terminal equipment flash disk upgrading according to claim 1, which is characterized in that the version information
The version information for identifying program file provided by this time upgrading in file, driving file, and applicable hardware version letter
Breath.
3. the method for embedded type terminal equipment flash disk upgrading according to claim 1, which is characterized in that by the side md5sum
Formula verifies terminal and whether the upgrade file of flash disk is consistent.
4. the method for embedded type terminal equipment flash disk upgrading according to claim 1, which is characterized in that generate upgrade package step
In rapid, concrete mode are as follows: ciphered compressed is carried out to upgrade procedure, driving, version information file, upgrade script by zip order,
Generate a upgrade file packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811605658.XA CN109710290A (en) | 2018-12-27 | 2018-12-27 | A kind of method of embedded type terminal equipment flash disk upgrading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811605658.XA CN109710290A (en) | 2018-12-27 | 2018-12-27 | A kind of method of embedded type terminal equipment flash disk upgrading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109710290A true CN109710290A (en) | 2019-05-03 |
Family
ID=66258420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811605658.XA Withdrawn CN109710290A (en) | 2018-12-27 | 2018-12-27 | A kind of method of embedded type terminal equipment flash disk upgrading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710290A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111736879A (en) * | 2020-08-27 | 2020-10-02 | 北京安帝科技有限公司 | Software upgrading method and system and computer |
CN113721952A (en) * | 2021-08-09 | 2021-11-30 | 青岛鼎信通讯股份有限公司 | Embedded software upgrading method applied to acquisition terminal |
-
2018
- 2018-12-27 CN CN201811605658.XA patent/CN109710290A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111736879A (en) * | 2020-08-27 | 2020-10-02 | 北京安帝科技有限公司 | Software upgrading method and system and computer |
CN111736879B (en) * | 2020-08-27 | 2020-12-22 | 北京安帝科技有限公司 | Software upgrading method and system and computer |
CN113721952A (en) * | 2021-08-09 | 2021-11-30 | 青岛鼎信通讯股份有限公司 | Embedded software upgrading method applied to acquisition terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736978B (en) | A kind of method and device detecting the installment state of application program | |
CN101436138B (en) | Control device and control method for software upgrade and dynamic rolling back | |
CN107239288B (en) | Version upgrading method and device for mobile terminal | |
WO2018090642A1 (en) | Application program upgrade method, user terminal and storage medium | |
US20070061800A1 (en) | System and method for updating software in a network device | |
CN107783776B (en) | Processing method and device of firmware upgrade package and electronic equipment | |
CN104484240B (en) | Terminal data storage method and device | |
CN107770622A (en) | The method and operating method of file in a kind of renewal linux system | |
CN106445643B (en) | It clones, the method and apparatus of upgrading virtual machine | |
US20170024164A1 (en) | Forensic data acquisition apparatus and method for guaranteeing integrity of flash memory in smart device | |
CN103218242A (en) | Method of automatic update | |
CN106210877A (en) | The method for upgrading system of intelligent television and device | |
CN109710290A (en) | A kind of method of embedded type terminal equipment flash disk upgrading | |
CN107632901A (en) | A kind of self-repair method and device of application program operation exception | |
CN113330419B (en) | Equipment application installation method, device, equipment and storage medium | |
CN106201640A (en) | A kind of method and device of BootLoader program of upgrading | |
CN105550071B (en) | System file upgrades and detection method, communication equipment | |
CN106303709A (en) | A kind of Set Top Box and application program updating method, system | |
CN107239299A (en) | Plug-in unit upgrade method and device | |
CN112749383A (en) | Software authentication method and related product | |
US10489137B1 (en) | Software verification system and methods | |
CN114625399A (en) | System upgrading method and related device, equipment and storage medium | |
CN116820528A (en) | Firmware version upgrading method and device, chip and electronic equipment | |
CN104317645B (en) | A kind of method and device of Application Instance listening port | |
CN106445737A (en) | Multi-backup starting method |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190503 |