CN105912365B - Mobile terminal system updating method and system - Google Patents

Mobile terminal system updating method and system Download PDF

Info

Publication number
CN105912365B
CN105912365B CN201610229797.1A CN201610229797A CN105912365B CN 105912365 B CN105912365 B CN 105912365B CN 201610229797 A CN201610229797 A CN 201610229797A CN 105912365 B CN105912365 B CN 105912365B
Authority
CN
China
Prior art keywords
storage area
mobile terminal
address
updating
installation
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
CN201610229797.1A
Other languages
Chinese (zh)
Other versions
CN105912365A (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.)
Xiamen Jiupin Sesame Information Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610229797.1A priority Critical patent/CN105912365B/en
Publication of CN105912365A publication Critical patent/CN105912365A/en
Application granted granted Critical
Publication of CN105912365B publication Critical patent/CN105912365B/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 invention discloses a method and a system for updating a mobile terminal system, wherein the method comprises the following steps: downloading a new system and storing the new system in a first storage area; installing, by the system installer, the system to the second storage area in the background with low priority when an instruction to update the system is detected; and after the installation is finished, writing the first address of the second storage area into the starting guide address. The invention downloads the new system and stores the new system in the first storage area; installing, by the system installer, the system to the second storage area in the background with low priority when an instruction to update the system is detected; and after the installation is finished, writing the first address of the second storage area into the starting guide address. Therefore, the mobile terminal does not need to be restarted when the system is updated, and the mobile terminal can be used while the system is updated, so that convenience is brought to users, and the system updating efficiency is improved.

Description

