CN109947450B - System file upgrading method and device, mobile terminal and readable storage medium - Google Patents

System file upgrading method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN109947450B
CN109947450B CN201910211390.XA CN201910211390A CN109947450B CN 109947450 B CN109947450 B CN 109947450B CN 201910211390 A CN201910211390 A CN 201910211390A CN 109947450 B CN109947450 B CN 109947450B
Authority
CN
China
Prior art keywords
partition
data
terminal
sub
system 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.)
Active
Application number
CN201910211390.XA
Other languages
Chinese (zh)
Other versions
CN109947450A (en
Inventor
洪明彬
陶泽华
许娜
孙雷
张帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201910211390.XA priority Critical patent/CN109947450B/en
Publication of CN109947450A publication Critical patent/CN109947450A/en
Application granted granted Critical
Publication of CN109947450B publication Critical patent/CN109947450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a system file upgrading method, which comprises the steps of obtaining a preset data upgrading packet and reading a partition mark of a system file partition of a terminal to be upgraded, wherein the partition mark is used for storing configuration data; acquiring a sub data packet corresponding to the partition mark from a preset data upgrading packet; and upgrading the sub-data packet to a system file partition corresponding to the partition mark. The invention also discloses a system file upgrading device, a mobile terminal and a readable storage medium. The invention can realize the adaptation to an infinite number of terminals while reducing the workload of software system development and maintenance; the problem that the subsequent terminal cannot be upgraded and cannot be adapted to the terminal without limitation due to the fact that the number of the adapted terminals is increased and the upgrade packet data is too large and cannot be put into the system software partition of the terminal to be upgraded is solved.

Description

System file upgrading method and device, mobile terminal and readable storage medium
Technical Field
The present invention relates to the field of file upgrading technologies, and in particular, to a method and an apparatus for upgrading a system file, a mobile terminal, and a readable storage medium.
Background
In order to meet the requirements of different users, equipment manufacturers often adapt to a plurality of different terminal display devices by using the same hardware main board; in order to reduce the workload of software system development and subsequent maintenance of the terminal display devices, the software system generally packages configuration data of all adapted terminal display devices into an upgrade package, and then puts the upgrade package data into file system partitions of the terminal display devices for storing the configuration data, so as to upgrade the terminal display devices. However, the size of the file system partition for storing the configuration data in each terminal display device is fixed and limited, and when the number of the adapted terminal display devices is increased, the configuration data to be packed into the upgrade package is increased, and the packed upgrade package is also increased, which finally exceeds the size of the file system partition for storing the configuration data, so that the upgrade package is too large and cannot be placed into the file system partition, thereby causing a problem that the upgrade cannot be performed.
Currently, there are two main solutions to the above problems: one is to modify the size of the file system partition of the terminal display device, but the risk that the size of the upgrade packet data exceeds the capacity of the file system partition still exists subsequently, and the total size of the storage device is fixed, so that the size of the file system partition of the configuration data of the terminal display device is increased, the sizes of other file system partitions are inevitably reduced, and other problems may be brought at this time; therefore, adapting to an unlimited number of terminals cannot be achieved by modifying the file system partition size of the terminal. The other is that when the adaptive terminal display equipment is newly added, an upgrade package is newly added to the software system to adapt to the subsequently newly added terminal display equipment; however, with the increasing number of software upgrade packages, the development and maintenance costs of subsequent software will increase rapidly; therefore, it is not practical to adapt to an unlimited number of terminals by adding an upgrade package to adapt to the added terminals.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a system file upgrading method, aiming at solving the technical problem that the upgrading packet data cannot be upgraded to an adaptive terminal due to overlarge data contained in the same upgrading packet because the number of the adaptive terminals is increased, so that the number of the adaptive terminals cannot be increased without limitation.
In order to achieve the above object, the present invention provides a method for upgrading a system file, including:
acquiring a preset data upgrading packet, and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded;
acquiring a sub data packet corresponding to the partition mark from a preset data upgrading packet;
and upgrading the sub-data packet to a system file partition corresponding to the partition mark.
Optionally, the step of obtaining the preset data upgrade package further includes:
acquiring configuration data of each adaptive terminal and partition capacity of a system file partition used for storing the configuration data of each adaptive terminal;
and compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrading packet.
Optionally, the step of compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrade package includes:
according to the partition capacity, combining the configuration data into each sub-data packet;
and compiling and packaging the sub data packets to generate the preset data upgrading packet.
Optionally, the step of combining the configuration data into each sub-packet according to the partition capacity includes:
judging whether the data sum of the configuration data is larger than the partition capacity or not;
if the data sum of the configuration data is larger than the partition capacity, the configuration data is combined into sub-data packets of which the number is larger than one and smaller than the number of the adaptive terminals.
Optionally, the step of obtaining the preset data upgrade package and reading the partition identifier of the system file partition used by the terminal to be upgraded for storing the configuration data includes:
when detecting that a terminal to be upgraded is started or restarted, acquiring an upgrading mark of the terminal to be upgraded;
and acquiring a preset data upgrading packet according to the upgrading mark, and reading a partition mark of a system file partition used for storing configuration data by the terminal to be upgraded.
Optionally, the step of obtaining the sub data packet corresponding to the partition flag from the preset data upgrade packet includes:
searching each sub-data packet of the preset data upgrading packet for a sub-data packet containing the partition mark;
and acquiring the sub-data packet containing the partition mark.
Optionally, after the step of upgrading the sub-packet to the system file partition corresponding to the partition flag, the method further includes:
judging whether the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is successful;
and if the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is unsuccessful, returning to the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark.
In addition, to achieve the above object, the present invention further provides a system file upgrading apparatus, including:
the first acquisition module is used for acquiring a preset data upgrading packet and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded;
the second obtaining module is used for obtaining the sub-data packets corresponding to the partition marks from a preset data upgrading packet;
and the upgrading module is used for upgrading the sub-data packet to a system file partition corresponding to the partition mark.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the system file upgrading method comprises a memory, a processor and a system file upgrading program which is stored on the memory and can run on the processor, wherein when the system file upgrading program is executed by the processor, the steps of the system file upgrading method are realized.
In addition, to achieve the above object, the present invention also provides a readable storage medium, on which a system file upgrade program is stored, where the system file upgrade program, when executed by a processor, implements the steps of the system file upgrade method as described above.
According to the system file upgrading method, device, mobile terminal and storage medium provided by the embodiment of the invention, the configuration data of a plurality of adaptive terminals are put into different sub-data packets, and then the sub-data packets are compiled and packed into one upgrading packet, so that the number of the upgrading packets required to be packed by the software system is only one, and the workload of subsequent software system development and maintenance is reduced; when the adaptive terminal is upgraded, finding a sub-data packet which is the same as the partition mark of the system file partition used for storing the configuration data by the adaptive terminal in the upgrade packet, and upgrading the sub-data packet to the system file partition used for storing the configuration data; the problem that the number of the adaptation terminals cannot be increased without limitation because the upgrade packet data cannot be upgraded to the adaptation terminals due to the fact that the upgrade packet data cannot be placed into the system file partition of the adaptation terminals because the number of the adaptation terminals is increased, the data contained in the same upgrade packet is too large, and the upgrade packet data is too large is solved; therefore, the workload of software system development and maintenance can be reduced, and meanwhile, the wireless terminal can be adapted to an infinite number of terminals.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a system file upgrade method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of each functional module when a terminal to be upgraded is upgraded according to an embodiment of the present invention;
FIG. 4 is a schematic view of a process of upgrading a terminal to be upgraded according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a system file upgrading method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring a preset data upgrading packet, and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded; acquiring a sub data packet corresponding to the partition mark from a preset data upgrading packet; and upgrading the sub-data packet to a system file partition corresponding to the partition mark.
In the prior art, when the problem that an upgrade patch is too large and cannot be placed in a file system partition due to the fact that a new terminal is adapted, and upgrading cannot be performed is caused, two main solutions are provided: one is to modify the size of the file system partition of the terminal display device, but the risk that the size of the upgrade packet data exceeds the capacity of the file system partition still exists subsequently, and the total size of the storage device is fixed, so that the size of the file system partition of the configuration data of the terminal display device is increased, the sizes of other file system partitions are inevitably reduced, and other problems may be brought at this time; therefore, adapting to an unlimited number of terminals cannot be achieved by modifying the file system partition size of the terminal. When the adaptive terminal display equipment is newly added, an upgrade package is newly added to the software system to adapt to the subsequently newly added terminal display equipment; however, with the increasing number of software upgrade packages, the development and maintenance costs of subsequent software will increase rapidly; therefore, adapting to the newly added terminal by adding the upgrade package cannot be realized to adapt to an unlimited number of terminals.
The invention provides a solution which can realize the adaptation to an infinite number of terminals while reducing the workload of software system development and maintenance.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device such as a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 3) player, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a system file upgrade program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the system file upgrade program stored in the memory 1005 and perform the following operations:
acquiring a preset data upgrading packet, and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded;
acquiring a sub data packet corresponding to the partition mark from a preset data upgrading packet;
and upgrading the sub-data packet to a system file partition corresponding to the partition mark.
Further, before the step of obtaining the preset data upgrade package, the processor 1001 may be further configured to call a system file upgrade program stored in the memory 1005, and perform the following operations:
acquiring configuration data of each adaptive terminal and partition capacity of a system file partition used for storing the configuration data of each adaptive terminal;
and compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrading packet.
Further, the step of compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrade package includes:
according to the partition capacity, combining the configuration data into each sub-data packet;
and compiling and packaging the sub data packets to generate the preset data upgrading packet.
Further, the step of combining the configuration data into each sub-packet according to the partition capacity includes:
judging whether the data sum of the configuration data is larger than the partition capacity or not;
and if the data sum of the configuration data is larger than the partition capacity, combining the configuration data into sub-data packets of which the number is larger than one and smaller than the number of the adaptive terminals.
Further, the step of obtaining the preset data upgrade package and reading the partition mark of the system file partition used for storing the configuration data of the terminal to be upgraded comprises:
when detecting that a terminal to be upgraded is started or restarted, acquiring an upgrading mark of the terminal to be upgraded;
and acquiring a preset data upgrading packet according to the upgrading mark, and reading a partition mark of a system file partition used for storing configuration data by the terminal to be upgraded.
Further, the step of obtaining the sub-data packet corresponding to the partition flag from the preset data upgrade packet includes:
searching each sub-data packet of the preset data upgrading packet for a sub-data packet containing the partition mark;
and acquiring the sub-data packet containing the partition mark.
Further, after the step of upgrading the sub-data packet to the system file partition corresponding to the partition flag, the processor 1001 may be further configured to call a system file upgrading program stored in the memory 1005, and perform the following operations:
judging whether the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is successful or not;
and if the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is unsuccessful, returning to the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark.
Based on the above hardware structure, the embodiment of the method of the present invention is provided.
Referring to fig. 2, in a first embodiment of the system file upgrading method of the present invention, the system file upgrading method includes:
step S10, acquiring a preset data upgrading packet, and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded;
the preset data upgrading package is a data upgrading package formed by compiling and packaging configuration data of all the adaptive terminals. The terminal to be upgraded may be a display terminal such as a television, or other terminal equipment. The terminal to be upgraded is an adaptive terminal in all terminals adapted to the same hardware motherboard, and the adaptive terminal to be upgraded in the subsequent software maintenance is the terminal to be upgraded described in the embodiment of the present invention, each terminal to be upgraded has its own configuration data, and each terminal to be upgraded is allocated with a system file partition for storing the configuration data, and each system file partition for storing the configuration data sets a corresponding partition flag. In general, a storage device in a terminal is divided into a plurality of storage areas, and the storage purpose of each storage area is different, where a system file partition described in the embodiment of the present invention refers to a storage area divided into storage areas for storing configuration data of the terminal in the terminal. The partition mark is used for identifying the system file partition to which the data belongs by the system; for example, the partition mark of the system file partition used by the terminal a for storing the configuration data is a, the partition mark of the system file partition used by the terminal B for storing the configuration data is B, and when the device to be upgraded identifies the data with the partition mark a, the system will place the data with the partition mark a into the system file partition of the terminal a; when the device to be upgraded identifies the data with the partition mark B, the system puts the data with the partition mark B into the system file partition of the terminal B. Referring to fig. 3, fig. 3 is a schematic diagram of each functional module when the terminal to be upgraded is upgraded according to the embodiment of the present invention; the preset data upgrading packet comprises one or more sub-data packets; the SOC represents a control system of the terminal to be upgraded and is used for acquiring a preset data upgrade package and upgrading corresponding configuration data to a system file partition of the terminal to be upgraded according to the preset data upgrade package. The system file upgrading method provided by the embodiment of the invention mainly comprises the steps of compiling and packaging configuration data of all terminals adapted to the same hardware mainboard to form a preset data upgrading packet, then upgrading the terminal to be upgraded by using the preset data upgrading packet, upgrading the configuration data of the terminal to be upgraded in the preset data upgrading packet to a system file partition of the terminal to be upgraded, and multiplexing the system file partition in the adapted terminal in an upgrading mode. The preset data upgrading packet can be pushed to the terminal to be upgraded through the network server, so that the terminal to be upgraded receives the preset data upgrading packet and upgrades the preset data upgrading packet by using the configuration data in the preset data upgrading packet; the preset data upgrading packet can also be stored in the USB flash disk, so that the terminal to be upgraded can directly read the preset data upgrading packet. In addition, the preset data upgrading packet can be pushed to the terminal to be upgraded in other modes, so that the terminal to be upgraded can read the preset data upgrading packet and upgrade the terminal by using the configuration data in the preset data upgrading packet. The terminal to be upgraded first acquires a preset data upgrade package pushed by a network server, a USB flash disk or other modes, and the like, and reads a partition mark of a system file partition for storing configuration data.
Further, step S10 includes:
s11, when the terminal to be upgraded is detected to be started or restarted, an upgrading mark of the terminal to be upgraded is obtained;
referring to fig. 4, when the terminal system to be upgraded is started or restarted, the boot module determines whether to enter the upgrade by the user in the starting stage, and if the user determines that the terminal system to be upgraded needs to enter the upgrade state, the terminal system to be upgraded will generate an upgrade flag, and the terminal system to be upgraded is ready to enter the upgrade state.
And S12, acquiring a preset data upgrading packet according to the upgrading mark, and reading a partition mark of a system file partition used for storing configuration data by the terminal to be upgraded.
When a terminal to be upgraded reads an upgrading mark of a system, the terminal to be upgraded first acquires a preset data upgrading packet pushed by a network server, a USB flash disk or other modes and the like, and reads a partition mark of a system file partition for storing configuration data; and the terminal to be upgraded enters an upgrading mode.
For ease of understanding, a specific embodiment is described. For example, there are two adaptive terminals to be upgraded, namely a terminal a and a terminal B, where a partition flag of a system file partition used by the terminal a for storing configuration data is "123", and a partition flag of a system file partition used by the terminal B for storing configuration data is "456"; when reading an upgrading mark of a system, a terminal A acquires a preset data upgrading packet, wherein the preset data upgrading packet comprises configuration data of the terminal A and configuration data of a terminal B; when the terminal a is upgrading, it is necessary to upgrade the configuration data of the terminal a in the preset data upgrade package to the system file partition of the terminal a for storing the configuration data, and then the terminal a first needs to read the partition mark "123" of the system file partition of the terminal a for storing the configuration data, and then reads the data including the same partition mark "123" from the preset data upgrade package and upgrades the data to the system file partition of the terminal a for storing the configuration data.
In the embodiment, when the upgrading terminal is started or restarted, whether upgrading is carried out or not is confirmed by a user through the starting guide module, so that the situation that the starting time of the terminal is increased and unnecessary waiting of the user is caused because the system automatically enters an upgrading state when upgrading is not needed is avoided; when the terminal to be upgraded reads the upgrading mark of the system, the preset data upgrading packet can be obtained in various ways, so that upgrading packet data provided for subsequent upgrading is effectively provided, and a guarantee is provided for subsequent successful upgrading; the configuration data in the subsequent preset data upgrading packet can be correspondingly upgraded to the corresponding system file partition by reading the partition mark of the system file partition used for storing the configuration data by the terminal to be upgraded.
Step S20, obtaining a sub-data packet corresponding to the partition mark from a preset data upgrading packet;
in order to reduce the workload of software system development and subsequent maintenance of adaptive terminals, in the prior art, all configuration data of all adaptive terminals are packaged and put into an upgrade package, then the upgrade package data is respectively put into system file partitions of each adaptive terminal for storing the configuration data, and each adaptive terminal is upgraded; however, the size of the partition of the system file for storing the configuration data of each adapter terminal is fixed and limited, when the number of adapter terminals increases, the configuration data of all the adapter terminals are packed into an upgrade package, and the size of the upgrade package eventually exceeds the size of the partition of the system file for storing the configuration data of the adapter terminals, so that the adapter terminals cannot be increased without limit.
When the configuration data of the adaptive terminal is packed into the same upgrade package and exceeds the system file partition used by the adaptive terminal for storing the configuration data, the invention can realize increasing the adaptive terminals without limiting the number, simultaneously ensure that the adaptive terminal can be upgraded by using the upgrade package after the configuration data of all the adaptive terminals are packed, and greatly reduce the workload of subsequent software system development and maintenance. In the embodiment of the invention, the preset data upgrading packet comprises a plurality of sub-packets, and each sub-packet comprises configuration data of one or more adaptive terminals; the number of the sub-data packets in the preset data upgrading packet is greater than one and less than that of the adaptive terminal, the configuration data in each sub-data packet is provided with a mark for identifying the system file partition to which the sub-data packet belongs, and the size of each sub-data packet is less than or equal to the size of each system file partition corresponding to the configuration data contained in the sub-data packet, so that the sub-data packets can be upgraded to the corresponding system file partitions. And acquiring a sub data packet which is the same as the partition mark of the system file partition used for storing the configuration data by the terminal to be upgraded from the preset data packet. And the terminal to be upgraded acquires the sub-data packets containing the partition marks of the system file partitions used for storing the configuration data by the terminal to be upgraded from the sub-data packets of the preset data upgrading packet.
For ease of understanding, the following description is given in terms of a specific embodiment. For example, there are 8 adapting terminals a, B, C, D, E, F, G, and H, then the configuration data of terminals a, B, and C may be placed in sub-packet 1, the configuration data of terminals D and E may be placed in sub-packet 2, the configuration data of terminals F, G, and H may be placed in sub-packet 3, and then sub-packet 1, sub-packet 2, and sub-packet 3 may be compiled together and packaged into an upgrade packet. The terminal a is used for storing a partition mark of a system file partition of the configuration data, and the mark of the configuration data of the terminal a is 'a 123'; the partition mark of the system file partition used for storing the configuration data of the terminal B and the mark of the configuration data of the terminal B are both 'B123'; the partition mark of the system file partition used for storing the configuration data of the terminal C and the mark of the configuration data of the terminal C are both 'C123'; the partition mark of the system file partition used for storing the configuration data of the terminal D and the mark of the configuration data of the terminal D are both 'D123'; the partition mark of the system file partition used for storing the configuration data of the terminal E and the mark of the configuration data of the terminal E are both 'E123'; the partition mark of the system file partition used for storing the configuration data of the terminal F and the mark of the configuration data of the terminal F are both F123; the terminal G is used for storing a partition mark of a system file partition of the configuration data, and the mark of the configuration data of the terminal G is 'G123'; the terminal H is used for storing the partition mark of the system file partition of the configuration data, and the mark of the configuration data of the terminal H is "H123".
Further, step S20 includes:
step S21, searching each sub-data packet of a preset data upgrading packet for a sub-data packet containing a partition mark;
when the configuration data of all the adaptive terminals are compiled and packaged into the same upgrade package, the configuration data of the same adaptive terminal is put into the same sub-data package. And the terminal to be upgraded searches the sub-data packets which are the same as the partition marks of the system file partitions of the terminal to be upgraded from the sub-data packets of the preset data packet.
Step S22, obtaining the sub data packet containing the partition mark.
And the terminal to be upgraded acquires the sub-data packet which is the same as the partition mark of the system file partition used for storing the configuration data by the terminal to be upgraded so as to be used for further upgrading.
For convenience of understanding, the following description is made of a specific embodiment in the above step S20. For example, the terminal to be upgraded is a terminal H adapted, the terminal H reads out that the partition mark of the system file partition for storing the configuration data is "H123", when the terminal H receives a preset data upgrade package pushed by a network server or a usb disk, and the like, where the preset data upgrade package includes a sub data package 1, a sub data package 2, and a sub data package 3, the terminal H searches for the sub data package 3 including the partition mark of "H123" from the sub data package 1, the sub data package 2, and the sub data package 3 included in the preset data upgrade package.
In this embodiment, by adding the identification mark of each configuration data in the sub data upgrade package, when the configuration data needs to be upgraded to the system file partition of the terminal to be upgraded, the partition mark of the system file partition is read first, and then the sub data package with the same partition mark as the partition mark of the system file partition of the device to be upgraded is searched in the preset data upgrade package; when the configuration data is upgraded to the system file partition used for storing the configuration data of the terminal to be upgraded, the corresponding configuration data packet can be accurately found, and accurate data is provided for the terminal to be upgraded, so that the upgrading efficiency of the terminal to be upgraded is further improved.
And step S30, upgrading the sub-data packet to a system file partition corresponding to the partition mark.
When the terminal to be upgraded reads an upgrading mark of a system, acquiring a sub data packet which is the same as the partitioning mark from a preset data upgrading packet according to the partitioning mark of a system file partition for storing configuration data, wherein the sub data packet acquired by the terminal to be upgraded comprises the configuration data of the terminal to be upgraded; and when the terminal to be upgraded is upgraded, the sub data packet is upgraded to a system file partition used for storing the configuration data of the terminal to be upgraded, namely the configuration data corresponding to the terminal to be upgraded can be upgraded to the system file partition used for storing the configuration data, and after the upgrade is completed, the terminal to be upgraded is restarted.
For convenience of understanding, the following description is made of a specific embodiment in the above step S22. After finding out the sub-data packet 3 with the partition mark of H123 from the sub-data packet 1, the sub-data packet 2 and the sub-data packet 3 contained in the preset data upgrading packet, the terminal H upgrades the sub-data packet 3 to a system file partition used for storing configuration data in the terminal H, thereby completing the upgrading operation of the terminal to be upgraded.
In this embodiment, the configuration data of a plurality of adapter terminals are put into different sub-data packets, so that the sub-data packets can be accommodated in the system file partition of the terminal to be upgraded, which is used for storing the configuration data, and the problem that the adapter terminals cannot be increased without limiting the number of the adapter terminals due to the fact that the sub-data packets cannot be put into the system software partition of the terminal to be upgraded due to too large data packets is avoided; and then compiling and packaging all the sub-data packets into an upgrade packet, so that the number of upgrade packets required to be packaged by the software system is only one, and the workload of development and maintenance of the subsequent software system is reduced. The terminal to be upgraded obtains the preset data upgrading packet compiled and packaged in the way, finds out the corresponding sub-data packet in the preset data upgrading packet through the partition mark of the system file partition, and upgrades the sub-data packet to the system file partition of the terminal to be upgraded; the embodiment of the invention avoids the problems that the configuration data of all the adaptive terminals are directly packed into the same upgrade package together, and the upgrade package is too large to be put into the system file partition of the terminal to be upgraded due to the increase of the subsequent adaptive terminals, so that the subsequent adaptive terminals cannot be upgraded and the number of the adaptive terminals cannot be limited; the equipment manufacturer can adapt to the terminal without limiting the number of the terminals, and the workload of software system development and maintenance can be greatly reduced.
Further, referring to fig. 5, in a second embodiment of the system file upgrading method according to the present invention, based on the embodiment described in fig. 2, before the step of obtaining the preset data upgrade package, the method further includes:
step A100, obtaining configuration data of each adaptive terminal and partition capacity of a system file partition used for storing the configuration data by each adaptive terminal;
generally, a storage device in a terminal is divided into a plurality of storage areas, and the storage purpose of each storage area is different, where the system file partition described in the embodiment of the present invention refers to a storage area which is divided into storage areas for storing configuration data of the terminal in an adaptive terminal. The partition capacity refers to the capacity of the system file partition, that is, the size of the storage area for storing the configuration data of the adaptive terminal.
As described above, the terminal to be upgraded is an adaptive terminal of all terminals adapted to the same hardware motherboard. In the embodiment of the present invention, the preset data upgrade package may be a data upgrade package formed by compiling and packaging a software system outside the terminal to be upgraded, and then the preset data upgrade package may be pushed to the terminal to be upgraded through the network server, and the preset data upgrade package may also be stored in the usb disk, so that the terminal to be upgraded can directly read the preset data upgrade package, or the preset data upgrade package may be pushed to the terminal to be upgraded in other manners, as long as the preset data upgrade package is obtained. In the process of generating the preset data upgrade package by the software system, the software system first needs to acquire the configuration data of each adaptive terminal and the partition capacity of the system file partition used by each adaptive terminal for storing the configuration data.
Step A200, compiling and packaging the configuration data according to the partition capacity to generate a preset data upgrading package.
After the software system acquires the partition capacity of the system file partition of each adaptive terminal and the configuration data of each adaptive terminal, combining the partition capacity of each adaptive terminal and combining the configuration data of each adaptive terminal to form a plurality of sub-packets, so that the size of each sub-packet is smaller than or equal to that of the corresponding system file partition, and each sub-packet can be placed into the corresponding system file partition; and then compiling and packaging all the sub-data packets together to form a software upgrading packet, namely a preset data upgrading packet. The system file partition corresponding to each sub-packet means that each sub-packet has configuration data of one or more adaptation terminals, each sub-packet has one or more adaptation terminals corresponding to the sub-packet, each system file partition also has an adaptation terminal corresponding to the sub-packet, and the sub-packets and the system file partitions belonging to the same adaptation terminal are in a corresponding relationship.
In this embodiment, the partition capacity of all the adaptive terminals is obtained, then the configuration data of each adaptive terminal is put into different sub-data packets according to the partition capacity of the adaptive terminal, and then the configuration data is compiled and packaged to obtain an upgrade packet, so that each adaptive terminal can realize upgrading in the subsequent process; therefore, the adapter terminals can be increased infinitely; meanwhile, the problems that the size of the upgrade package exceeds the partition capacity of the terminal to be upgraded and the upgrade package cannot be upgraded to the system file partition of the terminal to be upgraded subsequently due to the fact that the configuration data of all the adaptive terminals are directly compiled and packaged into the same upgrade package are solved
Further, step a200 includes:
step A210, according to the partition capacity, combining the configuration data into each sub-data packet;
if the sum of the data size of the configuration data of all the adaptive terminals is smaller than or equal to the partition capacity of the system file partitions of all the adaptive terminals, the configuration data of all the adaptive terminals can be directly compiled and packaged into an upgrade package together. However, if the sum of the data size of the configuration data of all the adaptive terminals is larger than the partition capacity of one of the system file partitions of all the adaptive terminals, the configuration data of each adaptive terminal needs to be combined into a plurality of sub-packets, so that the size of each sub-packet is smaller than the capacity size of the system file partition of the corresponding adaptive terminal. It should be noted that the configuration data of the same adapter terminal is only packed into one sub-packet, and is not split into two or more sub-packets.
Further, step a210 includes:
step A211, judging whether the data sum of the configuration data is larger than the partition capacity;
and the software system judges whether the total data size of the configuration data of each adaptive terminal is larger than the partition capacity of the system file partition of each adaptive terminal or not so as to determine whether the configuration data of each adaptive terminal needs to be split into different sub-data packets or not. If the sum of the configuration data of all the adaptive terminals is smaller than or equal to the partition capacity of the system file partition of each adaptive terminal, the configuration data of all the adaptive terminals can be directly compiled and packaged into an upgrade package together, and the configuration data of each adaptive terminal does not need to be split and put into each sub-data packet and then compiled and packaged into one upgrade package, so that the workload of a software system can be reduced to the maximum extent; if the total size of the configuration data is larger than the partition capacity of the system file partition of one of all the adaptive terminals, the configuration data of each adaptive terminal needs to be split and put into each sub-data packet, and then compiled and packaged into an upgrade packet.
Step a212, if the data sum of the configuration data is greater than the partition capacity, the configuration data is combined into sub-packets whose number is greater than one and less than the number of the adaptive terminals.
If the software system judges that the data sum size of the configuration data of each adaptive terminal is larger than the partition capacity of the system file partition of one of all adaptive terminals, combining the configuration data of each adaptive terminal to form each sub-data packet; under the condition that the size of the sub-data packet is smaller than or equal to the partition capacity of the corresponding system file partition, the software system combines the configuration data of each adaptive terminal in a combination mode of minimizing the number of the sub-data packets so as to ensure that the sub-data packets can be placed into the corresponding system file partition and the number of the sub-data packets is minimized, thereby achieving the purpose of reducing the workload of the software system. The software system combines the configuration data of each adaptive terminal in a combination mode of minimizing the number of the sub-data packets, and ensures that the number of the sub-data packets combined by the configuration data of all the adaptive terminals is more than one and less than the number of the adaptive terminals under the condition that the size of the sub-data packets is less than or equal to the partition capacity of the corresponding system file partition.
If the software system judges that the total data size of the configuration data of each adaptive terminal is smaller than or equal to the partition capacity of the system file partition of each adaptive terminal, the configuration data of all the adaptive terminals can be directly compiled and packaged into the upgrade package together, and the configuration data of each adaptive terminal does not need to be split and put into each sub-data packet and then compiled and packaged into one upgrade package, so that the workload of the software system can be reduced to the maximum extent.
For example, all the adaptive terminals have 4 stations, specifically as follows: the adaptive terminal 1 configures the size of data to be 30 Mm and the partition capacity of a system file partition to be 90 Mm; the adaptive terminal 2 is configured with the data size of 30 Mm and the partition capacity of the system file partition of 120 Mm; the adaptive terminal 3 is configured with the data size of 30 Mm and the partition capacity of the system file partition of 120 Mm; the adaptive terminal 4 configures the data size to be 30 million, and the partition capacity of the system file partition is 120 million. The total sum of the configuration data of the 4 adapting terminals is 120 million, the partition capacities of the adapting terminals 2, 3 and 4 are all equal to 120 million, when a software system compiles and packs the configuration data to form an upgrade package, if the configuration data of the 4 adapting terminals are directly packed into one upgrade package, the system file partitions of the adapting terminals 2, 3 and 4 can be placed into the upgrade package, but the partition capacity of the adapting terminal 1 is only 90 million, and the system file partition of the adapting terminal 1 cannot be placed into the upgrade package; the configuration data of the adaptive terminal 1, the adaptive terminal 2, the adaptive terminal 3 and the adaptive terminal 4 need to be combined into different sub-data packets, so that the corresponding sub-data packets are all smaller than or equal to the partition capacity of the adaptive terminal 1, the adaptive terminal 2, the adaptive terminal 3 and the adaptive terminal 4. If the size of the configuration data of the adaptive terminal 1 is 30 megabits, the partition capacity of the system file partition is 150 megabits, and the configuration data and the partition capacity of the adaptive terminal 2, the adaptive terminal 3 and the adaptive terminal 4 are not changed, the sum of the data size of the configuration data of all the adaptive terminals is less than or equal to the partition capacity of the system file partition of all the adaptive terminals, and the configuration data of the adaptive terminal 1, the adaptive terminal 2, the adaptive terminal 3 and the adaptive terminal 4 can be directly compiled and packaged together into an upgrade package.
In this embodiment, under the condition that the size of the sub-data packet is ensured to be smaller than or equal to the partition capacity of the corresponding system file partition, the software system combines the configuration data of each adaptation terminal into the sub-data packet in a combination mode that minimizes the number of the sub-data packets, so as to ensure that the sub-data packet can be placed into the corresponding system file partition, and the number of the sub-data packets is minimized, thereby achieving the purpose of reducing the workload of the software system; and the mode that the sub data packet is upgraded to the corresponding system file partition is adopted, so that the problems that the upgrade packet is too large and cannot be upgraded to the system file partition of the terminal to be upgraded in the prior art are solved, and the upgrade packet can be adopted for the subsequent development and maintenance of the software system.
Step A220, compiling and packaging the sub-data packets to generate a preset data upgrading packet.
Compiling and packaging all the sub-data packets formed by combining in the mode in the step A210 into an upgrading packet, wherein the upgrading packet formed by compiling and packaging the sub-data packets is a preset data upgrading packet.
For ease of understanding, a specific embodiment is described. For example, for a series of products, a device manufacturer may match different terminal display devices in order to meet the requirements of different customers, for example, a certain type of device may have different manufacturers matching terminal display device manufacturers BOE, LG, samsung, and INX, and the same manufacturer may have n total terminal display devices of different sizes, such as 32, 43, 50, 55, 60, and 65, and subsequently, m terminal display devices may be newly added and adapted, after the adaptation is completed, it is found that the size of the configuration data exceeds the size of the file system partition storing the data, at this time, the software system separately packs the configurations displayed by the n terminals into a data packet 1, and packs the configurations displayed by the m terminal display devices into a data packet 2 (the size of the data packet 2 does not exceed the size of the file system partition of any one of the m terminal display devices), and then packs the data packet 1 and the data packet 2 into an upgrade packet.
In this embodiment, according to the partition capacity of the system file partition of the adaptive terminal, the configuration data of each adaptive terminal is combined into a plurality of sub-packets, so that the size of each sub-packet is smaller than the capacity of the system file partition of the corresponding adaptive terminal, and the data packets can be upgraded to the terminal to be upgraded subsequently; and by packaging each sub-data packet into an upgrade packet, the development and maintenance workload of the software system can be greatly reduced.
Further, in a third embodiment of the method for upgrading a system file according to the present invention, based on the embodiment described in fig. 2, after step S30, the method further includes:
step B1, judging whether the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is successful;
for convenience of understanding, referring to fig. 4, the terminal to be upgraded acquires a sub data packet identical to the partition mark from a preset data upgrade packet, where the sub data packet acquired by the terminal to be upgraded includes configuration data of the terminal to be upgraded; when the terminal to be upgraded upgrades the sub data packet to the system file partition used for storing the configuration data of the terminal to be upgraded, namely, the configuration data corresponding to the terminal to be upgraded can be upgraded to the system file partition used for storing the configuration data. In order to ensure that the terminal to be upgraded can upgrade the corresponding self data packet to the system file partition of the terminal to be upgraded, the terminal to be upgraded needs to judge whether the upgrade operation of the corresponding sub data packet is successful.
And B2, if the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is unsuccessful, returning to the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark.
And if the terminal to be upgraded is detected to be unsuccessful in upgrading the corresponding sub-data packet to the system file partition used for storing the configuration data of the terminal to be upgraded, returning to continue to perform the operation of upgrading the corresponding sub-data packet to the system file partition of the terminal to be upgraded so as to ensure that the terminal to be upgraded is successfully upgraded, and automatically restarting the terminal to be upgraded after the terminal to be upgraded is successfully upgraded. Further, if the number of times of the upgrade operation executed by the terminal to be upgraded exceeds the preset number of times, and the corresponding sub-packet is not yet upgraded to the system file partition of the terminal to be upgraded successfully, the terminal to be upgraded sends out prompt information, the prompt information may be in a form of information prompt or voice prompt, and the user may select to allow the terminal to be upgraded to continue normal startup or execute the upgrade operation again according to the prompt information.
In this embodiment, the terminal to be upgraded needs to determine whether the corresponding sub-packet upgrading operation is successful, and if not, the terminal to be upgraded continues to perform the upgrading operation until the terminal to be upgraded successfully upgrades the sub-packet to the system file partition of the terminal to be upgraded, so as to ensure that the sub-packet is successfully upgraded to the system file partition of the terminal to be upgraded, where the system file partition is used for storing configuration data, and improve the success rate of upgrading the terminal to be upgraded.
In addition, an embodiment of the present invention further provides a system file upgrading apparatus, where the system file upgrading apparatus includes:
the first acquisition module is used for acquiring a preset data upgrading packet and reading a partition mark of a system file partition used for storing configuration data by a terminal to be upgraded;
the second acquisition module is used for acquiring the sub-data packets corresponding to the partition marks from a preset data upgrading packet;
and the upgrading module is used for upgrading the sub-data packet to a system file partition corresponding to the partition mark.
Optionally, the system file upgrading apparatus further includes an upgrade package generating module, where the upgrade package generating module is configured to:
acquiring configuration data of each adaptive terminal and partition capacity of a system file partition used for storing the configuration data of each adaptive terminal;
and compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrading packet.
Optionally, the upgrade package generation module is further configured to:
according to the partition capacity, combining the configuration data into each sub-data packet;
and compiling and packaging the sub data packets to generate the preset data upgrading packet.
Optionally, the upgrade package generation module is further configured to:
judging whether the data sum of the configuration data is larger than the partition capacity or not;
and if the data sum of the configuration data is larger than the partition capacity, combining the configuration data into sub-data packets of which the number is larger than one and smaller than the number of the adaptive terminals.
Optionally, the first obtaining module is further configured to:
when detecting that a terminal to be upgraded is started or restarted, acquiring an upgrading mark of the terminal to be upgraded;
and acquiring a preset data upgrading packet according to the upgrading mark, and reading a partition mark of a system file partition used for storing configuration data by the terminal to be upgraded.
Optionally, the second obtaining module is further configured to:
searching each sub-data packet of the preset data upgrading packet for a sub-data packet containing the partition mark;
and acquiring the sub-data packet containing the partition mark.
Optionally, the system file upgrading device further includes an upgrade determining module, and the upgrade determining module is configured to:
judging whether the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is successful;
and if the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is unsuccessful, returning to the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark.
The specific implementation of the system file upgrading device of the present invention may refer to the embodiments of the system file upgrading method, and will not be described herein again.
In addition, an embodiment of the present invention further provides a readable storage medium, where a system file upgrade program is stored on the readable storage medium, and when the system file upgrade program is executed by a processor, the method for upgrading a system file as described above is implemented.
The specific implementation of the readable storage medium of the present invention may refer to the embodiments of the system file upgrading method, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A system file upgrading method is characterized by comprising the following steps:
acquiring a preset data upgrading packet, and reading partition marks of system file partitions of all adaptive terminals of the same hardware mainboard, wherein the partition marks are used for storing configuration data, the preset data upgrading packet is larger than the partition capacity of the system file partition of one adaptive terminal of the same hardware mainboard, and the system file partition is a storage area used for storing the configuration data by each adaptive terminal;
acquiring the sub-data packets corresponding to the partition marks from a preset data upgrading packet, wherein if the sum of the configuration data of all the adaptive terminals is larger than the partition capacity of one system file partition of all the adaptive terminals, the configuration data of each adaptive terminal needs to be combined into a plurality of sub-data packets, so that the sizes of the sub-data packets are smaller than the capacity of the system file partition of the corresponding adaptive terminal, the configuration data of the same adaptive terminal only can be packed into one sub-data packet and cannot be split into two or more sub-data packets, and the configuration data of each adaptive terminal is combined into the plurality of sub-data packets by specifically adopting a mode of enabling the number of the sub-data packets to be as small as possible;
and upgrading the sub-data packet to a system file partition corresponding to the partition mark.
2. The system file upgrade method according to claim 1, wherein the step of obtaining the preset data upgrade package further comprises:
acquiring configuration data of all adaptive terminals of the same hardware mainboard, and partition capacity of a system file partition used for storing the configuration data by all the adaptive terminals of the same hardware mainboard;
and compiling and packaging the configuration data according to the partition capacity to generate the preset data upgrading packet.
3. The system file upgrade method according to claim 1, wherein the number of said sub-packets is greater than one and less than the number of adaptation terminals.
4. The method for upgrading system files according to claim 1, wherein the step of obtaining the upgrade package of the preset data and reading the partition flags of the system file partitions, which are used by all the adapter terminals of the same hardware motherboard to store the configuration data, comprises:
when detecting that a terminal to be upgraded is started or restarted, acquiring an upgrading mark of the terminal to be upgraded;
and acquiring a preset data upgrading packet according to the upgrading mark, and reading partition marks of system file partitions for storing configuration data of all the adaptive terminals of the same hardware mainboard.
5. The method for upgrading system files according to claim 1, wherein the step of obtaining the sub-packets corresponding to the partition flags from the preset data upgrade packet includes:
searching each sub-data packet of the preset data upgrading packet for a sub-data packet containing the partition mark;
and acquiring the sub-data packet containing the partition mark.
6. The method for upgrading system files according to any one of claims 1 to 5, wherein the step of upgrading the sub-packets to the system file partition corresponding to the partition flag further comprises:
judging whether the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is successful;
and if the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark is unsuccessful, returning to the operation of upgrading the sub-data packet to the system file partition corresponding to the partition mark.
7. A system file upgrade apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a preset data upgrading packet and reading partition marks of system file partitions of all adaptive terminals of the same hardware mainboard, which are used for storing configuration data, the preset data upgrading packet is larger than the partition capacity of the system file partition of one adaptive terminal of the same hardware mainboard, and the system file partition is a storage area of each adaptive terminal, which is used for storing the configuration data;
a second obtaining module, configured to obtain the sub-data packets corresponding to the partition flags from the preset data upgrade packet, where if the sum of the configuration data of all the adaptation terminals is greater than the partition capacity of one of the system file partitions of all the adaptation terminals, the configuration data of each adaptation terminal needs to be combined into multiple sub-data packets, so that the sizes of the sub-data packets are all smaller than the capacity of the system file partition of the corresponding adaptation terminal, the configuration data of the same adaptation terminal is only packaged into one sub-data packet, but not split into two or more sub-data packets, and the configuration data of each adaptation terminal is combined into multiple sub-data packets specifically by combining the number of the sub-data packets as small as possible;
and the upgrading module is used for upgrading the sub-data packet to a system file partition corresponding to the partition mark.
8. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and a system file upgrade program stored on the memory and executable on the processor, the system file upgrade program when executed by the processor implementing the steps of the system file upgrade method as claimed in any one of claims 1 to 6.
9. A readable storage medium, wherein a system file upgrade program is stored on the readable storage medium, and when executed by a processor, the system file upgrade program implements the steps of the system file upgrade method according to any one of claims 1 to 6.
CN201910211390.XA 2019-03-19 2019-03-19 System file upgrading method and device, mobile terminal and readable storage medium Active CN109947450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910211390.XA CN109947450B (en) 2019-03-19 2019-03-19 System file upgrading method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910211390.XA CN109947450B (en) 2019-03-19 2019-03-19 System file upgrading method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109947450A CN109947450A (en) 2019-06-28
CN109947450B true CN109947450B (en) 2023-03-17

