System upgrading method and device, equipment and storage medium

Through parallel scheduling execution and block downloading methods, the problems of long file system upgrade time and high hardware cost in the prior art are solved, and more efficient system upgrade and the effect of reducing hardware cost is achieved.

CN119960801APending Publication Date: 2025-05-09NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510170298.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

When upgrading the operating system file system, the existing technology requires downloading a complete upgrade package at one time and writing the file system partition, which results in a long time and requires a large storage space, increasing the hardware cost of the device.

Method used

By obtaining the data association information of multiple upgrade data blocks in the upgrade package, and scheduling and execution of multiple data processing tasks in parallel, only the upgrade data blocks corresponding to the original data block to be updated are downloaded, and the upgrade data blocks in the data storage partition are deleted after the update is completed in the file system partition.

Benefits of technology

Reduces system upgrade time, improves system upgrade efficiency, and reduces equipment hardware costs through block downloads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960801A_ABST
    Figure CN119960801A_ABST
Patent Text Reader

Abstract

The invention discloses a system upgrading method and device, equipment and a storage medium, and the method comprises the steps: obtaining the position information of a plurality of upgrading data blocks in an upgrading package, the data volume of each upgrading data block is smaller than the storable data volume of a data storage partition, and the data volume of the upgrading package is larger than the storable data volume; in the process of performing parallel scheduling execution on the plurality of data processing tasks, in response to an execution instruction for the current scheduling task, when the original data block is a to-be-updated data block, downloading a target upgrade data block to a data storage partition, the target upgrading data block is deleted after the original data block is updated based on the target upgrading data block, and the original data block is a data block determined from the file system partition based on the position information of the target upgrading data block in the upgrading package; and obtaining the upgraded file system partition after the execution of the plurality of data processing tasks is finished. According to the scheme, the system upgrading efficiency can be improved, and meanwhile the equipment storage cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of system upgrade, and in particular to a system upgrade method, device, equipment and storage medium. Background Art

[0002] In the prior art, when upgrading the file system of the operating system, it is necessary to download the complete upgrade package to the data storage partition at one time, and then flash the file system partition based on the upgrade package in the data storage partition. If the upgrade package is large, downloading the upgrade package and flashing the file system partition will be time-consuming, and a larger data storage space is required to store the upgrade package, which increases the hardware cost of the device. Summary of the invention

[0003] The present application provides a system upgrade method, apparatus, device and storage medium, which can reduce system upgrade time, improve system upgrade efficiency, and effectively reduce device hardware costs.

[0004] The technical solution of this application is as follows:

[0005] In one aspect, a system upgrade method is provided, the method being applied to an operating system including a file system partition and a data storage partition, the method comprising:

[0006] In response to an upgrade instruction for the file system partition, data association information corresponding to each of a plurality of upgrade data blocks in the upgrade package is obtained, wherein the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block is smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package is larger than the storable data volume;

[0007] Performing parallel scheduling execution on a plurality of data processing tasks, each data processing task corresponding to one of the plurality of upgraded data blocks;

[0008] In the process of parallel scheduling and executing the multiple data processing tasks, in response to an execution instruction for the current scheduled task, when the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted; the target upgrade data block is an upgrade data block corresponding to the current scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is a data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package;

[0009] After the execution of the multiple data processing tasks is completed, an upgraded file system partition is obtained.

[0010] On the other hand, a system upgrade device is provided, the device is applied to an operating system including a file system partition and a data storage partition, the device comprising:

[0011] a data association information acquisition module, configured to, in response to an upgrade instruction for the file system partition, acquire data association information corresponding to each of a plurality of upgrade data blocks in the upgrade package, wherein the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block being smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package being larger than the storable data volume;

[0012] A task parallel scheduling module, used for scheduling and executing a plurality of data processing tasks in parallel, each data processing task corresponding to one of the plurality of upgraded data blocks;

[0013] an original data block upgrade module, for, in the process of parallel scheduling and execution of the multiple data processing tasks, in response to an execution instruction for a currently scheduled task, downloading the target upgrade data block to the data storage partition if the original data block corresponding to the target upgrade data block is a data block to be updated, and deleting the target upgrade data block in the data storage partition after completing the update of the original data block in the file system partition based on the target upgrade data block; the target upgrade data block is an upgrade data block corresponding to the currently scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is a data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package;

[0014] The system upgrade module is used to obtain an upgraded file system partition after the execution of the multiple data processing tasks is completed.

[0015] On the other hand, a system upgrade device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the system upgrade method as described above.

[0016] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the system upgrade method as described above.

[0017] The system upgrade method, device, equipment and storage medium provided by this application have the following technical effects:

[0018] By using the technical solution provided by the present application, in an application scenario of upgrading a file system partition of a computer system, firstly, data association information corresponding to each of a plurality of upgrade data blocks in an upgrade package is obtained, wherein the data association information corresponding to each upgrade data block includes: position information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block is smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package is larger than the storable data volume, and then, based on the data association information corresponding to each of the plurality of upgrade data blocks, a data processing task is determined, and in a process of parallel scheduling execution of the plurality of data processing tasks, in response to an execution instruction for a currently scheduled task, the original data corresponding to the target upgrade data block of the currently scheduled task in the file system partition is queried. Whether the initial data block needs to be updated, if the original data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted. Finally, after the execution of multiple data processing tasks, the upgraded file system partition is obtained. Since only the upgrade data blocks corresponding to the original data blocks to be updated in multiple upgrade data blocks need to be downloaded during the entire file system partition upgrade process, and the tasks are scheduled and executed in parallel, the system upgrade time can be reduced and the system upgrade efficiency can be improved. At the same time, since the upgrade package is downloaded in blocks, only a small-capacity data storage partition is needed for data block storage, which can effectively reduce the device hardware cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 It is a flowchart of a system upgrade method provided in an embodiment of the present application;

