Software upgrading method for solving upgrading failure due to insufficient disk space

A technology for upgrade failure and disk space, which is applied in the direction of program control design, instrument, electrical digital data processing, etc. It can solve the problems of upgrade failure, decompression failure, and the sum of upgrade file size exceeds the available space of the system, so as to reduce the system space. demand, increase the upgrade success rate, and reduce the effect of cost input

Inactive Publication Date: 2018-03-20
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a software upgrade method that solves the problem of upgrade failure caused by insufficient disk space. During the process of decompressing the upgrade package, the sum of the size of the upgrade package and the decompressed upgrade file will easily exceed the available space of the system. If the disk space is limited, there will be a problem that the decompression fails and the system software upgrade fails

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] The embodiment of the present invention solves the software upgrade method for upgrade failure caused by insufficient disk space, including the following steps:

[0028] Step 1. Use the split command tool under the linux operating system to cut the prepared upgrade file into multiple small files, and number the cut small files at the same time. Among them, the upgrade offset address of the first small file is 0;

[0029] Step 2. Package and compress the cut multiple small files as a whole to generate the final upgrade package;

[0030] Step 3, extract the first small file in the upgrade package, preferably, use the extract command tool to extract the divided small file;

[0031] Step 4. Use the extracted small file to upgrade according to the offset address of the currently upgraded small file. Preferably, use the extracted small file to upgrade using the dd command tool;

[0032] Step 5. Record the size of this small file and add it to the previously upgraded offset ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a self-software upgrading technology of an intelligent hardware product in a definite disk space, solves the problem that in a process of decompressing an upgrade patch, the system software is unsuccessfully upgraded as a result of a decompressing failure once the disk space is definite because the sum of the upgrade patch and the decompressed upgraded files is likely to exceed the available space of the system, and provides a software upgrading method for solving upgrading failure due to an insufficient disk space. The technical scheme is as follows: the method comprises the following steps: cutting a prepared upgrading file into a plurality of small files and numbering the cut small files; integrally packaging and compressing the plurality of cut small files to generate a final upgrade patch; extracting the first small file in the upgrade patch; carrying out upgrading by employing the extracted small file according to the offset address of the current upgraded small file; and finishing upgrading of the whole system till residual small files are upgraded.

Description

technical field [0001] The invention relates to a system file processing technology, in particular to a technology for intelligent hardware products to complete self-software upgrades in limited disk space. Background technique [0002] With the rise of the Internet of Things, the penetration rate of smart electronic devices is increasing. In order to complete the collection and transmission of various types of data, various types of smart devices are used more and more widely. To realize the Internet of Things and visualization of data, intelligent collection terminals, data concentrators, and controllers have become indispensable for energy collection and transmission to achieve visual management. few components. New functions such as remote data collection and transmission, remote intelligent control, and intelligent power consumption. These functions based on intelligent system processing will be updated and upgraded from time to time in the subsequent use process to re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44578
Inventor 郑才君
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products