Mobile terminal system updating method and system
Technical Field
The present invention relates to the field of mobile terminal technology, and in particular, to a method and system for updating a mobile terminal system.
Background
Because people's demand for mobile terminals is continuously promoted, the functions of the mobile terminals are gorgeous day by day, and meanwhile, in order to correct problems in a mobile terminal system, it is common to update the system of the mobile terminals, at present, for the update system of the mobile terminals, the system needs to be downloaded and stored on a storage medium (such as an SD card) in advance, and after the mobile terminals are restarted to erase the system partition, the new system downloaded in advance is written into the system partition.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for updating a mobile terminal system, aiming at the above-mentioned defects in the prior art; therefore, the system is updated without restarting the mobile terminal, and the mobile terminal can be used while the system is updated, so that convenience is brought to users, and the system updating efficiency is improved.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a method for updating a mobile terminal system comprises the following steps:
a, a mobile terminal downloads a new system and stores the downloaded new system in a preset first storage area;
b, when an instruction for updating the system is detected, installing the downloaded new system into a preset second storage area in the background by the system installer at low priority;
and C, writing the first address of the second storage area into the starting guide address after the installation is finished.
And B, when the system installation is carried out at a low priority, the system installation is carried out only after the program with the priority higher than the system installation is operated, and the system installation is controlled to stop as long as the program with the priority higher than the system installation is started.
The method for updating the mobile terminal system, wherein the step C further comprises: when the mobile terminal is started, the starter reads the position of the system stored in the starting guide address in the memory to control the starting of the system.
The method for updating the mobile terminal system further comprises the following steps:
E. when a part of new systems are updated, if a shutdown instruction is detected, taking the system update instruction as a startup self-starting item, and storing addresses stored by the new systems, namely the first address of a first storage area, the first address of a second storage area installed by the current new system, and the installed progress percentage;
F. when the system is started up next time, the system updating instruction is automatically sent out when the system is started up, then the addresses stored by the new system, namely the first address of the first storage area, the first address of the second storage area installed by the current new system and the installed progress percentage are read, and the new system is controlled to be continuously installed.
The method for updating the mobile terminal system further comprises the following steps before the step A:
and S, presetting a first storage area and a second storage area which can be used for independently installing the mobile terminal system.
A mobile terminal system update system, comprising:
the new system downloading module is used for downloading a new system by the mobile terminal and storing the downloaded new system in a preset first storage area;
a system installation module, when detecting the instruction of updating the system, installing the downloaded new system to a preset second storage area in the background by the system installer with low priority; when the system installation is carried out with low priority, the system installation is carried out only after the program with the priority higher than the system installation is operated, and the system installation is controlled to stop as long as the program with the priority higher than the system installation is started;
and the address writing module is used for writing the first address of the second storage area into the starting guide address after the installation is finished.
The mobile terminal system updating system further comprises:
and the system starting module is used for reading the position of the system stored in the starting guide address in the memory by the starter and controlling the starting system when the mobile terminal is started.
The mobile terminal system updating system further comprises:
and the shutdown processing module is used for taking the system updating instruction as a startup self-starting item if a shutdown instruction is detected when a part of the new system is updated, and storing the addresses stored by the new system, namely the first address of the first storage area, the first address of the second storage area installed by the current new system, and the installed progress percentage.
The mobile terminal system updating system further comprises:
and the starting processing module is used for automatically sending out an updating system instruction when starting up the system for the next time, reading the addresses stored by the new system, namely the first storage area initial address, the first address of the second storage area installed by the current new system and the installed progress percentage, and controlling to continuously install the new system.
The mobile terminal system updating system further comprises:
the system comprises a presetting module, a first storage area and a second storage area, wherein the presetting module is used for presetting the first storage area and the second storage area which can be used for independently installing the mobile terminal system.
Has the advantages that: the invention provides a method and a system for updating a mobile terminal system, wherein the method comprises the steps of downloading a new system and storing the new system in a first storage area; installing, by the system installer, the system to the second storage area in the background with low priority when an instruction to update the system is detected; and after the installation is finished, writing the first address of the second storage area into the starting guide address. Therefore, the mobile terminal does not need to be restarted when the system is updated, and the mobile terminal can be used while the system is updated, so that convenience is brought to users, and the system updating efficiency is improved.
Drawings
Fig. 1 is a flowchart of a mobile terminal system updating method according to a first preferred embodiment of the present invention.
Fig. 2 is a flowchart of a mobile terminal system updating method according to a second preferred embodiment of the present invention.
Fig. 3 is a functional block diagram of a preferred embodiment of the system update system of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for updating a mobile terminal system according to an embodiment of the present invention, and as shown in fig. 1, the method for updating a mobile terminal system according to the present invention includes the following steps:
and S1, the mobile terminal downloads the new system and stores the downloaded new system in a preset first storage area.
S2, when an instruction to update the system is detected, installing the downloaded new system to the preset second storage area in the background with low priority by the system installer.
In step S2, the system is installed in the background with low priority so as not to affect the normal use of the mobile terminal by the user; when the system installation is performed with a low priority, the system installation is performed only after the program higher in priority than the system installation is completely executed, and the system installation is stopped as long as the program higher in priority than the system installation is started. Therefore, the system updating and installation of the invention completely does not occupy the time of the user, only controls the updating system when the user does not use the idle time of the mobile terminal, controls the updating of the system to pause when the user uses the system, and then continues to finish the installation when the mobile terminal is idle, thereby saving the time of the user and providing convenience for the user.
And S3, writing the first address of the second storage area into the starting guide address after the installation is finished.
In step S3, when the mobile terminal is started, the initiator reads the location of the system stored in the memory, where the system is stored in the boot address, so as to start the system.
The invention relates to a method for updating a mobile terminal system, which is characterized in that a new system is downloaded and stored in a first storage area; installing, by the system installer, the system to the second storage area in the background with low priority when an instruction to update the system is detected; and after the installation is finished, writing the first address of the second storage area into the starting guide address. Therefore, the mobile terminal does not need to be restarted when the system is updated, and the mobile terminal can be used while the system is updated, so that convenience is brought to users.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for updating a mobile terminal system according to a second embodiment of the present invention, and as shown in fig. 2, the method for updating a mobile terminal system according to the present invention includes the following steps:
step S1, the mobile terminal downloads the new system and stores the downloaded new system in a preset first storage area;
step S2, when detecting the instruction to update the system, installing the downloaded new system to the preset second storage area in the background by the system installer with low priority;
step S3, after the installation, writing the first address of the second storage area into the starting guide address;
step S4, when a part of new system is updated, if a shutdown instruction is detected, the system update instruction is used as a startup self-starting item, and the addresses stored by the new system, namely the first storage area head address, the first address of the second storage area installed by the current new system, and the installed progress percentage are saved;
step S5, when the computer system is started next time, the update system command is automatically sent out when the computer system is started, and then the addresses stored in the new system, that is, the first address of the first storage area, the first address of the second storage area installed in the new system at present, and the installed progress percentage are read, and the new system is controlled to be continuously installed.
That is, the second embodiment, which is similar to the embodiment of the mobile terminal system updating method shown in fig. 1, further includes: when a part of a new system is updated, if a shutdown instruction is detected, taking the system update instruction as a startup self-starting item, and storing an address (namely a first storage area first address) stored by the new system, a first address of a second storage area installed by the current new system and an installed progress percentage; when the computer is started next time, the system updating instruction is automatically sent out when the computer is started, and then the address (namely the first address of the first storage area) stored by the new system, the first address of the second storage area installed by the current new system and the installed progress percentage are read, so that the new system is installed next time.
Based on the above method embodiment, the present invention further provides a system for updating a mobile terminal system, as shown in fig. 3, the system includes:
a new system downloading module 310, configured to download a new system by the mobile terminal, and store the downloaded new system in a preset first storage area; as described above.
A system installation module 320, when detecting an instruction to update the system, installing the downloaded new system to a preset second storage area in the background by the system installer with low priority; when the system installation is carried out with low priority, the system installation is carried out only after the program with the priority higher than the system installation is operated, and the system installation is controlled to stop as long as the program with the priority higher than the system installation is started; as described above.
An address writing module 330, configured to write the first address of the second storage area into the boot address after the installation is completed; as described above.
In a further embodiment, the system for updating a mobile terminal system, as shown in fig. 3, further includes:
the system starting module 340 is configured to, when the mobile terminal is started, read, by the starter, a location, stored in the memory, of the system stored in the start boot address, and control starting of the system; as described above.
In a further embodiment, the system for updating a mobile terminal system, as shown in fig. 3, further includes:
a shutdown processing module 350, configured to, when a part of the new system is updated, if a shutdown instruction is detected, use the system update instruction as a startup self-starting item, and store addresses stored by the new system, that is, a first address of the first storage area, a first address of a second storage area installed in the new system at present, and an installed progress percentage; as described above.
In a further embodiment, the system for updating a mobile terminal system, as shown in fig. 3, further includes:
the starting-up processing module 360 is used for automatically sending a system updating instruction when starting up the computer next time, then reading the addresses stored by the new system, namely the first address of the first storage area, the first address of the second storage area installed by the current new system, and the installed progress percentage, and controlling to continuously install the new system; as described above.
In a further embodiment, the system for updating a mobile terminal system, as shown in fig. 3, further includes: :
a presetting module 370 for presetting a first storage area and a second storage area that can be used for independently installing the mobile terminal system; as described above.
Has the advantages that: the invention provides a method and a system for updating a mobile terminal system, wherein the method comprises the steps of downloading a new system and storing the new system in a first storage area; installing, by the system installer, the system to the second storage area in the background with low priority when an instruction to update the system is detected; and after the installation is finished, writing the first address of the second storage area into the starting guide address. Therefore, the mobile terminal does not need to be restarted when the system is updated, and the mobile terminal can be used while the system is updated, so that convenience is brought to users, and the system updating efficiency is improved.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (4)

1. A method for updating a mobile terminal system is characterized by comprising the following steps:
a, a mobile terminal downloads a new system and stores the downloaded new system in a preset first storage area;
b, when an instruction for updating the system is detected, installing the downloaded new system into a preset second storage area in the background by the system installer at low priority; when the system installation is carried out with low priority, the system installation is carried out only after the program with the priority higher than the system installation is operated, and the system installation is controlled to stop as long as the program with the priority higher than the system installation is started; the system updating and installation completely does not occupy the time of a user, only the updating system is controlled in the idle time when the user does not use the mobile terminal, the updating of the control system is suspended when the user uses the system, then the installation is continuously completed when the mobile terminal is idle, the system is not required to be restarted when the mobile terminal updates the system, and the mobile terminal is used while the system is updated;
c, writing the first address of the second storage area into the starting guide address after the installation is finished;
the mobile terminal system updating method further comprises the following steps: E. when a part of new systems are updated, if a shutdown instruction is detected, taking the system update instruction as a startup self-starting item, and storing the installed progress percentage;
F. when the system is started up next time, the system updating instruction is automatically sent out when the system is started up, then the addresses stored by the new system, namely the first address of the first storage area, the first address of the second storage area installed by the current new system and the installed progress percentage are read, and the new system is controlled to be continuously installed;
the step E further comprises the following steps: saving the address stored by the new system, namely the first address of the first storage area and the first address of the second storage area installed by the current new system;
before the step A, the method further comprises the following steps:
and S, presetting a first storage area and a second storage area which can be used for independently installing the mobile terminal system.
2. The mobile terminal system updating method according to claim 1, wherein said step C further comprises: when the mobile terminal is started, the starter reads the position of the system stored in the starting guide address in the memory to control the starting of the system.
3. A mobile terminal system update system, comprising:
the new system downloading module is used for downloading a new system by the mobile terminal and storing the downloaded new system in a preset first storage area;
a system installation module, when detecting the instruction of updating the system, installing the downloaded new system to a preset second storage area in the background by the system installer with low priority; when the system installation is carried out with low priority, the system installation is carried out only after the program with the priority higher than the system installation is operated, and the system installation is controlled to stop as long as the program with the priority higher than the system installation is started; the system updating and installation completely does not occupy the time of a user, only the updating system is controlled in the idle time when the user does not use the mobile terminal, the updating of the control system is suspended when the user uses the system, then the installation is continuously completed when the mobile terminal is idle, the system is not required to be restarted when the mobile terminal updates the system, and the mobile terminal is used while the system is updated; the address writing module is used for writing the first address of the second storage area into the starting guide address after the installation is finished;
the shutdown processing module is used for taking the system updating instruction as a startup self-starting item and the installed progress percentage if the shutdown instruction is detected when a part of the new system is updated;
the shutdown processing module is further configured to: when a part of a new system is updated, if a shutdown instruction is detected, saving addresses stored by the new system, namely the first address of a first storage area and the first address of a second storage area installed by the current new system;
the system further comprises:
the starting-up processing module is used for automatically sending out a system updating command when starting up the computer next time, then reading addresses stored by the new system, namely the first address of the first storage area, the first address of the second storage area installed by the current new system and the installed progress percentage, and controlling the new system to be continuously installed;
the system comprises a presetting module, a first storage area and a second storage area, wherein the presetting module is used for presetting the first storage area and the second storage area which can be used for independently installing the mobile terminal system.
4. The mobile terminal system updating system according to claim 3, further comprising:
and the system starting module is used for reading the position of the system stored in the starting guide address in the memory by the starter and controlling the starting system when the mobile terminal is started.
CN201610229797.1A 2016-04-14 2016-04-14 Mobile terminal system updating method and system Active CN105912365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610229797.1A CN105912365B (en) 2016-04-14 2016-04-14 Mobile terminal system updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610229797.1A CN105912365B (en) 2016-04-14 2016-04-14 Mobile terminal system updating method and system

Publications (2)

Publication Number Publication Date
CN105912365A CN105912365A (en) 2016-08-31
CN105912365B true CN105912365B (en) 2020-01-14

Family

ID=56746162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610229797.1A Active CN105912365B (en) 2016-04-14 2016-04-14 Mobile terminal system updating method and system

Country Status (1)

Country Link
CN (1) CN105912365B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371882A (en) * 2016-09-13 2017-02-01 乐视控股(北京)有限公司 Method and device for loading configuration file
CN106406948A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Configuration file downloading method and device
CN107247607A (en) * 2017-05-26 2017-10-13 河南职业技术学院 Computer based method for updating system and system updating device
CN108595195B (en) * 2018-04-09 2022-01-21 国泰新点软件股份有限公司 Application program updating method, device, terminal and storage medium
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN112764814B (en) * 2021-01-13 2023-11-10 西藏子墨网络科技有限公司 Method, device, terminal and medium for setting starting memory of mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN102129375A (en) * 2010-01-12 2011-07-20 ***通信集团公司 Method and equipment for system upgrade of mobile terminal
CN104615471A (en) * 2015-03-05 2015-05-13 浪潮软件集团有限公司 System upgrading method and device for terminal
CN105453035A (en) * 2013-05-29 2016-03-30 微软技术许可有限责任公司 Updating software components through online stores

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192763A1 (en) * 2006-02-15 2007-08-16 Helvick Richard E Method and system for scheduling application of software updates

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN102129375A (en) * 2010-01-12 2011-07-20 ***通信集团公司 Method and equipment for system upgrade of mobile terminal
CN105453035A (en) * 2013-05-29 2016-03-30 微软技术许可有限责任公司 Updating software components through online stores
CN104615471A (en) * 2015-03-05 2015-05-13 浪潮软件集团有限公司 System upgrading method and device for terminal

Also Published As

Publication number Publication date
CN105912365A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN105912365B (en) Mobile terminal system updating method and system
US10114655B2 (en) Rapid start up method for electronic equipment
JP6185896B2 (en) Information processing apparatus, information processing system, information processing method, and information processing program
US9554187B2 (en) Smart television system and turn-on and turn-off method thereof
EP2998861B1 (en) Implementing and deleting method and device for intelligent terminal multi-operation system
US20130007430A1 (en) Server and firmware updating method
CN102508686A (en) Method and system for realizing safe upgrading of system
US20150007161A1 (en) Information processing apparatus, method for controlling the same, and storage medium
CN102214113B (en) Method, device and terminal for upgrading operating system
WO2017219861A1 (en) Method and device for controlling system start-up mode
CN102609290B (en) The method for upgrading software of electronic product
CN108874459B (en) Rapid starting method and device based on virtualization technology
CN113641378A (en) Optical module program upgrading method, device, equipment and readable storage medium
TW202009696A (en) A computer-implemented method, a computer system, and a computer-readable storage medium for updating the ROM code of a system
CN106791124B (en) Mobile terminal flashing method and device
US20140258699A1 (en) Boot fault tolerant device and method thereof
US20160321057A1 (en) Electronic apparatus
CN111885420B (en) Standby protection method and device, smart television and readable storage medium
CN111026417A (en) Embedded equipment upgrading method and embedded equipment
CN109445991B (en) Data storage method and system, intelligent wearable device and storage medium
CN106569912B (en) Method and system for restoring factory settings of mobile terminal
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
CN106371862B (en) Touch screen setting processing method and system for delivery of mobile terminal
CN107247642B (en) Method and device for determining executable mapping file during system startup
CN101727333A (en) Method for updating firmware in microprocessor and firmware updating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231211

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.