[0021] Figure 2 It is a schematic diagram of data segmentation of an upgrade package provided in an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of a computer system partition architecture provided in an embodiment of the present application;

[0023] Figure 4 It is a flowchart of another system upgrade method provided in an embodiment of the present application;

[0024] Figure 5 It is a flowchart of another system upgrade method provided in an embodiment of the present application;

[0025] Figure 6 It is a schematic diagram of a file system partition block upgrade provided by an embodiment of the present application;

[0026] Figure 7 It is a schematic diagram of a system upgrading device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] The following describes a system upgrade method provided by an embodiment of the present application. Figure 1 A flowchart of a system upgrade method provided for an embodiment of the present application. It should be noted that this specification provides method operation steps as described in the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the system or product is executed in practice, it can be executed in the order shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 1 As shown, the method is applied to a computer system including a file system partition and a data storage partition, and the method may include:

[0030] S101, in response to an upgrade instruction for a file system partition, obtain data association information corresponding to each of a plurality of upgrade data blocks in an upgrade package, wherein the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block being smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package being larger than the storable data volume.

[0031] In the embodiments of the present specification, the above-mentioned computer system may be a computer system installed in a computer device, which may include but is not limited to: a mobile terminal, a computer terminal, a server or a similar computing device, and the computer system may include: Microsoft Windows system, iOS system, Android system and embedded system, etc., wherein the embedded system may include: Linux system, VxWorks system, uCOS system, FreeRTOS system, RTOS system, etc.

[0032] In a specific embodiment, the above-mentioned computer system may include: U-boot partition, kernel partition, file system partition, recovery partition, data storage partition, etc., wherein the U-boot partition is used to store the uboot image, and the uboot program is mainly responsible for starting the system kernel; the kernel partition is used to store the kernel image, including the system driver, system configuration file, and network environment configuration, etc.; the file system partition is used to store the file system image, including some system built-in programs, third-party library files, etc.; the recovery partition is used to store the system recovery image, which is a temporary file system that contains the necessary drivers, tools and configuration files, and is used to initialize and configure the system before mounting the real root file system after the kernel is started; the data storage partition is used to store data saved by users.

[0033] In a specific embodiment, the upgrade instruction may be an instruction for upgrading the file system. Specifically, a root file system is running in the file system partition, and a main application for interacting with the user is installed in the root file system. The user may initiate an upgrade instruction for the file system partition through the main application.

[0034] In the present embodiment, the upgrade package is an image file corresponding to the new version of the file system. Schematically, the file format of the upgrade package can be .img. Specifically, the data volume of the file system partition can represent the space size of the file system partition, the second data volume can represent the data size of the upgrade package, and the second data volume is usually less than or equal to the data volume of the file system partition. Therefore, the upgrade package can be trimmed based on the data volume of the file system partition so that the second data volume of the completed upgrade package is less than or equal to the data volume of the file system partition. After the upgrade package is completed, it can be stored in a remote server, and the remote server can perform data block processing on the upgrade package so that the computer device can download the upgrade package in blocks.

[0035] In a specific embodiment, before responding to the upgrade instruction, the method may further include: responding to a data storage capacity query request sent by a remote server, sending the storable data volume of the data storage partition to the remote server, so that the remote server determines a first data volume based on the storable data volume, and based on the first data volume, performs data segmentation on the upgrade package to obtain multiple upgrade data blocks.

[0036] Specifically, the amount of data that can be stored in the data storage partition can represent the size of the current available space of the data storage partition, and the first data amount can represent the maximum data size that each upgrade data block in the upgrade package can take, wherein the first data amount < the amount of data that can be stored in the data storage partition < the second data amount of the upgrade package.

[0037] In an optional embodiment, the first data amount can be (0, × the amount of data that can be stored], m can be an integer greater than or equal to 1. Schematically, m can be 5. Preferably, the first data amount can be 1MB.

[0038] Indicatively, Figure 2 As shown, the multiple upgrade data blocks may be n upgrade data blocks, respectively marked as: R1, R2, ..., Rn. In some embodiments, the data volume of the upgrade data blocks R1 to Rn-1 is the first data volume, Rn-1 ≥ Rn, that is, the remote server starts from the starting position of the upgrade package, takes the first data volume as the data block size, and evenly divides the upgrade package to obtain N-1 upgrade data blocks R1 to Rn-1 and Rn of the same size; in other embodiments, max{R1, R2, ..., Rn} ≤ the first data volume, that is, the remote server randomly divides the upgrade package to obtain N upgrade data blocks, wherein the data size of the largest upgrade data block among the N upgrade data blocks is less than or equal to the first data volume.

[0039] It can be seen from the above embodiments that the remote server first queries the computer device for the amount of data that can be stored in the data storage partition, determines the first data amount, and then based on the first data amount, performs data segmentation on the upgrade package to obtain multiple upgrade data blocks. This can ensure that the data amount of each upgrade data block is smaller than the amount of data that can be stored in the data storage partition, thereby avoiding the situation where the data storage partition cannot accommodate a certain upgrade data block.

[0040] In a specific embodiment, the above-mentioned obtaining of data association information corresponding to each of the multiple upgrade data blocks in the upgrade package includes:

[0041] S1011, in response to the upgrade instruction, sending an upgrade information query request to the remote server.

[0042] In an optional embodiment, when the computer system is a Linux system, since the Linux system does not allow the currently running file system to be directly rewritten, it is necessary to restart the device first, switch to the recovery partition to run the reovery system, and then rewrite the file system. Specifically, Figure 3 As shown, after the user initiates the upgrade instruction in the main application, the tag bit tag=recovery is set (indicating that the next time the system is restarted, after the system kernel is loaded, the recovery system is loaded and run from the recovery partition), the computer system is restarted, and after the system kernel is loaded, the recovery system is entered from the recovery partition. The recovery system is configured with an update application, which can be an application or an execution script. The update application sends an upgrade information query request to the remote server.

[0043] S1012, receiving data association information corresponding to each of the multiple upgrade data blocks sent by the remote server based on the upgrade information query request, where the data association information corresponding to each of the multiple upgrade data blocks is association information generated by the remote server after data segmentation of the upgrade package based on the first data volume.

[0044] In a specific embodiment, the data association information corresponding to each upgrade data block may include: identification information of the corresponding upgrade data block, location information of the corresponding upgrade data block in the upgrade package, download address information of the corresponding upgrade data block, data volume information of the corresponding upgrade data block and data summary information of the corresponding upgrade data block. Specifically, the identification information corresponding to each upgrade data block is used to identify and distinguish each upgrade data block. Schematically, the identification information may include: name, number, etc.; the location information of each upgrade data block in the upgrade package may include: starting position and ending position; the data volume information corresponding to each upgrade data block may represent the data size of the corresponding upgrade data block; the data summary information corresponding to each upgrade data block may represent the data fingerprint of the corresponding upgrade data block, so as to realize functions such as data signature and data integrity verification.

[0045] In a specific embodiment, the data summary information corresponding to each upgrade data block is generated by the remote server after performing data summary processing on each upgrade data block based on a first preset encryption algorithm. Optionally, the first preset encryption algorithm here can be a hash algorithm. Schematically, the hash algorithm can include but is not limited to: HMAC-MD5 algorithm, HMAC-SHA256 algorithm, etc. The embodiment of the present application does not impose any restrictions on this.

[0046] S102, scheduling and executing a plurality of data processing tasks in parallel, each data processing task corresponding to an upgraded data block among a plurality of upgraded data blocks.

[0047] In the embodiment of the present specification, the above-mentioned multiple data processing tasks may be data block update tasks constructed based on data association information corresponding to each of the multiple upgraded data blocks; specifically, the above-mentioned update application creates a task pool, which is used to manage the multiple data processing tasks.

[0048] In a specific embodiment, the above-mentioned parallel scheduling and execution of multiple data processing tasks may include:

[0049] S1021, when the number of tasks in the plurality of data processing tasks is greater than the preset parallel number, determine the preset parallel number of currently scheduled tasks from the plurality of data processing tasks, and add the other data processing tasks in the plurality of data processing tasks except the preset parallel number of currently scheduled tasks to a waiting queue.

[0050] Specifically, multiple data processing tasks can be sorted based on the identification information of the upgraded data blocks corresponding to each of the multiple data processing tasks, and the preset parallel number of data processing tasks with the highest sorting can be used as the preset parallel number of currently scheduled tasks, and other data processing tasks can be added to the waiting queue in sequence.

[0051] In a specific embodiment, the preset parallel number is determined based on the ratio of the storable data volume to the first data volume, and the preset parallel number may be an integer less than the ratio.

[0052] S1022: Execute a preset number of currently scheduled tasks in parallel.

[0053] S1023, after any current scheduled task among the preset parallel number of current scheduled tasks is executed, the preset parallel number of current scheduled tasks is updated based on the data processing task that is ranked first in the waiting queue to obtain a preset parallel number of updated scheduled tasks.

[0054] S1024: Based on the preset parallel number of update scheduling tasks, jump to parallel execution of the preset parallel number of current scheduling tasks until the number of tasks in the waiting queue is zero.

[0055] Schematically, the multiple data processing tasks are q data processing tasks, namely: task1 to taskq, the preset parallel number can be 5, task1 to task5 are taken as 5 current scheduled tasks, task1 to task5 are executed in parallel, after any task from task1 to task5 is completed, task6 is added to the current scheduled task to obtain 5 updated scheduling tasks (unfinished tasks from task1 to task5 and task6), and the 5 updated scheduling tasks are continued to be executed in parallel, ... until all q data processing tasks are completed.

[0056] In a specific embodiment, when the number of the multiple data processing tasks is less than or equal to the preset parallel number, the above-mentioned parallel scheduling and execution of the multiple data processing tasks may also include: executing the multiple data processing tasks in parallel.

[0057] It can be seen from the above embodiments that when the number of tasks of multiple data processing tasks is greater than the preset parallel number, a preset parallel number of currently scheduled tasks is determined from the multiple data processing tasks, and other data processing tasks except the preset parallel number of currently scheduled tasks in the multiple data processing tasks are added to the waiting queue, and then the preset parallel number of currently scheduled tasks are executed in parallel, and after any current scheduled task among the preset parallel number of currently scheduled tasks is completed, the preset parallel number of currently scheduled tasks is updated based on the data processing task ranked first in the waiting queue to obtain a preset parallel number of updated scheduling tasks, and then based on the preset parallel number of updated scheduling tasks, jump to the parallel execution of the preset parallel number of currently scheduled tasks until the number of tasks in the waiting queue is zero. By means of task parallel scheduling execution, the system upgrade time can be reduced and the system upgrade efficiency can be improved.

[0058] S103, in the process of parallel scheduling and execution of multiple data processing tasks, in response to the execution instruction for the current scheduled task, when the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted; the target upgrade data block is an upgrade data block corresponding to the current scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is a data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package.

[0059] In an optional embodiment, the data association information corresponding to each of the above-mentioned upgraded data blocks may also include: data summary information corresponding to the upgraded data block, such as Figure 4 As shown, the above method may also include:

[0060] S401, in response to an execution instruction for a currently scheduled task, based on location information of a target upgrade data block in an upgrade package, an original data block corresponding to the target upgrade data block is determined from a file system partition, wherein the data volume of the original data block is equal to the data volume of the target upgrade data block.

[0061] In a specific embodiment, the position information of the target upgrade data block in the upgrade package may include: a target start position and a target end position of the target upgrade data block in the upgrade package, and the determining of the original data block corresponding to the target upgrade data block from the file system partition based on the position information of the target upgrade data block in the upgrade package may include:

[0062] The data block corresponding to the starting position of the file system partition and the ending position of the target starting position is used as the original data block corresponding to the target upgrade data block;

[0063] Or, a data block whose corresponding starting position in the file system partition is the target starting position and whose corresponding data volume is the target data volume is used as the original data block corresponding to the target upgrade data block, wherein the target data volume is the data volume of the target upgrade data block.

[0064] S402, performing data summary processing on the original data block to generate data summary information corresponding to the original data block.

[0065] In a specific embodiment, the data summary information corresponding to the original data block can represent the data fingerprint of the original data block to implement functions such as data signature and data integrity verification. Specifically, the data summary information corresponding to the original data block is generated by the computer device (update application) after performing data summary processing on the original data block based on the second preset encryption algorithm, wherein the second preset encryption algorithm is the same encryption algorithm as the above-mentioned first preset encryption algorithm.

[0066] S403, comparing the data summary information corresponding to the target upgraded data block with the data summary information corresponding to the original data block to obtain update indication information, where the update indication information is used to indicate whether the original data block corresponding to the target upgraded data block is a data block to be updated.

[0067] In a specific embodiment, the update indication information may include: first indication information and second indication information, the first indication information is used to indicate that the original data block corresponding to the target upgrade data block is the data block to be updated, and the second indication information is used to indicate that the original data block corresponding to the target upgrade data block is not the data block to be updated. The above-mentioned comparison of the data summary information corresponding to the target upgrade data block and the data summary information corresponding to the original data block to obtain the update indication information may include: when the data summary information corresponding to the target upgrade data block and the data summary information corresponding to the original data block are consistent, determining that the update indication information is the second indication information; when the data summary information corresponding to the target upgrade data block and the data summary information corresponding to the original data block are inconsistent, determining that the update indication information is the first indication information.

[0068] S404, when the update indication information indicates that the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted.

[0069] Specifically, when the update indication information indicates that the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and the corresponding original data block in the file system partition is flushed based on the target upgrade data block in the data storage partition. When the flushing is completed, it is considered that the update of the original data block is completed, and then the target upgrade data block in the data storage partition is deleted.

[0070] In a specific embodiment, the data association information corresponding to each upgrade data block may further include: download address information of the corresponding upgrade data block, and based on the download address information of the target upgrade data block, download the target upgrade data block to the data storage partition.

[0071] In an optional embodiment, when the update indication information indicates that the original data block corresponding to the target upgraded data block is not the data block to be updated, the current scheduling task is terminated and the data processing task with the highest order in the current waiting queue is continued to be executed.

[0072] Indicatively, the preset parallel quantity can be 5, and the multiple upgraded data blocks are R1 to Rn, and correspondingly, the multiple data processing tasks are: task1 corresponding to R1, task2 corresponding to R2, ... taskn corresponding to Rn, and task1 to task5 are used as 5 current scheduled tasks, and tasks1 to task5 are executed in parallel. After any task from task1 to task5 is completed, task6 is added to the current scheduled task to obtain 5 updated scheduled tasks (unfinished tasks from task1 to task5 and task6), and the 5 updated scheduled tasks are continued to be executed in parallel, and so on... until all n data processing tasks are completed, where taskx (x = 1, 2, ..., n ) includes: based on the location information of the upgrade data block Rx in the upgrade package, determining the original data block Dx corresponding to the upgrade data block Rx from the file system partition, reading the data summary information of the upgrade data block R1, and calculating the data summary information of the original data block Dx. If the two are equal, it means that the original data block Dx does not need to be updated, and taskx is terminated, and the data processing task at the front of the current waiting queue is continued; if the two are not equal, it means that the original data block Dx needs to be updated, and the download address information of the upgrade data block Rx is read and the upgrade data block Rx is downloaded to the data storage partition. After the download is completed, the upgrade data block Rx in the data storage partition is flushed to the original data block Dx in the file system partition. After the flushing is completed, the upgrade data block Rx file is deleted.

[0073] It can be seen from the above embodiments that in response to the execution instruction for the current scheduled task, based on the location information of the target upgrade data block in the upgrade package, the original data block corresponding to the target upgrade data block is determined from the file system partition, and the data volume of the original data block is equal to the data volume of the target upgrade data block. Then, the data summary information corresponding to the target upgrade data block and the data summary information corresponding to the original data block are compared to obtain the update indication information. When the update indication information indicates that the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition. After the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted. Only the upgrade data block corresponding to the original data block to be updated can be downloaded, thereby updating the original data block to be updated in the file system partition, which can save network resources and reduce the storage-related device hardware costs.

[0074] In an optional embodiment, the data association information corresponding to each of the above-mentioned upgraded data blocks may also include: data summary information corresponding to the upgraded data block, such as Figure 5 As shown, before the above-mentioned parallel scheduling execution of multiple data processing tasks, the above-mentioned method may also include:

[0075] S501, based on the location information corresponding to each of the multiple upgraded data blocks, data segmentation is performed on the file system partition to obtain multiple original data blocks and data summary information corresponding to each of the multiple original data blocks, each original data block corresponds to an upgraded data block among the multiple upgraded data blocks, and the data volume of each original data block is equal to the data volume of the upgraded data block corresponding to each original data block.

[0076] In a specific embodiment, the data segmentation of the file system partition based on the location information corresponding to each of the multiple upgraded data blocks to obtain the multiple original data blocks and the data summary information corresponding to each of the multiple original data blocks may include:

[0077] S5011, traverse multiple upgrade data blocks.

[0078] S5012: Based on the location information of the currently traversed upgrade data block in the upgrade package, determine the original data block corresponding to the currently traversed upgrade data block from the file system partition.

[0079] Specifically, the detailed content of step S5012 is similar to the detailed content of step S401, and will not be repeated here.

[0080] S5013, performing data summary processing on the original data block corresponding to the currently traversed upgraded data block to obtain data summary information of the original data block corresponding to the currently traversed upgraded data block.

[0081] Specifically, the detailed content of step S5013 is similar to the detailed content of step S402, and will not be repeated here.

[0082] S5014, after traversing the multiple upgraded data blocks, obtain the multiple original data blocks and the data summary information corresponding to each of the multiple original data blocks.

[0083] S502 : Compare the data summary information corresponding to each upgraded data block with the data summary information of the original data block corresponding to each upgraded data block, and determine a plurality of data blocks to be updated among the plurality of original data blocks.

[0084] Specifically, the data summary information corresponding to each upgraded data block is compared with the data summary information of the original data block corresponding to each upgraded data block, and the original data blocks with inconsistent corresponding comparison results among the multiple original data blocks are used as the multiple data blocks to be updated.

[0085] S503: Create data update tasks corresponding to multiple data blocks to be updated.

[0086] S504: The data update tasks corresponding to the multiple data blocks to be updated are used as multiple data processing tasks.

[0087] Schematically, the upgrade package is divided into 10 upgrade data blocks: R1 to R10, and correspondingly, the file system partition is divided into 10 original data blocks: D1 corresponding to R1, D2 corresponding to R2, ... D10 corresponding to R10, among which the data summary information of R1 and D1 is inconsistent, the data summary information of R2 and D2 is inconsistent, the data summary information of R3 and D3 is inconsistent, the data summary information of R5 and D5 is inconsistent, the data summary information of R8 and D8 is inconsistent, and the data summary information of R9 and D9 is inconsistent. Therefore, data update tasks corresponding to the original data blocks D1, D2, D3, D5, D8 and D9 are created, and the 6 data update tasks are scheduled and executed in parallel. Taking the preset parallel number of 3 as an example, the data update task 1 corresponding to D1, the data update task 2 corresponding to D2 and the data update task 3 corresponding to D3 are executed in parallel. After any of the data update tasks 1 to 3 is completed, the data update task 4 corresponding to D5 is executed, and so on... until all 6 data update tasks are completed. The task content of each data update task includes: reading the download address information of the corresponding upgraded data block Ri and downloading the upgraded data block Ri to the data storage partition. After the download is completed, the upgraded data block Ri of the data storage partition is flushed to the original data block Di in the file system partition. After the flushing is completed, the upgraded data block Ri file is deleted.

[0088] It can be seen from the above embodiments that the file system partition is firstly segmented based on the position information corresponding to each of the multiple upgrade data blocks to obtain multiple original data blocks, and then multiple data blocks to be updated are determined among the multiple original data blocks, and then data update tasks corresponding to each of the multiple data blocks to be updated are constructed. In the process of parallel scheduling and execution of multiple data update tasks, the upgrade data blocks corresponding to each data update task are downloaded, so as to update the original data blocks corresponding to each data update task, which can effectively improve the efficiency of parallel scheduling and execution of tasks and reduce the system upgrade time.

[0089] S104, after the execution of the multiple data processing tasks is completed, an upgraded file system partition is obtained.

