CN108153540B - System upgrading method, device, terminal and storage medium - Google Patents

System upgrading method, device, terminal and storage medium Download PDF

Info

Publication number
CN108153540B
CN108153540B CN201810035955.9A CN201810035955A CN108153540B CN 108153540 B CN108153540 B CN 108153540B CN 201810035955 A CN201810035955 A CN 201810035955A CN 108153540 B CN108153540 B CN 108153540B
Authority
CN
China
Prior art keywords
storage area
data
program storage
target program
target
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
CN201810035955.9A
Other languages
Chinese (zh)
Other versions
CN108153540A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810035955.9A priority Critical patent/CN108153540B/en
Publication of CN108153540A publication Critical patent/CN108153540A/en
Application granted granted Critical
Publication of CN108153540B publication Critical patent/CN108153540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure relates to a method, an apparatus, a terminal and a storage medium for system upgrade, which includes: after target data of a system to be upgraded in a first memory storage area is copied to a target program storage area corresponding to the target data, carrying out correctness verification on the data in the target program storage area; and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in the second memory storage area to the target program storage area, and acquiring the target data of the system to be upgraded according to a system upgrade package and storing the target data in the first memory storage area and the second memory storage area respectively. The method and the device improve the reliability of system upgrading and improve user experience.

Description

