CN107168731B - System update control method and device - Google Patents

System update control method and device Download PDF

Info

Publication number
CN107168731B
CN107168731B CN201710260502.1A CN201710260502A CN107168731B CN 107168731 B CN107168731 B CN 107168731B CN 201710260502 A CN201710260502 A CN 201710260502A CN 107168731 B CN107168731 B CN 107168731B
Authority
CN
China
Prior art keywords
installed applications
data required
latest version
current latest
installing
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
CN201710260502.1A
Other languages
Chinese (zh)
Other versions
CN107168731A (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 CN201710260502.1A priority Critical patent/CN107168731B/en
Publication of CN107168731A publication Critical patent/CN107168731A/en
Application granted granted Critical
Publication of CN107168731B publication Critical patent/CN107168731B/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)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a system update control method and a device, wherein the method comprises the following steps: when the system needs to be updated, acquiring data required by the system updating; determining N pre-installed applications which need to be updated currently from K pre-installed applications; the pre-installed application is an application installed along with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators; acquiring data required by installing N pre-installed applications of the current latest version; and sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by system updating and data required by installing the N pre-installed applications of the current latest version. Therefore, operators adopted by the terminals are not distinguished, the same system update package is generated for the terminals providing services for different operators, the research and development cost and the management cost during system update are reduced, and errors caused by generation of different system update packages for the terminals corresponding to different operators are avoided.

Description