[0090] In an optional embodiment, when the second data volume is smaller than the data volume of the file system partition, the upgraded file system partition obtained after the execution of the multiple data processing tasks may include:

[0091] S1041, after the execution of the plurality of data processing tasks is completed, redundant data blocks are erased in the current file system partition to obtain an upgraded file system partition, wherein the redundant data blocks are original data blocks in the file system partition that do not correspond to any upgraded data blocks.

[0092] Specifically, the data volume of the file system partition can represent the space size of the file system partition. The second data volume of the upgrade package is usually less than or equal to the data volume of the file system partition. Figure 6 As shown, in the case where the second data volume of the upgrade package is usually smaller than the data volume of the file system partition, it is necessary to erase the original data blocks that do not correspond to any upgrade data blocks in the current file system partition to ensure that the data content in the current file system partition is consistent with the data content of the upgrade package.

[0093] In an optional embodiment, when the computer system is a Linux system, since the Linux system does not allow direct flashing of the currently running file system, it is necessary to restart the device first, switch to the recovery partition to run the reovery system, and then flash the file system. After the flashing is completed, that is, after multiple data processing tasks are executed, set the mark bit tag=boot, restart the computer system again to enter the main system, and complete the upgrade.

[0094] It can be seen from the technical solutions provided by the above embodiments of this specification that in an application scenario of upgrading a file system partition of a computer system, data association information corresponding to each of a plurality of upgrade data blocks in an upgrade package is first obtained, and the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block is smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package is larger than the storable data volume, and then a data processing task is determined based on the data association information corresponding to each of the plurality of upgrade data blocks, and in the process of parallel scheduling execution of the plurality of data processing tasks, in response to an execution instruction for a currently scheduled task, a query is made in the file system partition for a corresponding upgrade data block corresponding to a target upgrade data block of the currently scheduled task. Whether the original data block needs to be updated, if the original data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted. Finally, after the execution of multiple data processing tasks, the upgraded file system partition is obtained. Since only the upgrade data blocks corresponding to the original data blocks to be updated in multiple upgrade data blocks need to be downloaded during the entire file system partition upgrade process, and the tasks are scheduled and executed in parallel, the system upgrade time can be reduced and the system upgrade efficiency can be improved. At the same time, since the upgrade package is downloaded in blocks, only a small-capacity data storage partition is needed for data block storage, which can effectively reduce the device hardware cost.

[0095] The present application embodiment provides a system upgrade device, such as Figure 7 As shown, the device is applied to a computer system including a file system partition and a data storage partition, and the device may include:

[0096] The data association information acquisition module 710 is used to obtain data association information corresponding to each of the multiple upgrade data blocks in the upgrade package in response to the upgrade instruction for the file system partition, where the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block is smaller than the storable data volume of the data storage partition, and a second data volume of the upgrade package is larger than the storable data volume;

[0097] A task parallel scheduling module 720, used for scheduling and executing multiple data processing tasks in parallel, each data processing task corresponding to one of the multiple upgraded data blocks;

[0098] The original data block upgrade module 730 is used to, in the process of parallel scheduling execution of multiple data processing tasks, respond to the execution instruction for the current scheduled task, download the target upgrade data block to the data storage partition when the original data block corresponding to the target upgrade data block is the data block to be updated, and delete the target upgrade data block in the data storage partition after the original data block in the file system partition is updated based on the target upgrade data block; the target upgrade data block is the upgrade data block corresponding to the current scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is the data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package;

[0099] The system upgrade module 740 is used to obtain an upgraded file system partition after the execution of multiple data processing tasks is completed.

[0100] In a specific embodiment, the above device may further include:

[0101] The data storage capacity query module is used to respond to the data storage capacity query request sent by the remote server and send the storable data volume of the data storage partition to the remote server, so that the remote server determines the first data volume based on the storable data volume, and based on the first data volume, performs data segmentation on the upgrade package to obtain multiple upgrade data blocks.

[0102] In a specific embodiment, the data association information acquisition module 710 may include:

[0103] An upgrade information query module, used to send an upgrade information query request to a remote server in response to an upgrade instruction;

[0104] The upgrade information receiving module is used to receive data association information corresponding to multiple upgrade data blocks sent by the remote server based on the upgrade information query request, wherein the data association information corresponding to the multiple upgrade data blocks is association information generated by the remote server after data segmentation of the upgrade package based on the first data volume.

[0105] In a specific embodiment, the task parallel scheduling module 720 may include:

[0106] a current scheduling task determination unit, configured to determine a preset parallel number of current scheduling tasks from the multiple data processing tasks when the number of tasks of the multiple data processing tasks is greater than the preset parallel number, and add other data processing tasks in the multiple data processing tasks except the preset parallel number of current scheduling tasks to a waiting queue;

[0107] A task parallel execution unit, used for executing a preset number of currently scheduled tasks in parallel;

[0108] A scheduling task updating unit is used to update a preset number of current scheduling tasks in parallel based on the data processing task that is ranked first in the waiting queue after any current scheduling task among the preset number of current scheduling tasks in parallel is executed, so as to obtain a preset number of updated scheduling tasks in parallel;

[0109] The jump unit is used to jump to the parallel execution of the preset parallel number of current scheduled tasks based on the preset parallel number of updated scheduled tasks until the number of tasks in the waiting queue is zero.

[0110] In an optional embodiment, the data association information corresponding to each of the upgrade data blocks further includes: data summary information corresponding to the upgrade data block, and the apparatus may further include:

[0111] an original data block determining unit, configured to determine, in response to an execution instruction for a currently scheduled task, an original data block corresponding to the target upgrade data block from a file system partition based on location information of the target upgrade data block in the upgrade package, wherein the data volume of the original data block is equal to the data volume of the target upgrade data block;

[0112] A data summary processing unit, used to perform data summary processing on the original data block to generate data summary information corresponding to the original data block;

[0113] A summary comparison unit, used to compare the data summary information corresponding to the target upgraded data block with the data summary information corresponding to the original data block to obtain update indication information, where the update indication information is used to indicate whether the original data block corresponding to the target upgraded data block is a data block to be updated;

[0114] A data block update unit is used to download the target upgrade data block to the data storage partition when the update indication information indicates that the original data block corresponding to the target upgrade data block is the data block to be updated, and after the update of the original data block in the file system partition based on the target upgrade data block is completed, delete the target upgrade data block in the data storage partition.

[0115] In an optional embodiment, the data association information corresponding to each of the upgrade data blocks further includes: data summary information corresponding to the upgrade data block, and the apparatus may further include:

[0116] A data segmentation module is used to perform data segmentation on the file system partition based on the position information corresponding to each of the multiple upgraded data blocks, to obtain multiple original data blocks and data summary information corresponding to each of the multiple original data blocks, each original data block corresponds to one of the multiple upgraded data blocks, and the data volume of each original data block is equal to the data volume of the upgraded data block corresponding to each original data block;

[0117] A module for determining data blocks to be updated, used for comparing data summary information corresponding to each upgraded data block with data summary information of original data blocks corresponding to each upgraded data block, and determining multiple data blocks to be updated from multiple original data blocks;

[0118] A data update task creation module is used to create data update tasks corresponding to multiple data blocks to be updated;

[0119] The data processing task determination module is used to use the data update tasks corresponding to the multiple data blocks to be updated as multiple data processing tasks.

[0120] In an optional embodiment, when the second data volume is smaller than the data volume of the file system partition, the system upgrade module 740 may include:

[0121] The redundant data block erasing unit is used to erase redundant data blocks in the current file system partition after multiple data processing tasks are completed to obtain an upgraded file system partition. The redundant data blocks are original data blocks in the file system partition that do not correspond to any upgraded data blocks.

[0122] The device and method embodiments in the above-mentioned device embodiments are based on the same inventive concept.

[0123] An embodiment of the present application provides a system upgrade device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the system upgrade method provided in the above method embodiment.

[0124] The memory can be used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, etc., and the operating system may include: Android system (Android system), iOS system (a mobile operating system developed by Apple), Linux system (an embedded operating system), Microsoft Windows system (Microsoft Windows operating system), etc.; the data storage area may store data created according to the use of the above-mentioned devices, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.

[0125] The method embodiment provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal, a server or a similar computing device, that is, the above-mentioned computer device may include a mobile terminal, a computer terminal, a server or a similar computing device. The embodiment of the present application provides a system upgrade device for a system upgrade method. The system upgrade device 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 810 (the processor 810 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 830 for storing data, and one or more storage media 820 (such as one or more mass storage devices) for storing application programs 823 or data 822. Among them, the memory 830 and the storage medium 820 may be short-term storage or persistent storage. The program stored in the storage medium 820 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processor 810 may be configured to communicate with the storage medium 820 to execute a series of instruction operations in the storage medium 820 on the system upgrade device 800. The system upgrade device 800 may also include one or more power supplies 880, one or more wired or wireless network interfaces 850, one or more input and output interfaces 840, and / or one or more operating systems 821, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.

[0126] The input / output interface 840 may be used to receive or send data via a network. A specific example of the network may include a wireless network provided by a communication provider of the system upgrade device 800. In one example, the input / output interface 840 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 840 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0127] Those skilled in the art will appreciate that the structure of the above-mentioned system upgrade device 800 is merely illustrative and does not limit the structure of the above-mentioned electronic device.

[0128] An embodiment of the present application also provides a storage medium, which can be set in a server to store at least one instruction or at least one program related to a system upgrade method for implementing a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the system upgrade method provided by the method embodiment.

[0129] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0130] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0131] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0132] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the above program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0133] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A system upgrade method, characterized in that: The method is applied to a computer system including a file system partition and a data storage partition, and the method comprises: In response to an upgrade instruction for the file system partition, data association information corresponding to each of a plurality of upgrade data blocks in the upgrade package is obtained, wherein the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block is smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package is larger than the storable data volume; Performing parallel scheduling execution on a plurality of data processing tasks, each data processing task corresponding to one of the plurality of upgraded data blocks; In the process of parallel scheduling and executing the multiple data processing tasks, in response to an execution instruction for the current scheduled task, when the original data block corresponding to the target upgrade data block is the data block to be updated, the target upgrade data block is downloaded to the data storage partition, and after the original data block in the file system partition is updated based on the target upgrade data block, the target upgrade data block in the data storage partition is deleted; the target upgrade data block is an upgrade data block corresponding to the current scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is a data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package; After the execution of the multiple data processing tasks is completed, an upgraded file system partition is obtained.