System upgrading method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for upgrading a system, a terminal, and a storage medium.
Background
With the increasing of terminal functions and the continuous perfection of operating systems, the terminal needs to upgrade the system once every a period of time.
In the related art, the processor is responsible for operations and processing, and the memory is responsible for exchanging data. When the system is upgraded, the processor copies the data of the new system to be written into the program storage area to the memory, and then copies the data to the program storage area from the memory. However, the memory is not always completely stable, and an exception, such as a bit flip, may occur.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus, a terminal, and a storage medium for system upgrade.
According to a first aspect of the embodiments of the present disclosure, a method for upgrading a system is provided, which includes:
after the target data of the system to be upgraded in the first memory storage area is copied to a target program storage area corresponding to the target data, carrying out correctness verification on the data in the target program storage area;
and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in the second memory storage area to the target program storage area, and acquiring the target data of the system to be upgraded according to a system upgrade package and respectively storing the target data in the first memory storage area and the second memory storage area.
Optionally, the system upgrade package is a complete package, and the checking the correctness of the data in the target program storage area includes:
and carrying out correctness verification by adopting a first verification algorithm according to the data in the target program storage area and the data of the system upgrade package.
Optionally, the first verification algorithm includes an md5sum verification algorithm.
Optionally, the system upgrade package is a differential package, and the checking the correctness of the data in the target program storage area includes:
according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area, a second checking algorithm is adopted for checking the correctness; the backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
Optionally, the second checking algorithm includes: a parity check algorithm.
Optionally, the method further includes: after the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, performing correctness check on the data in the target program storage area, and if the result of performing correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in a third memory storage area to the target program storage area, wherein the target data of the system to be upgraded, which is obtained according to the system upgrade package, is stored in the third memory storage area.
Optionally, if the number of times that the data in the target program storage area is incorrect as a result of the correctness check is greater than or equal to the preset number of times, returning the data in the program storage area to the data corresponding to the current system, where the program storage area includes the target program storage area.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for system upgrade, including:
the first checking module is configured to perform correctness checking on data in a target program storage area after target data of a system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data;
the first copying module is configured to copy the target data of the system to be upgraded in the second memory storage area to the target program storage area if the result of the correctness check of the data in the target program storage area by the first checking module is incorrect, and the target data of the system to be upgraded is obtained according to a system upgrade package and is respectively stored in the first memory storage area and the second memory storage area.
Optionally, the system upgrade package is a complete package, and the first checking module includes: a first check submodule;
the first checking submodule is configured to perform correctness checking by using a first checking algorithm according to the data in the target program storage area and the data of the system upgrade package.
Optionally, the first verification algorithm includes an md5sum verification algorithm.
Optionally, the system upgrade package is a differential package, and the first check module includes: a second check sub-module;
the second check submodule is configured to perform correctness check by using a second check algorithm according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area; the backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
Optionally, the second checking algorithm includes: a parity check algorithm.
Optionally, the apparatus further comprises: a second check module and a second copy module;
the second checking module is configured to perform correctness checking on the data in the target program storage area after copying the target data of the system to be upgraded in the second memory storage area to the target program storage area;
the second copying module is configured to copy the target data of the system to be upgraded in a third memory storage area to the target program storage area if the result of the correctness check performed on the data in the target program storage area by the second checking module is incorrect, where the target data of the system to be upgraded, which is obtained according to the system upgrade package, is stored in the third memory storage area.
Optionally, the apparatus further comprises: and the rollback module is configured to rollback the data in the program storage area to the data corresponding to the current system if the number of times that the data in the target program storage area is incorrect as a result of checking the correctness of the data is greater than or equal to a preset number of times, wherein the program storage area comprises the target program storage area.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of the first aspects described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any one of the above first aspects.
According to the method, the device, the terminal and the storage medium for upgrading the system, after target data of the system to be upgraded in the first memory storage area is copied to a target program storage area corresponding to the target data, correctness verification is carried out on the data in the target program storage area; and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data in the second memory storage area to the target program storage area, and acquiring the target data of the system to be upgraded according to a system upgrade package and storing the target data in the first memory storage area and the second memory storage area respectively, so that the problem that the terminal cannot normally operate due to the fact that the system is upgraded to an unusable version due to the exception of the memory is solved, the reliability of system upgrade is improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram illustrating a method of system upgrade, according to an example embodiment;
FIG. 2 is a block diagram illustrating a method of system upgrade, according to another example embodiment;
FIG. 3 is a block diagram illustrating a method of system upgrade, according to yet another exemplary embodiment;
FIG. 4 is a block diagram illustrating a method of system upgrade, according to yet another exemplary embodiment;
FIG. 5A is a block diagram illustrating a method of system upgrade, according to yet another exemplary embodiment;
FIG. 5B is a schematic diagram of the data replication of FIG. 5A;
FIG. 6 is a block diagram illustrating an apparatus for system upgrade, according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus for system upgrade, according to another example embodiment;
FIG. 8 is a block diagram illustrating an apparatus of a system upgrade, according to yet another exemplary embodiment;
FIG. 9 is a block diagram illustrating an apparatus of a system upgrade, according to yet another exemplary embodiment;
FIG. 10 is a block diagram illustrating an apparatus of a system upgrade, according to yet another exemplary embodiment;
FIG. 11 is a block diagram illustrating a terminal in accordance with an exemplary embodiment;
fig. 12 is a block diagram illustrating a terminal 800 according to yet another example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a block diagram illustrating a method of system upgrade, according to an example embodiment. The execution main body of the system upgrading method provided by the embodiment may be a terminal, such as a mobile phone, a tablet computer, and the like. As shown in fig. 1, the method of the present embodiment may include the following steps:
in step 101, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, correctness checking is performed on the data in the target program storage area.
In this step, when the system is upgraded, the data of the system to be upgraded may be copied to the memory storage area, and then copied from the memory storage area to the program storage area. In this step, the target data to be upgraded is obtained according to the system upgrade package and stored in the target program storage area. Optionally, the first memory storage area may specifically be any part of a memory that can be used to copy data to the program storage area. The present disclosure is not limited with respect to the size of the first memory storage area. The target data may be all data or any part of data of the system to be upgraded. By checking the correctness of the data in the target program storage area, whether the data in the target program storage area is correct can be judged. Optionally, when the data in the target program storage area is consistent with the target data of the system to be upgraded, which is obtained according to the system upgrade package, the result of performing correctness check on the data in the target program storage area may be considered to be correct; when the data in the target program storage area is inconsistent with the target data of the system to be upgraded, which is obtained according to the system upgrade package, the result of the correctness check of the data in the target program storage area can be considered to be incorrect. Specifically, when the first memory storage area is not abnormal, the target data of the system to be upgraded in the first memory storage area and the target data of the system to be upgraded obtained according to the system upgrade package can be consistent; when the first memory storage area is abnormal, the target data of the system to be upgraded in the first memory storage area and the target data of the system to be upgraded obtained according to the system upgrade package may be inconsistent.
In step 102, if the result of checking the correctness of the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area.
In this step, the target data of the system to be upgraded, which is obtained according to the system upgrade package, is also stored in the second memory area. Optionally, after determining that the result of performing correctness check on the data in the target program storage area is incorrect, storing the target data of the system to be upgraded, which is obtained according to the system upgrade package, in the second memory storage area; or, before it is determined that the result of checking the correctness of the data in the target program storage area is incorrect, the target data of the system to be upgraded, which is obtained according to the system upgrade package, may be stored in the second memory storage area. The second memory area may specifically be a memory area different from the first memory area. When the target data of the system to be upgraded in the second memory storage different from the first memory storage area is copied to the target program storage area, the target data of the system to be upgraded in the second memory storage different from the first memory storage area can be copied to the target program storage area, so that the problem that the system is upgraded to an unusable version due to the memory abnormality is solved.
In the method for upgrading a system provided by this embodiment, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, correctness checking is performed on the data in the target program storage area, and if the result of correctness checking on the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, and the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively, so that the problem that the terminal cannot normally operate due to the fact that the system is upgraded to an unusable version due to an abnormal memory is avoided, reliability of system upgrade is improved, and user experience is improved.
FIG. 2 is a block diagram illustrating a method of system upgrade, according to another example embodiment. Referring to fig. 2, the method provided in this embodiment mainly describes a specific implementation manner when the system upgrade package is the complete package on the basis of the embodiment of the method shown in fig. 1. As shown in fig. 2, the method of this embodiment may include:
in step 201, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, a first verification algorithm is used to perform correctness verification according to the data in the target program storage area and the data of the system upgrade package.
In this step, the target data of the system to be upgraded is obtained according to the system upgrade package and stored in the first memory area. Because the more contents needing to be updated in the program storage area, the longer the time required for upgrading, the more memories are used, the higher the probability of encountering memory abnormality in the upgrading process is, and the more contents need to be verified. Therefore, when the system upgrade package is a complete package, the partition of the program storage area may be used to divide the target data, and further, a checking algorithm with high accuracy may be selected as the first checking algorithm, for example, an md5sum checking algorithm. Specifically, whether the data in the target storage area is consistent with the target data of the system to be upgraded included in the data of the system upgrade package can be judged through a first verification algorithm, so that correctness verification is performed on the data in the target program storage area, if so, the result of the correctness verification is correct, and if not, the result is incorrect.
In step 202, if the result of checking the correctness of the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area.
It should be noted that step 202 is similar to step 102, and is not described herein again.
In the method for upgrading a system provided in this embodiment, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, correctness checking is performed by using a first checking algorithm according to the data in the target program storage area and the data of the system upgrade package, if the result of the correctness checking on the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively, so that the problem that the system is upgraded to an unusable version due to an abnormal memory, which results in that the terminal cannot normally operate, is avoided, and reliability of system upgrade is improved, the user experience is improved.
FIG. 3 is a block diagram illustrating a method of system upgrade, according to yet another example embodiment. Referring to fig. 3, the method provided in this embodiment mainly describes a specific implementation manner when the system upgrade package is a differential package on the basis of the embodiment of the method shown in fig. 1. As shown in fig. 3, the method of this embodiment may include:
in step 301, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, a second checking algorithm is used to perform correctness checking according to the data in the target program storage area, the data of the system upgrade package, and the backup data in the target program storage area.
In this step, the target data of the system to be upgraded is obtained according to the system upgrade package and stored in the first memory area. The backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area. Because the content needing to be updated in the program storage area is less, the time required for upgrading is shorter, the used memory is less, the probability of encountering memory abnormality in the upgrading process is lower, and the content needing to be checked is less. Therefore, when the system upgrade package is a differential package, the division of the target data may be performed in the differential unit or the memory block of the program memory area, and further, a check algorithm with a high speed may be selected as the second check algorithm, for example, a parity check algorithm.
In step 302, if the result of checking the correctness of the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area.
It should be noted that step 302 is similar to step 102, and is not described herein again.
In the method for upgrading a system provided in this embodiment, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, correctness checking is performed by using a second checking algorithm according to the data in the target program storage area, the data of the system upgrade package, and the backup data of the target program storage area, if the result of the correctness checking performed on the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, and the target data of the system to be upgraded is obtained according to the system upgrade package and is respectively stored in the first memory storage area and the second memory storage area, so that the problem that the terminal cannot normally operate due to the fact that the system is upgraded to an unusable version due to an abnormal memory is avoided, the reliability of system upgrading is improved, and user experience is improved.
Optionally, on the basis of the embodiments shown in fig. 2 and fig. 3, before the system is upgraded, whether the system upgrade package is a legal upgrade package may be authenticated, and further, whether the system upgrade package is a complete package or a differential package may be determined. When the system upgrade package is a complete package, further, the technical solution of the embodiment shown in fig. 2 may be implemented; when the system upgrade package is a differential package, further, the technical solution of the embodiment shown in fig. 3 may be implemented.
FIG. 4 is a block diagram illustrating a method of system upgrade, according to yet another example embodiment. Referring to fig. 4, the method provided in this embodiment mainly describes an alternative implementation manner of performing correctness checking on data in a target program storage area on the basis of the embodiment of the method shown in fig. 1. As shown in fig. 4, the method of this embodiment may include:
in step 401, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data, correctness checking is performed on the data in the target program storage area.
It should be noted that step 401 is similar to step 101, and is not described herein again.
In step 402, if the result of checking the correctness of the data in the target program storage area is incorrect, it is determined that the number of times of checking the correctness of the data in the target program storage area is incorrect is greater than or equal to a preset number of times.
In this step, when the number of times that the result of checking the correctness of the data in the target program storage area is incorrect is less than the preset number of times, step 403 is executed. When the number of times that the data in the target program storage area is checked for correctness is greater than or equal to the preset number of times, step 406 is executed.
In step 403, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, and after the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, correctness checking is performed on the data in the target program storage area.
In this step, the target data of the system to be upgraded, which is obtained according to the system upgrade package, is also stored in the second memory area. Optionally, after determining that the result of performing correctness check on the data in the target program storage area is incorrect, storing the target data of the system to be upgraded, which is obtained according to the system upgrade package, in the second memory storage area; or, before it is determined that the result of checking the correctness of the data in the target program storage area is incorrect, the target data of the system to be upgraded, which is obtained according to the system upgrade package, may be stored in the second memory storage area. The second memory area may specifically be a memory area different from the first memory area.
It should be noted that, in this step, the specific manner of checking the correctness of the data in the target program storage area may refer to the related description in the foregoing embodiment, and is not described herein again.
In step 404, if the result of checking the correctness of the data in the target program storage area is incorrect, it is determined that the number of times of checking the correctness of the data in the target program storage area is incorrect is greater than or equal to a preset number of times.
In this step, when the number of times that the result of checking the correctness of the data in the target program storage area is incorrect is less than the preset number of times, step 405 is executed. When the number of times that the data in the target program storage area is checked for correctness is greater than or equal to the preset number of times, step 406 is executed.
In step 405, the target data of the system to be upgraded in the third memory storage area is copied to the target program storage area.
In this step, the target data of the system to be upgraded, which is obtained according to the system upgrade package, is also stored in the third memory area. It is to be understood that, after the target data of the system to be upgraded in the third memory storage area is copied to the target program storage area, correctness checking may also be performed on the data in the target program storage area, and similarly, when the result of correctness checking is incorrect and the number of times of correctness is less than the preset number of times, the target data of the system to be upgraded in the fourth memory storage area may be copied to the target program storage area … … until the result of correctness checking is correct or until the number of times of correctness checking is incorrect is greater than or equal to the preset number of times.
In step 406, the data in the program storage area is returned to the data corresponding to the current system, and the program storage area includes the target program storage area.
In this step, the data in the program storage area may be returned to the data corresponding to the current system according to the data in the backup storage area of the program storage area. The backup storage area stores data corresponding to the current system.
In the method for upgrading a system provided in this embodiment, after the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, correctness verification is performed on the data in the target program storage area, and if the result of the correctness verification performed on the data in the target program storage area is incorrect, the target data of the system to be upgraded in the third memory storage area is copied to the target program storage area, so that reliability of system upgrading is further improved. In addition, if the number of times of correctness check on the data in the target program storage area is incorrect is greater than or equal to the preset number of times, returning the data in the program storage area to the data corresponding to the current system, wherein the program storage area comprises the target program storage area, so that the availability of the current system is ensured when the system is not upgraded successfully, and the user experience is improved.
Fig. 5A is a block diagram illustrating a method of system upgrade according to yet another exemplary embodiment, and fig. 5B is a data replication diagram of fig. 5A. Referring to fig. 5A and 5B, the method provided in this embodiment describes an alternative implementation manner, based on the above method embodiment, by taking an example that the target data of the system to be upgraded is composed of target data 1 and target data 2. As shown in fig. 5A, the method of the present embodiment may include:
in step 501, the target data 1 of the system to be upgraded in the first memory storage area 1 is copied to the target program storage area 1 corresponding to the target data 1.
In this step, the target data 1 of the system to be upgraded is obtained according to the system upgrade package and stored in the first memory area 1.
In step 502, the data in the target program storage area 1 is checked for correctness.
In this step, if the result of checking the correctness of the data in the target program storage area 1 is incorrect, step 503 may be executed. If the result of checking the correctness of the data in the target program storage area 1 is correct, step 504 can be executed. For a specific implementation manner of performing correctness check on the data in the target program storage area 1, reference may be made to the above embodiment, which is not described herein again.
In step 503, the target data 1 of the system to be upgraded in the second memory storage area 1 is copied to the target program storage area 1.
In this step, the target data 1 of the system to be upgraded is obtained according to the system upgrade package and is also stored in the second memory area 1. It should be noted that, in this embodiment, step 504 may be executed after step 503 is executed, and optionally, after step 503 is executed, the embodiment shown in fig. 4 may further perform validity check on the data in the target program storage area 2, and step 504 is executed again until the result of the validity check is correct.
In step 504, the target data 2 of the system to be upgraded in the first memory storage area 2 is copied to the target program storage area 2 corresponding to the target data 2.
In this step, the target data 2 of the system to be upgraded is obtained according to the system upgrade package and stored in the first memory storage area 2.
In step 505, the data in the target program storage area 2 is checked for correctness.
In this step, if the result of checking the correctness of the data in the target program storage area 2 is incorrect, step 506 may be executed. If the result of the correctness check on the data in the target program storage area 2 is correct, the system upgrade is finished, and if the result of the correctness check on the data in the target program storage area 2 is correct, the system upgrade can be indicated to be finished. For a specific implementation manner of performing correctness check on the data in the target program storage area 1, reference may be made to the above embodiment, which is not described herein again.
In step 506, the target data 2 of the system to be upgraded in the second memory storage area 2 is copied to the target program storage area 2.
In this step, the target data 2 of the system to be upgraded is obtained according to the system upgrade package and is also stored in the second memory area 2. It should be noted that, after the step 506 is executed, the process may be ended, or the validity check may be further performed on the data in the target program storage area 2 as in the embodiment shown in fig. 4. It should be noted that, in this embodiment, taking an example that the target data 1 is copied to the target program storage area 1 first, and then the target data 2 is copied to the target program storage area 2, the sequence of copying the target data 1 and the target data 2 is not limited in this disclosure.
In the method for upgrading a system provided in this embodiment, after the target data 1 of the system to be upgraded in the first memory storage area 1 is copied to the target program storage area 1 corresponding to the target data 1, correctness verification is performed on the data in the target program storage area 1, if the result of the correctness verification performed on the data in the target program storage area 1 is incorrect, the target data 1 of the system to be upgraded in the second memory storage area 1 is copied to the target program storage area 1, and if the result of the correctness verification performed on the data in the target program storage area 1 is correct, the target data 2 of the system to be upgraded in the first memory storage area is copied to the target program storage area 2 corresponding to the target data 2, so as to avoid the problem that the system is upgraded to an unusable version due to an abnormal memory, and thus the terminal cannot normally operate, the reliability of system upgrading is improved, and user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
FIG. 6 is a block diagram illustrating an apparatus for system upgrade, according to an example embodiment. The apparatus may be implemented as part or all of the terminal by software, hardware or a combination of both. Referring to fig. 6, the apparatus includes: a first check module 601 and a first replication module 602.
The first checking module 601 is configured to perform correctness checking on data in a target program storage area after target data of a system to be upgraded in a first memory storage area is copied to the target program storage area corresponding to the target data;
the first copying module 602 is configured to copy the target data of the system to be upgraded in the second memory storage area to the target program storage area if the result of the correctness check performed on the data in the target program storage area is incorrect, where the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively.
To sum up, in the apparatus for system upgrade provided in the embodiment of the present disclosure, after the first checking module copies the target data of the system to be upgraded in the first memory storage area to the target program storage area corresponding to the target data, the first checking module performs correctness checking on the data in the target program storage area, if the result of the correctness checking on the data in the target program storage area is incorrect, the first copying module copies the target data of the system to be upgraded in the second memory storage area to the target program storage area, the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively, thereby avoiding the problem that the system is upgraded to an unusable version due to an abnormal memory, which results in that the terminal cannot operate normally, and improving the reliability of the system upgrade, the user experience is improved.
FIG. 7 is a block diagram illustrating an apparatus of a system upgrade, according to yet another example embodiment. Referring to fig. 7, the apparatus is based on the block diagram shown in fig. 6, and optionally, the first checking module 601 includes: first check submodule 6011.
The first checking submodule 6011 is configured to perform correctness checking by using a first checking algorithm according to the data in the target program storage area and the data of the system upgrade package.
Optionally, the first verification algorithm includes an md5sum verification algorithm.
To sum up, in the apparatus for upgrading a system provided in the embodiment of the present disclosure, after the first check submodule copies the target data of the system to be upgraded in the first memory storage area to the target program storage area corresponding to the target data, the first check algorithm is used to perform correctness check according to the data in the target program storage area and the data of the system upgrade package, if the result of the correctness check performed on the data in the target program storage area by the first copy module is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively, so as to avoid the problem that the terminal cannot normally operate due to the system being upgraded to an unusable version caused by an abnormal memory, the reliability of system upgrading is improved, and user experience is improved.
FIG. 8 is a block diagram illustrating an apparatus of a system upgrade, according to yet another example embodiment. Referring to fig. 8, the apparatus is based on the block diagram shown in fig. 6, and optionally, the first checking module 601 includes: second check sub-module 6012.
The second checking submodule 6012 is configured to perform correctness checking with a second checking algorithm according to the data in the target program storage area, the data of the system upgrade package, and the backup data of the target program storage area; the backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
Optionally, the second checking algorithm includes: a parity check algorithm.
To sum up, in the apparatus for system upgrade provided in the embodiment of the present disclosure, after the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area corresponding to the target data by the second check submodule, according to the data in the target program storage area, the data of the system upgrade package, and the backup data in the target program storage area, a second check algorithm is used to perform correctness check, if the result of the correctness check performed on the data in the target program storage area by the first copy module is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, and the target data of the system to be upgraded is obtained according to the system upgrade package and is stored in the first memory storage area and the second memory storage area respectively, so that the system is prevented from being upgraded to an unusable version due to an abnormality in the memory, therefore, the problem that the terminal cannot normally operate is caused, the reliability of system upgrading is improved, and the user experience is improved.
FIG. 9 is a block diagram illustrating an apparatus of a system upgrade, according to yet another example embodiment. Referring to fig. 9, the apparatus is based on the block diagram shown in fig. 6, and optionally, the apparatus may further include a second check module 603 and a second copy module 604.
The second checking module 603 is configured to perform correctness checking on data in the target program storage area after copying the target data of the system to be upgraded in the second memory storage area to the target program storage area;
the second copying module 604 is configured to copy the target data of the system to be upgraded in a third memory storage area to the target program storage area if the result of the correctness check performed on the data in the target program storage area by the second checking module is incorrect, where the target data of the system to be upgraded and obtained according to the system upgrade package are stored in the third memory storage area.
To sum up, in the apparatus for system upgrade provided in the embodiment of the present disclosure, after the second verification module copies the target data of the system to be upgraded in the second memory storage area to the target program storage area, correctness verification is performed on the data in the target program storage area, and if a result of the second verification module performing correctness verification on the data in the target program storage area is incorrect, the second verification module copies the target data of the system to be upgraded in the third memory storage area to the target program storage area, so as to further improve reliability of system upgrade.
FIG. 10 is a block diagram illustrating an apparatus of a system upgrade, according to yet another example embodiment. Referring to fig. 10, the apparatus is based on the block diagram shown in fig. 9, and optionally, the apparatus may further include a rollback module 605.
A rollback module 605 configured to rollback the data in the program storage area to the data corresponding to the current system if the number of times that the data in the target program storage area is incorrect as a result of the correctness check is greater than or equal to a preset number of times, where the program storage area includes the target program storage area.
To sum up, in the apparatus for system upgrade provided in the embodiment of the present disclosure, if the number of times that the result of the correctness check on the data in the target program storage area is incorrect is greater than or equal to the preset number of times, the rollback module is configured to rollback the data in the program storage area to the data corresponding to the current system, where the program storage area includes the target program storage area, so as to ensure availability of the current system when the system upgrade is unsuccessful, and improve user experience.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating a terminal according to an example embodiment, and as shown in fig. 11, the terminal may include: a processor 1101 and a memory 1102 for storing computer instructions.
Wherein the processor 1101 executes the computer instructions to perform the following method:
after the target data of the system to be upgraded in the first memory storage area is copied to a target program storage area corresponding to the target data, carrying out correctness verification on the data in the target program storage area;
if the result of the correctness check on the data in the target program storage area is incorrect, the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, and the target data of the system to be upgraded is obtained according to a system upgrade package and is respectively stored in the first memory storage area and the second memory storage area.
Optionally, the system upgrade package is a complete package, and the checking the correctness of the data in the target program storage area includes:
and carrying out correctness verification by adopting a first verification algorithm according to the data in the target program storage area and the data of the system upgrade package.
Optionally, the first verification algorithm includes an md5sum verification algorithm.
Optionally, the system upgrade package is a differential package, and the checking the correctness of the data in the target program storage area includes:
according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area, a second checking algorithm is adopted for checking the correctness; the backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
Optionally, the second checking algorithm includes: a parity check algorithm.
Optionally, the method further includes: after the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, performing correctness check on the data in the target program storage area, and if the result of performing correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in a third memory storage area to the target program storage area, wherein the target data of the system to be upgraded, which is obtained according to the system upgrade package, is stored in the third memory storage area.
Optionally, if the number of times that the data in the target program storage area is incorrect as a result of the correctness check is greater than or equal to the preset number of times, returning the data in the program storage area to the data corresponding to the current system, where the program storage area includes the target program storage area.
Fig. 12 is a block diagram illustrating a terminal 800 according to yet another example embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 12, terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the terminal 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 800.
The multimedia component 808 includes a screen providing an output interface between the terminal 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for terminal 800. For example, sensor assembly 814 can detect an open/closed state of terminal 800, the relative positioning of components, such as a display and keypad of terminal 800, sensor assembly 814 can also detect a change in position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, orientation or acceleration/deceleration of terminal 800, and a change in temperature of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal 800 and other devices in a wired or wireless manner. The terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods described in the method embodiments of system upgrade described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a terminal, enable the terminal to perform a method of system upgrade, the method comprising:
after the target data of the system to be upgraded in the first memory storage area is copied to a target program storage area corresponding to the target data, carrying out correctness verification on the data in the target program storage area;
and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in the second memory storage area to the target program storage area, and acquiring the target data of the system to be upgraded according to a system upgrade package and respectively storing the target data in the first memory storage area and the second memory storage area.
Optionally, the system upgrade package is a complete package, and the checking the correctness of the data in the target program storage area includes:
and carrying out correctness verification by adopting a first verification algorithm according to the data in the target program storage area and the data of the system upgrade package.
Optionally, the first verification algorithm includes an md5sum verification algorithm.
Optionally, the system upgrade package is a differential package, and the checking the correctness of the data in the target program storage area includes:
according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area, a second checking algorithm is adopted for checking the correctness; the backup data of the target program storage area is the data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
Optionally, the second checking algorithm includes: a parity check algorithm.
Optionally, the method further includes: after the target data of the system to be upgraded in the second memory storage area is copied to the target program storage area, performing correctness check on the data in the target program storage area, and if the result of performing correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in a third memory storage area to the target program storage area, wherein the target data of the system to be upgraded, which is obtained according to the system upgrade package, is stored in the third memory storage area.
Optionally, if the number of times that the data in the target program storage area is incorrect as a result of the correctness check is greater than or equal to the preset number of times, returning the data in the program storage area to the data corresponding to the current system, where the program storage area includes the target program storage area.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A method of system upgrade, comprising:
after target data of a system to be upgraded in a first memory storage area is copied to a target program storage area corresponding to the target data, a first verification algorithm or a second verification algorithm is adopted to carry out correctness verification on the data in the target program storage area;
and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in the second memory storage area to the target program storage area, and performing correctness check on the data in the target program storage area, and if the result of the correctness check on the data in the target program storage area is incorrect, copying the target data of the system to be upgraded in the third memory storage area to the target program storage area, wherein the target data of the system to be upgraded is obtained according to a system upgrade package and is respectively stored in the first memory storage area, the second memory storage area and the third memory storage area.
2. The method of claim 1, wherein the system upgrade package is a complete package, and wherein the checking the correctness of the data in the target program storage area comprises:
and carrying out correctness verification by adopting the first verification algorithm according to the data in the target program storage area and the data of the system upgrade package.
3. The method of claim 2, wherein the first verification algorithm comprises an md5sum verification algorithm.
4. The method of claim 1, wherein the system upgrade package is a differential package, and the checking the correctness of the data in the target program storage area comprises:
performing correctness check by adopting the second check algorithm according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area; the backup data of the target program storage area is data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
5. The method of claim 4, wherein the second verification algorithm comprises: a parity check algorithm.
6. The method according to claim 1, wherein if the number of times that the data in the target program storage area is incorrect as a result of the correctness check is greater than or equal to a preset number of times, returning the data in the program storage area to the data corresponding to the current system, wherein the program storage area comprises the target program storage area.
7. An apparatus for system upgrade, comprising:
the first checking module is configured to perform correctness checking on data in a target program storage area by adopting a first checking algorithm or a second checking algorithm after copying target data of a system to be upgraded in a first memory storage area to the target program storage area corresponding to the target data;
the first copying module is configured to copy the target data of the system to be upgraded in the second memory storage area to the target program storage area if the result of the correctness check of the data in the target program storage area by the first checking module is incorrect, wherein the target data of the system to be upgraded is obtained according to a system upgrade package and is respectively stored in the first memory storage area and the second memory storage area;
the second checking module is configured to perform correctness checking on the data in the target program storage area after the first copying module copies the target data of the system to be upgraded in the second memory storage area to the target program storage area;
the second copying module is configured to copy the target data of the system to be upgraded in a third memory storage area to the target program storage area if the result of the correctness check performed on the data in the target program storage area by the second checking module is incorrect, wherein the target data of the system to be upgraded, which is obtained according to the system upgrade package, is stored in the third memory storage area.
8. The apparatus of claim 7, wherein the system upgrade package is a complete package, and wherein the first verification module comprises: a first check submodule;
and the first checking submodule is configured to perform correctness checking by adopting the first checking algorithm according to the data in the target program storage area and the data of the system upgrade package.
9. The apparatus of claim 8, wherein the first verification algorithm comprises an md5sum verification algorithm.
10. The apparatus of claim 7, wherein the system upgrade package is a differential package, and wherein the first verification module comprises: a second check sub-module;
the second check submodule is configured to perform correctness check by using the second check algorithm according to the data in the target program storage area, the data of the system upgrade package and the backup data of the target program storage area; the backup data of the target program storage area is data in the target program storage area before the target data of the system to be upgraded in the first memory storage area is copied to the target program storage area.
11. The apparatus of claim 10, wherein the second calibration algorithm comprises: a parity check algorithm.
12. The apparatus of claim 7, further comprising: and the rollback module is configured to rollback the data in the program storage area to the data corresponding to the current system if the number of times that the data in the target program storage area is incorrect as a result of checking the correctness of the data is greater than or equal to a preset number of times, wherein the program storage area comprises the target program storage area.
13. A terminal, comprising:
a processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of claims 1-6.
14. A computer readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method of any of claims 1-6.
CN201810035955.9A 2018-01-15 2018-01-15 System upgrading method, device, terminal and storage medium Active CN108153540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810035955.9A CN108153540B (en) 2018-01-15 2018-01-15 System upgrading method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810035955.9A CN108153540B (en) 2018-01-15 2018-01-15 System upgrading method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108153540A CN108153540A (en) 2018-06-12
CN108153540B true CN108153540B (en) 2021-07-23