System update control method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling system update.
Background
At present, for the same mobile phone, the mobile phone may be sold in cooperation with different operators, so some customizations need to be made for the operators, especially different operators may be pre-installed with different applications, and the pre-installed applications are installed in the mobile phone along with the system.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a system update control method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a system update control method, including:
when the system needs to be updated, acquiring data required by the system updating;
determining N pre-installed applications which need to be updated currently from K pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators;
acquiring data required for installing the N pre-installed applications of the current latest version;
and sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by the system updating and data required by installing the N pre-installed applications of the current latest version.
According to a second aspect of the embodiments of the present disclosure, there is provided a system update control method, including:
receiving a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; n is an integer greater than or equal to 1;
updating the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal;
storing data required for installing the N pre-installed applications of the current latest version in a second read-only partition of the terminal;
acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; m is an integer greater than or equal to 1 and less than or equal to N;
and installing the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
According to a third aspect of the embodiments of the present disclosure, there is provided a system update control apparatus including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire data required by system updating when the system needs updating;
the updating module is configured to update the N pre-installed applications to the current number of the N pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators;
a second obtaining module configured to obtain data required for installing the current latest version of the N pre-installed applications;
the sending module is configured to send a system update package to a terminal of a system to be updated, wherein the system update package comprises data required by the system update and data required by installing the N pre-installed applications of the current latest version.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a system update control apparatus including:
a receiving module configured to receive a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; n is an integer greater than or equal to 1;
the updating module is configured to update the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal;
a storage module configured to store data required to install the current latest version of the N pre-installed applications in a second read-only partition of the terminal;
the acquisition module is configured to acquire data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; m is an integer greater than or equal to 1 and less than or equal to N;
and the installation module is configured to install the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a system update control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the system needs to be updated, acquiring data required by the system updating;
determining N pre-installed applications which need to be updated currently from K pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators;
acquiring data required for installing the N pre-installed applications of the current latest version;
and sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by the system updating and data required by installing the N pre-installed applications of the current latest version.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a system update control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; n is an integer greater than or equal to 1;
updating the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal;
storing data required for installing the N pre-installed applications of the current latest version in a second read-only partition of the terminal;
acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; m is an integer greater than or equal to 1 and less than or equal to N;
and installing the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the system needs to be updated, data required by the system updating is acquired; determining N pre-installed applications which need to be updated currently from K pre-installed applications; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators; acquiring data required for installing the N pre-installed applications of the current latest version; and sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by the system updating and data required by installing the N pre-installed applications of the current latest version. Therefore, operators adopted by the terminals are not distinguished, the same system update package is generated for the terminals providing services for different operators, the research and development cost and the management cost during system update are reduced, and errors caused by generation of different system update packages for the terminals corresponding to different operators are avoided.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a system update control method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a system update control method according to another exemplary embodiment.
FIG. 3 is a flow chart illustrating a system update control method according to another exemplary embodiment.
FIG. 4 is a block diagram illustrating a system update control apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment.
Fig. 6 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating a system update control apparatus 800 according to an example embodiment.
FIG. 9 is a block diagram illustrating a system update control 1900 according to an exemplary embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a system update control method according to an exemplary embodiment, where the system update control method is used in a server, as shown in fig. 1, and includes the following steps.
In step S11, when the system needs to be updated, data necessary for system update is acquired.
In step S12, N pre-installed applications that need to be updated currently are determined from K pre-installed applications, where K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each of a plurality of operators.
In step S13, data required to install the current latest version of the N pre-installed applications is acquired.
In step S14, a system update package is sent to the terminal of the system to be updated, where the system update package includes data required for the system update and data required for installing the current latest version of the N pre-installed applications.
In this embodiment, when the system needs to be updated, the system is a system installed in the terminal, and acquires data required for updating the system, where the data required for updating the system may be difference data between the system of the current latest version and the system of the previous version. Since there are K total applications installed in each terminal (the terminals include terminals providing services by different operators) along with the system installation, which are referred to herein as K pre-installed applications, then this embodiment further determines N pre-installed applications that currently need to be updated from the K pre-installed applications, where N is an integer greater than or equal to 1 and less than or equal to K, and therefore some pre-installed applications are not updated temporarily when the system is updated at this time. The present embodiment further obtains data required to install N pre-installed applications of the current latest version, and sends a system update package to each terminal of the system to be updated, where the system update package includes data required to update the system and data required to install N pre-installed applications of the current latest version, and the terminal of the system to be updated includes terminals that provide services by different operators.
In summary, the system update control method provided in this embodiment obtains data required by system update when the system needs to be updated; determining N pre-installed applications which need to be updated currently from K pre-installed applications; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators; acquiring data required for installing the N pre-installed applications of the current latest version; and sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by the system updating and data required by installing the N pre-installed applications of the current latest version. Therefore, operators adopted by the terminals are not distinguished, the same system update package is generated for the terminals providing services for different operators, the research and development cost and the management cost during system update are reduced, and errors caused by generation of different system update packages for the terminals corresponding to different operators are avoided.
Fig. 2 is a flowchart illustrating a system update control method according to another exemplary embodiment, where the system update control method is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S21, a system update package is received; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; and N is an integer greater than or equal to 1.
In step S22, updating the system in the terminal according to the data required for the system update; the system is stored in a first read-only partition of the terminal.
In step S23, data required to install the current latest version of the N pre-installed applications is stored in the second read-only partition of the terminal.
In step S24, acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, where the M pre-installed applications are pre-installed applications installed on the terminal with the system; and M is an integer which is more than or equal to 1 and less than or equal to N.
In step S25, the M pre-installed applications of the current latest version are installed in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
The terminal in this embodiment receives a system update package, where the system update package includes data required for system update and data required for installing the N pre-installed applications of the current latest version; and then updating the system in the terminal according to the data required by the system updating, wherein the system is stored in the first read-only partition of the terminal. In this embodiment, data required for installing N pre-installed applications of the current latest version is stored in the second read-only partition of the terminal, and because the system and the data required for installing the pre-installed applications of the current latest version are respectively stored in different read-only partitions of the terminal, it can be ensured that the same system is stored in the first read-only partition of the terminal corresponding to different operators, so that the terminals corresponding to different operators can share the data required for updating the same system. The present embodiment further obtains, from the data required to install the N pre-installed applications of the current latest version, data required to install M pre-installed applications of the current latest version, where the M pre-installed applications are pre-installed applications installed in the terminal, that is, the M pre-installed applications are applications installed in the terminal with the system, that is, the terminal identifies which of the N pre-installed applications are applications installed with the system by the terminal, and which are not applications installed with the system by the terminal. And then installing the M pre-installed applications of the current latest version in the terminal according to the data required by installing the M pre-installed applications of the current latest version. Optionally, the terminal of this embodiment may delete data required to install N-M pre-installed applications of the current latest version, so as to save space in the read-only partition of the terminal, where the N-M pre-installed applications are pre-installed applications of the N pre-installed applications except for the M pre-installed applications.
In summary, the system update control method provided in this embodiment receives the system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; updating the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal; storing data required for installing the N pre-installed applications of the current latest version in a second read-only partition of the terminal; acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; and installing the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version. The method and the device have the advantages that the same system is stored in the first read-only partition in the terminals corresponding to different operators, the same system can share data required by updating of the system, the data required by installation of the current latest version of N pre-installed applications in the system updating package is stored in the second read-only partition of the terminal, the pre-installed applications can be prevented from being deleted by a user by mistake and can be updated along with updating of the system, the terminal determines M pre-installed applications required by the terminal from the N pre-installed applications, the situation that the unnecessary pre-installed applications are installed in the terminal is avoided, so that the terminals corresponding to different operators can share the same system updating package, research and development cost and management cost during updating of the system are reduced, and errors caused by generation of different system updating packages aiming at the terminals corresponding to different operators are avoided.
Fig. 3 is a flowchart illustrating a system update control method according to another exemplary embodiment, as shown in fig. 3, including the following steps.
In step S31, the server stores an update indication for each of the K pre-installed applications.
K is an integer greater than or equal to 1, and the pre-installed application is an application installed along with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each of a plurality of operators.
This update indication for each pre-installed application is used to indicate whether the pre-installed application is updated with the system update, for example: the update indication of the pre-installed application a is updated with the update of the system, the update indication of the pre-installed application B is updated with the update of the system, the update indication of the pre-installed application C is updated with the update of the system, the update indication of the pre-installed application D is not updated with the update of the system, and so on.
In step S32, when the system needs to be updated, the server acquires data necessary for the system update.
In this embodiment, the specific implementation process of step S32 may refer to the relevant description in the embodiment shown in fig. 1, and is not described herein again.
In step S33, the server determines, according to the update indication of each of the K pre-installed applications, N pre-installed applications that are updated with the system update and currently need to be updated from the K pre-installed applications.
And N is an integer which is more than or equal to 1 and less than or equal to K.
In this embodiment, the server determines the pre-installed applications updated with the system update according to the update instruction of each of the K pre-installed applications, and then determines N pre-installed applications that need to be updated currently among the pre-installed applications updated with the system update. Therefore, the cost increase caused by updating all the pre-installed applications along with the system update can be avoided, and the flexibility of updating the pre-installed applications is improved.
In step S34, the server acquires data required to install the current latest version of the N pre-installed applications.
In this embodiment, the specific implementation process of step S34 may refer to the relevant description in the embodiment shown in fig. 1, and is not described herein again.
In step S35, the server transmits a system update package to the terminal.
In this embodiment, a server sends a system update package to each terminal of a system to be updated, fig. 3 only shows an example of one terminal, and other terminals have similar schemes and are not described herein again.
The system update package in this embodiment includes data required for the system update, data required for installing the current latest version of the N pre-installed applications, and an application installation instruction, where the application installation instruction is used to indicate at least one operator in which each of the N pre-installed applications is installed correspondingly. For example: the application installation indicates that the operators in which the pre-installed application a is installed correspondingly are an operator a and an operator B, the operators in which the pre-installed application B is installed correspondingly are an operator B, and the operators in which the pre-installed application C is installed correspondingly are an operator a and an operator C, and so on.
In step S36, the terminal updates the system in the terminal according to the data required for the system update.
The system is stored in a first read-only partition of the terminal.
In this embodiment, the specific implementation process of step S36 may refer to the related description in the embodiment shown in fig. 2, and is not described herein again.
In step S37, the terminal stores data required to install the current latest version of the N pre-installed applications and an application installation instruction in the second read-only partition of the terminal.
In step S38, the terminal obtains, according to the application installation instruction and an operator providing service to the terminal, data required to install the current latest version of M pre-installed applications from the data required to install the current latest version of the N pre-installed applications.
The M pre-installed applications are pre-installed applications installed on the terminal along with the system; and M is an integer greater than or equal to 1 and less than or equal to N.
In this embodiment, the terminal determines pre-installed applications (i.e., M pre-installed applications) corresponding to an operator that provides service for the terminal from among N pre-installed applications according to an application installation instruction in the system update package and the operator that provides service for the terminal, and then acquires data required to install M pre-installed applications of the current latest version from data required to install the N pre-installed applications of the current latest version.
In step S39, the terminal installs the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
For example: if the operator providing service for the terminal is operator A, determining M pre-installed applications as pre-installed application A and pre-installed application C, and then installing the current latest version of pre-installed applications A and C in the terminal; if the operator providing service for the terminal is operator B, determining M pre-installed applications as pre-installed applications B, and then installing the current pre-installed application B of the latest version in the terminal; if the operator providing service for the terminal is operator C, determining that M pre-installed applications are pre-installed application C, and then installing the current pre-installed application C of the latest version in the terminal; therefore, the terminal corresponding to different operators can share the same system update package, but can also install different pre-installed applications respectively.
Optionally, the data required to install the current latest version of the N pre-installed applications includes: and difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications. Accordingly, one implementation of step S39 is: the method comprises the steps that a terminal installs M pre-installed applications of a current latest version in the terminal according to difference data of the current latest version and a previous version of each pre-installed application in the M pre-installed applications, specifically, the terminal installs the M pre-installed applications of the current latest version in the terminal according to the difference data of the current latest version and the previous version of the M pre-installed applications and the M pre-installed applications currently installed in the terminal, and the currently installed pre-installed applications are the pre-installed applications of the previous version.
Optionally, the installing data required by the current latest version of the N pre-installed applications includes: the installation package of the current latest version of the N pre-installed applications. Accordingly, one implementation of step S39 is: the method comprises the steps that a terminal installs M pre-installed applications of the current latest version in the terminal according to the installation package of the current latest version of the M pre-installed applications.
In summary, the system update control method provided in this embodiment, with the above scheme, it is achieved that the same system is stored in the first read-only partition in the terminals corresponding to different operators, and the same system can share the data required by the same system update; the data required by installing the N pre-installed applications of the current latest version in the system updating package is stored in the second read-only partition of the terminal, so that the pre-installed applications can be prevented from being deleted by a user by mistake, and the pre-installed applications can be updated along with the updating of the system; and the terminal determines M pre-installed applications required by the terminal from the N pre-installed applications, so that the situation that the pre-installed applications not required by the terminal are also installed in the terminal is avoided, so that the terminals corresponding to different operators can share the same system update package, the research and development cost and the management cost during system update are reduced, and errors caused by generation of different system update packages aiming at the terminals corresponding to different operators are avoided.
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. 4 is a block diagram illustrating a system update control apparatus according to an exemplary embodiment. The system update control means may be implemented as part or all of the server by software, hardware, or a combination of both. Referring to fig. 4, the apparatus includes a first obtaining module 110, a determining module 120, a second obtaining module 130, and a transmitting module 140.
The first obtaining module 110 is configured to obtain data required by the system update when the system needs to be updated.
A determining module 120 configured to determine N pre-installed applications that currently need to be updated from K pre-installed applications, where K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each of a plurality of operators.
A second obtaining module 130 configured to obtain data required to install the N pre-installed applications determined by the determining module 120 of the current latest version.
A sending module 140, configured to send a system update package to a terminal of the system to be updated, where the system update package includes the data required by the system update acquired by the first acquiring module 110 and the data required by the second acquiring module 130 to install the current latest version of the N pre-installed applications.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 5 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment. The system update control means may be implemented as part or all of the server by software, hardware, or a combination of both. Referring to fig. 5, in the apparatus of this embodiment, on the basis of the apparatus embodiment shown in fig. 4, the system update package further includes an application installation instruction, where the application installation instruction is used to indicate at least one operator that each of the N pre-installed applications is installed correspondingly.
Optionally, the apparatus of this embodiment further includes: a storage module 150.
A storage module 150 configured to store an update indication of each of the K pre-installed applications, the update indication indicating whether the pre-installed application is updated with the update of the system;
the determining module 120 includes: a determination submodule 121.
The determining sub-module 121 is configured to determine, according to the update indication of each of the K pre-installed applications stored by the storage module 150, N pre-installed applications that are updated with the system update and currently need to be updated from the K pre-installed applications.
Optionally, the data required to install the current latest version of the N pre-installed applications includes: difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications; alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 6 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment. The system update control device 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 receiving module 210, an updating module 220, a storing module 230, an obtaining module 240 and an installing module 250.
A receiving module 210 configured to receive a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; and N is an integer greater than or equal to 1.
An updating module 220 configured to update the system in the terminal according to the data required for the system update in the system update package received by the receiving module 210; the system is stored in a first read-only partition of the terminal.
A storage module 230 configured to store data required to install the current latest version of the N pre-installed applications in the system update package received by the receiving module 210 in a second read-only partition of the terminal.
An obtaining module 240 configured to obtain, from the data stored in the storage module 230 and required to install the current latest version of the N pre-installed applications, data required to install M pre-installed applications of the current latest version, where the M pre-installed applications are pre-installed applications installed on the terminal with the system; m is an integer greater than or equal to 1 and less than or equal to N;
an installing module 250 configured to install the M pre-installed applications of the current latest version in the terminal according to the data, which is acquired by the acquiring module 240 and is required to install the M pre-installed applications of the current latest version.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 7 is a block diagram illustrating a system update control apparatus according to another exemplary embodiment. The system update control device may be implemented as part or all of the terminal by software, hardware, or a combination of both. Referring to fig. 7, in the apparatus of this embodiment, on the basis of the apparatus embodiment shown in fig. 6, the system update package further includes an application installation instruction, where the application installation instruction is used to indicate a corresponding relationship between at least one operator and each pre-installed application in the N pre-installed applications; the storage module 230 is further configured to store the application installation indication in a second read-only partition of the terminal.
The obtaining module 240 includes: a sub-module 241 is obtained.
The obtaining sub-module 241 is configured to obtain, according to the application installation instruction stored in the storage module 230 and an operator providing a service for the terminal, data required to install the M pre-installed applications of the current latest version from data required to install the N pre-installed applications of the current latest version.
Optionally, the data required to install the current latest version of the N pre-installed applications includes: and difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications. Alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 8 is a block diagram illustrating a system update control apparatus 800 according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 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 device 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 operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 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 component 806 provides power to the various components of device 800. The 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 the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a 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 device 800 is in an operating mode, such as a shooting 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 apparatus 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.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 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.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 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, the apparatus 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 above-described methods.
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 device 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 an apparatus 800, enable the apparatus 800 to perform a system update control method, comprising:
receiving a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; and N is an integer greater than or equal to 1.
Updating the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal.
And storing data required for installing the current latest version of the N pre-installed applications in a second read-only partition of the terminal.
Acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; and M is an integer greater than or equal to 1 and less than or equal to N.
And installing the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
FIG. 9 is a block diagram illustrating a system update control 1900 according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to fig. 9, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform a system update control method comprising:
and when the system needs to be updated, acquiring data required by the system updating.
Determining N pre-installed applications which need to be updated currently from K pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each of a plurality of operators.
And acquiring data required for installing the N pre-installed applications of the current latest version.
And sending a system updating package to a terminal of the system to be updated, wherein the system updating package comprises data required by the system updating and data required by installing the N pre-installed applications of the current latest version.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (12)

1. A system update control method, comprising:
when the system needs to be updated, acquiring data required by the system updating;
determining N pre-installed applications which need to be updated currently from K pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators;
acquiring data required for installing the N pre-installed applications of the current latest version;
sending a system update package to a terminal of a system to be updated, wherein the system update package comprises data required by system update and data required by installation of the N pre-installed applications of the current latest version;
storing an update indication for each of the K pre-installed applications, the update indication indicating whether the pre-installed application is updated with an update of the system;
the determining N pre-installed applications which need to be updated currently from the K pre-installed applications includes:
and determining N pre-installed applications which are updated along with the system updating and currently need to be updated from the K pre-installed applications according to the updating indication of each pre-installed application in the K pre-installed applications.
2. The method of claim 1, wherein the system update package further comprises an application installation indication indicating at least one operator for which each of the N pre-installed applications is installed.
3. The method of any of claims 1-2, wherein the installing the data required by the current latest version of the N pre-installed applications comprises: difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications; alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
4. A system update control method, comprising:
receiving a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; n is an integer greater than or equal to 1;
updating the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal;
storing data required for installing the N pre-installed applications of the current latest version in a second read-only partition of the terminal;
acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications which are installed on the terminal along with a system and need to be updated currently; m is an integer greater than or equal to 1 and less than or equal to N;
and installing the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
5. The method of claim 4, wherein the system update package further comprises an application installation indication indicating a correspondence relationship between at least one operator and each of the N pre-installed applications; the method further comprises the following steps: storing the application installation indication in a second read-only partition of the terminal;
acquiring data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the data comprises the following data:
and acquiring data required for installing M pre-installed applications of the current latest version from the data required for installing the N pre-installed applications of the current latest version according to the application installation instruction and an operator providing service for the terminal.
6. The method of claim 4 or 5, wherein the installing the data required by the current latest version of the N pre-installed applications comprises: difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications; alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
7. A system update control apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire data required by system updating when the system needs updating;
the updating module is configured to update the N pre-installed applications to the current number of the N pre-installed applications, wherein K is an integer greater than or equal to 1, and N is an integer greater than or equal to 1 and less than or equal to K; the pre-installed application is an application installed with the system; the K pre-installed applications comprise pre-installed applications installed correspondingly by each operator in a plurality of operators;
a second obtaining module configured to obtain data required for installing the current latest version of the N pre-installed applications;
a sending module configured to send a system update package to a terminal of a system to be updated, the system update package including data required for updating the system and data required for installing the N pre-installed applications of the current latest version;
a storage module configured to store an update indication of each of the K pre-installed applications, the update indication indicating whether the pre-installed application is updated with an update of the system;
the determining module includes: determining a submodule;
the determining submodule is configured to determine, according to the update indication of each of the K pre-installed applications, N pre-installed applications that are updated with the system update and currently need to be updated from the K pre-installed applications.
8. The apparatus of claim 7, wherein the system update package further comprises an application installation indication indicating at least one operator for each of the N pre-installed applications to be installed.
9. The apparatus of any of claims 7-8, wherein the data required to install the current latest version of the N pre-installed applications comprises: difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications; alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
10. A system update control apparatus, comprising:
a receiving module configured to receive a system update package; the system update package comprises data required by system update and data required by installing the N pre-installed applications of the current latest version; n is an integer greater than or equal to 1;
the updating module is configured to update the system in the terminal according to the data required by the system updating; the system is stored in a first read-only partition of the terminal;
a storage module configured to store data required to install the current latest version of the N pre-installed applications in a second read-only partition of the terminal;
the acquisition module is configured to acquire data required for installing M pre-installed applications of the current latest version from data required for installing the N pre-installed applications of the current latest version, wherein the M pre-installed applications are pre-installed applications installed on the terminal along with a system; m is an integer greater than or equal to 1 and less than or equal to N;
and the installation module is configured to install the M pre-installed applications of the current latest version in the terminal according to the data required for installing the M pre-installed applications of the current latest version.
11. The apparatus of claim 10, wherein the system update package further comprises an application installation indication indicating a correspondence relationship between at least one operator and each of the N pre-installed applications; the storage module is further configured to store the application installation indication in a second read-only partition of the terminal;
the acquisition module includes: obtaining a submodule;
the obtaining sub-module is configured to obtain, according to the application installation instruction and an operator providing a service for the terminal, data required to install M pre-installed applications of a current latest version from data required to install the N pre-installed applications of the current latest version.
12. The apparatus of claim 10 or 11, wherein the data required to install the current latest version of the N pre-installed applications comprises: difference data of the current latest version and the previous version of each pre-installed application in the N pre-installed applications; alternatively, the first and second electrodes may be,
the data required for installing the current latest version of the N pre-installed applications comprises: the installation package of the current latest version of the N pre-installed applications.
CN201710260502.1A 2017-04-20 2017-04-20 System update control method and device Active CN107168731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710260502.1A CN107168731B (en) 2017-04-20 2017-04-20 System update control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710260502.1A CN107168731B (en) 2017-04-20 2017-04-20 System update control method and device

Publications (2)

Publication Number Publication Date
CN107168731A CN107168731A (en) 2017-09-15
CN107168731B true CN107168731B (en) 2020-06-02

Family

ID=59813359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710260502.1A Active CN107168731B (en) 2017-04-20 2017-04-20 System update control method and device

Country Status (1)

Country Link
CN (1) CN107168731B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817610A (en) * 2021-01-27 2021-05-18 Oppo广东移动通信有限公司 Cota package installation method and related device
CN116069375A (en) * 2021-06-15 2023-05-05 荣耀终端有限公司 Operating system data updating method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540799A (en) * 2009-04-23 2009-09-23 深圳市融创天下科技发展有限公司 Mobile terminal software upgrading method
CN103259936A (en) * 2013-05-21 2013-08-21 东莞宇龙通信科技有限公司 Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN105848135A (en) * 2016-03-25 2016-08-10 惠州Tcl移动通信有限公司 Multi-operator application customization control method and multi-operator application customization control system based on mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540799A (en) * 2009-04-23 2009-09-23 深圳市融创天下科技发展有限公司 Mobile terminal software upgrading method
CN103259936A (en) * 2013-05-21 2013-08-21 东莞宇龙通信科技有限公司 Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN105848135A (en) * 2016-03-25 2016-08-10 惠州Tcl移动通信有限公司 Multi-operator application customization control method and multi-operator application customization control system based on mobile terminal

Also Published As

Publication number Publication date
CN107168731A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN108401526B (en) Information configuration method and device, time-frequency position determination method and device and base station
EP2991275B1 (en) Making router management application compatible with router firmware
US20170123781A1 (en) Method, device and system for application updating
CN105511907B (en) Application program upgrading method, device and system
EP2998899A1 (en) Method and apparatus for running application program
CN107357613B (en) Application updating method and device and computer readable storage medium
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN105808305B (en) Static resource loading method and device
CN109582400B (en) Program calling method and device
CN110704054A (en) Method and device for accessing target application program through applet, electronic equipment and storage medium
CN111198706A (en) Method for updating system function, apparatus for updating system function and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107168731B (en) System update control method and device
CN108037987B (en) Application program control method, device and storage medium
CN106990984B (en) Method and device for updating system
CN107436782B (en) Application silent installation method and device
CN111290843A (en) Process management method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN105873154B (en) Network access method and device
CN109194639B (en) Message receiving and processing method, device, terminal and readable storage medium
CN114615647A (en) Call control method, device and storage medium
CN107734072B (en) Processing method and device for push information
CN112769677A (en) Data synchronization method, data synchronization device, electronic equipment, storage medium and program product
CN112804589A (en) System configuration method, device and storage medium of digital television

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