A system upgrading method and apparatus

A system upgrade and upgrade package technology, applied in the field of communication, can solve the problems of high failure probability and long upgrade process, and achieve the effect of improving the upgrade success rate, reducing the duration, and reducing the cache space requirements

Active Publication Date: 2019-02-01
ZTE CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main technical problem to be solved by the embodiments of the present invention is to provide a system upgrade method and device to solve the problems in the prior art that the upgrade process is long and the failure probability is high due to partition modification

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A system upgrading method and apparatus
  • A system upgrading method and apparatus
  • A system upgrading method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a system upgrade method, please refer to figure 1 , figure 1 A flowchart of a system upgrade method provided in this embodiment, the method includes the following steps:

[0024] S101: Obtain an upgrade package;

[0025] S102: Analyze the upgrade sequence when upgrading the data of each partition from the upgrade package, the upgrade sequence is determined according to the type of partition table change, and the upgrade sequence includes forward sequence and reverse sequence;

[0026] Different projects have different numbers of partitions, but the main partitions and their arrangement order are consistent. For example, the system includes sbl1 partition, rpm partition, modem partition, boot partition, recovery partition, tz partition, system partition, userdata (user data ) partitions and arrange them in this order. At this time, the positive sequence upgrade is to upgrade the following partitions in sequence: sbl1 partition, rpm partition, ...

Embodiment 2

[0081] This embodiment provides a system upgrade device, please refer to Figure 5 , Figure 5 A schematic diagram of a system upgrade device provided in this embodiment, the system upgrade device includes: an acquisition module 501, an analysis module 502 and an upgrade module 503, wherein,

[0082]An acquisition module 501, configured to acquire an upgrade package;

[0083] The parsing module 502 is used to parse out the upgrade sequence when upgrading the data of each partition from the upgrade package, the upgrade sequence is determined according to the type of partition table change, and the upgrade sequence includes forward sequence and reverse sequence;

[0084] Different projects have different numbers of partitions, but the main partitions and their arrangement order are consistent. For example, the system includes sbl1 partition, rpm partition, modem partition, boot partition, recovery partition, tz partition, system partition, userdata (user data ) partitions and ...

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 embodiment of the invention provides a system upgrading method and device. The upgrade sequence of the data of each partition is resolved from the upgrade package. The upgrade sequence is determined according to the type of the partition table, and the upgrade sequence includes positive sequence and negative sequence. According to the upgrade order, the data in the source partition table is migrated to the new partition table after being processed according to the preset rules. By adopting the above scheme, the reverse order or positive sequence movement mode is adopted to realize the conversion of the source partition table-new partition table data, without having to back up the data in full. The invention reduces the requirement of cache space in the moving process without full backup of the data, so that the unupgraded or unmoved data is not destroyed, and the processed data is occupied in time, the limited space is fully utilized, the efficiency of backup recovery is improved,the time required in the upgrading process is reduced, and the upgrading success rate is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a system upgrading method and device. Background technique [0002] At present, in the process of project development, due to the increase of bureau applications or google (Google) patches, the remaining space of the system (system) will become smaller and smaller. At this time, it is necessary to modify the partition table, for example, increase the system partition, or new Additional partitions, etc. [0003] Partition changes will inevitably involve the issue of how to retain user data. The existing variable partition schemes mention that all data is backed up and rewritten after the new partition table is divided. When the user data is large, an external storage device is required, and the upgrade process takes a long time. , and the probability of failure is high. Contents of the invention [0004] The main technical problem to be solved by the embodiments of the present invent...

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): G06F8/65
CPCG06F9/44505
Inventor 袁林
Owner ZTE CORP
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