Family

ID=62461358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810035955.9A Active CN108153540B (en) 2018-01-15 2018-01-15 System upgrading method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108153540B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445705B (en) * 2018-10-29 2022-03-22 湖南国科微电子股份有限公司 Firmware authentication method and solid state disk
CN110209523A (en) * 2019-05-31 2019-09-06 Oppo广东移动通信有限公司 Reading and writing data abnormality eliminating method and device, storage medium and electronic equipment
CN113900682A (en) * 2021-09-08 2022-01-07 深圳Tcl新技术有限公司 System software upgrading method, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090114974A (en) * 2008-04-30 2009-11-04 (주)에이스안테나 Program Update Method and Device for Remote Electric Tilt System of Antenna
CN105094903A (en) * 2015-07-16 2015-11-25 广州飞米电子科技有限公司 Method and device for upgrading firmware
CN105760200A (en) * 2016-02-26 2016-07-13 晨星半导体股份有限公司 Terminal device and system updating method thereof
CN107102871A (en) * 2017-03-30 2017-08-29 建荣半导体(深圳)有限公司 The method and apparatus of embedded system upgrading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090114974A (en) * 2008-04-30 2009-11-04 (주)에이스안테나 Program Update Method and Device for Remote Electric Tilt System of Antenna
CN105094903A (en) * 2015-07-16 2015-11-25 广州飞米电子科技有限公司 Method and device for upgrading firmware
CN105760200A (en) * 2016-02-26 2016-07-13 晨星半导体股份有限公司 Terminal device and system updating method thereof
CN107102871A (en) * 2017-03-30 2017-08-29 建荣半导体(深圳)有限公司 The method and apparatus of embedded system upgrading

Also Published As

Publication number Publication date
CN108153540A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
US9886264B2 (en) Method and device for upgrading firmware
EP3848795A1 (en) Firmware upgrade method and device, and storage medium
EP3032412A1 (en) Method and device for upgrading firmware
CN111221559B (en) Application updating method, device, storage medium, terminal and server
CN106406956B (en) Application program installation method and device
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN108008955B (en) Method and device for displaying user-defined control information
CN108153540B (en) System upgrading method, device, terminal and storage medium
CN106775903B (en) Security policy file updating method and device
CN109117144B (en) Page processing method, device, terminal and storage medium
US20140380292A1 (en) Method, device, and storage medium for upgrading operating system
CN107463372B (en) Data-driven page updating method and device
EP3118729A1 (en) Method and device for presenting tasks
CN107733674B (en) Component upgrading method and terminal
CN108829532B (en) Fingerprint detection method, device and readable storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
US10671827B2 (en) Method and device for fingerprint verification
CN113778687B (en) Memory allocation information processing method and device, electronic equipment and storage medium
CN111813426A (en) Fingerprint data processing method and device
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN114077461A (en) Application program running method, device, equipment and storage medium
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN107734072B (en) Processing method and device for push information
CN112612516B (en) Code processing method and device
CN113946346B (en) Data processing method and device, electronic 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