Family

ID=67011166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910211390.XA Active CN109947450B (en) 2019-03-19 2019-03-19 System file upgrading method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109947450B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488194B (en) * 2020-03-11 2023-12-01 广州文远知行科技有限公司 Container preservation method, device, computer equipment and storage medium
CN111565333A (en) * 2020-04-29 2020-08-21 深圳创维-Rgb电子有限公司 Data modification method based on data separation, television and storage medium
CN112181471A (en) * 2020-10-16 2021-01-05 北京紫光展锐通信技术有限公司 Differential upgrading method and device, storage medium and computer equipment
CN113419756A (en) * 2021-06-18 2021-09-21 杭州海康威视数字技术股份有限公司 File upgrading method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843656A (en) * 2016-04-22 2016-08-10 Tcl集团股份有限公司 System upgrading method for insufficient disk space, terminal device and server
CN107193593A (en) * 2017-05-17 2017-09-22 深圳创维数字技术有限公司 A kind of upgrade method, set top box and the storage medium of scalable file
WO2017185253A1 (en) * 2016-04-27 2017-11-02 华为技术有限公司 Patch upgrade-based file processing method and device, terminal, and storage medium
WO2018036166A1 (en) * 2016-08-25 2018-03-01 中兴通讯股份有限公司 Upgrade package reading method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293782A (en) * 2015-05-15 2017-01-04 中兴通讯股份有限公司 A kind of method for upgrading system and terminal
CN106484450A (en) * 2015-08-28 2017-03-08 青岛海信移动通信技术股份有限公司 A kind of method for upgrading software and device
CN107992312A (en) * 2016-10-25 2018-05-04 中兴通讯股份有限公司 A kind of upgrade package delivery method and device
CN107967157B (en) * 2017-08-17 2021-06-01 青岛海信移动通信技术股份有限公司 Data processing method and device in OTA (over the air) tundish generation process
CN108121556B (en) * 2017-12-26 2022-01-04 深圳Tcl新技术有限公司 eMMC compatible upgrading method, intelligent terminal and readable storage medium
CN108196870A (en) * 2017-12-29 2018-06-22 北京臻迪科技股份有限公司 Upgrade method and device
CN108170455B (en) * 2018-03-12 2021-04-27 晶晨半导体(上海)股份有限公司 Upgrade package packaging method and upgrade method
CN109062598B (en) * 2018-06-26 2022-07-26 珠海全志科技股份有限公司 Safe OTA (over the air) upgrading method and system
CN108989891A (en) * 2018-06-29 2018-12-11 广州视源电子科技股份有限公司 System for TV set update method, device, readable storage medium storing program for executing and television set
CN109460245B (en) * 2018-10-31 2020-02-07 北京众谊越泰科技有限公司 Remote upgrading method for embedded system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843656A (en) * 2016-04-22 2016-08-10 Tcl集团股份有限公司 System upgrading method for insufficient disk space, terminal device and server
WO2017185253A1 (en) * 2016-04-27 2017-11-02 华为技术有限公司 Patch upgrade-based file processing method and device, terminal, and storage medium
WO2018036166A1 (en) * 2016-08-25 2018-03-01 中兴通讯股份有限公司 Upgrade package reading method and device
CN107193593A (en) * 2017-05-17 2017-09-22 深圳创维数字技术有限公司 A kind of upgrade method, set top box and the storage medium of scalable file