2. The method according to claim 1, characterized in that The data association information corresponding to each upgraded data block further includes: data summary information corresponding to the upgraded data block, and the method further includes: Based on the location information of the target upgrade data block in the upgrade package, determining the original data block corresponding to the target upgrade data block from the file system partition, the data volume of the original data block being equal to the data volume of the target upgrade data block; Performing data summary processing on the original data block to generate data summary information corresponding to the original data block; Comparing the data summary information corresponding to the target upgraded data block with the data summary information corresponding to the original data block to obtain update indication information, wherein the update indication information is used to indicate whether the original data block corresponding to the target upgraded data block is a data block to be updated; When the update indication information indicates that the original data block corresponding to the target upgraded data block is a data block to be updated, the target upgraded data block is downloaded to the data storage partition.

3. The method according to claim 1, characterized in that The data association information corresponding to each upgraded data block further includes: data summary information corresponding to the upgraded data block. Before the parallel scheduling execution of the multiple data processing tasks, the method further includes: Based on the position information corresponding to each of the multiple upgraded data blocks, data segmentation is performed on the file system partition to obtain multiple original data blocks and data summary information corresponding to each of the multiple original data blocks, each original data block corresponds to an upgraded data block among the multiple upgraded data blocks, and the data volume of each original data block is equal to the data volume of the upgraded data block corresponding to each original data block; Comparing the data summary information corresponding to each upgraded data block with the data summary information of the original data block corresponding to each upgraded data block, and determining a plurality of data blocks to be updated among the plurality of original data blocks; Creating data update tasks corresponding to each of the plurality of data blocks to be updated; The data update tasks corresponding to the multiple data blocks to be updated are used as the multiple data processing tasks.

4. The method according to any one of claims 1 to 3, characterized in that: The parallel scheduling and execution of multiple data processing tasks includes: Determine a preset number of currently scheduled tasks in parallel from the multiple data processing tasks, and add other data processing tasks in the multiple data processing tasks except the preset number of currently scheduled tasks in parallel to a waiting queue; Execute the preset parallel number of currently scheduled tasks in parallel; After any current scheduled task among the preset parallel number of current scheduled tasks is executed, the preset parallel number of current scheduled tasks is updated based on the data processing task that is ranked first in the waiting queue to obtain the preset parallel number of updated scheduled tasks; Based on the preset parallel number of update scheduling tasks, jump to the parallel execution of the preset parallel number of current scheduling tasks until the number of tasks in the waiting queue is zero.

5. The method according to any one of claims 1 to 3, characterized in that: The step of obtaining data association information corresponding to each of the multiple upgrade data blocks in the upgrade package includes: In response to the upgrade instruction, sending an upgrade information query request to a remote server; Receive data association information corresponding to each of the multiple upgrade data blocks sent by the remote server based on the upgrade information query request, where the data association information corresponding to each of the multiple upgrade data blocks is association information generated by the remote server after data segmentation of the upgrade package based on the first data volume.

6. The method according to claim 5, characterized in that Before responding to the upgrade instruction, the method further includes: In response to a data storage capacity query request sent by the remote server, the amount of data that can be stored in the data storage partition is sent to the remote server, so that the remote server determines the first data amount based on the amount of data that can be stored, and based on the first data amount, performs data segmentation on the upgrade package to obtain the multiple upgrade data blocks.

7. The method according to any one of claims 1 to 3, characterized in that: In a case where the second data volume is smaller than the data volume of the file system partition, obtaining the upgraded file system partition after the execution of the multiple data processing tasks includes: After the execution of the multiple data processing tasks is completed, redundant data blocks are erased in the current file system partition to obtain the upgraded file system partition, wherein the redundant data blocks are original data blocks in the file system partition that do not correspond to any upgraded data blocks.

8. A system upgrade device, characterized in that: The device is applied to a computer system including a file system partition and a data storage partition, and the device includes: a data association information acquisition module, configured to, in response to an upgrade instruction for the file system partition, acquire data association information corresponding to each of a plurality of upgrade data blocks in the upgrade package, wherein the data association information corresponding to each upgrade data block includes: location information of the corresponding upgrade data block in the upgrade package, a first data volume of each upgrade data block being smaller than a storable data volume of the data storage partition, and a second data volume of the upgrade package being larger than the storable data volume; A task parallel scheduling module, used for scheduling and executing a plurality of data processing tasks in parallel, each data processing task corresponding to one of the plurality of upgraded data blocks; an original data block upgrade module, for, in the process of parallel scheduling and execution of the multiple data processing tasks, in response to an execution instruction for a currently scheduled task, downloading the target upgrade data block to the data storage partition if the original data block corresponding to the target upgrade data block is a data block to be updated, and deleting the target upgrade data block in the data storage partition after completing the update of the original data block in the file system partition based on the target upgrade data block; the target upgrade data block is an upgrade data block corresponding to the currently scheduled task among the multiple upgrade data blocks, and the original data block corresponding to the target upgrade data block is a data block determined from the file system partition based on the location information of the target upgrade data block in the upgrade package; The system upgrade module is used to obtain an upgraded file system partition after the execution of the multiple data processing tasks is completed.

9. A system upgrade device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the system upgrade method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the system upgrade method as described in any one of claims 1 to 7.