Also Published As

Publication number Publication date
CN109947450A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109947450B (en) System file upgrading method and device, mobile terminal and readable storage medium
CN107291497B (en) Multi-firmware upgrading method and system and readable storage medium
CN108027741B (en) File processing method, device, terminal and storage medium based on patch upgrade
EP2966566B1 (en) Driver program loading method and embedded device
CN102073512B (en) JAVA cluster application system code loading and upgrading device and method
CN103577202B (en) Method for upgrading software and system
CN110597542B (en) Software automatic OTA (over the air) upgrading method and device and electronic equipment
CN109587252A (en) Loading method, device, electronic equipment and the storage medium of operator parameter
CN108121556B (en) eMMC compatible upgrading method, intelligent terminal and readable storage medium
CN111049870B (en) Application downloading and sending method, device and system
CN110968331A (en) Method and device for running application program
CN110888658B (en) Method and device for dynamically changing function modules in application program and storage medium
CN111290773A (en) System upgrading method, device and readable storage medium
CN104699509A (en) Method and device for downloading application software
KR100974662B1 (en) Mobile commuication terminal and method for updating firmware thereof
CN106843956B (en) Method and device for generating system firmware package
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
CN112286586B (en) Plug-in configuration method and related equipment
US11262995B2 (en) Method and apparatus for downloading installation-free application
CN107515763A (en) The processing method and server, terminal device of a kind of application program and its installation resource
CN111381978B (en) Method for accessing application program, storage medium and intelligent television
CN111615030A (en) Upgrading method, device and medium for novel TWS earphone
CN111885564B (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN112491956A (en) Method and device for upgrading communication module in Internet of things equipment and computer equipment
CN112950370A (en) Service processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant