CN105955773A - System upgrading method and device - Google Patents

System upgrading method and device Download PDF

Info

Publication number
CN105955773A
CN105955773A CN201610282520.5A CN201610282520A CN105955773A CN 105955773 A CN105955773 A CN 105955773A CN 201610282520 A CN201610282520 A CN 201610282520A CN 105955773 A CN105955773 A CN 105955773A
Authority
CN
China
Prior art keywords
upgrading
software system
log recording
mobile terminal
user
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.)
Pending
Application number
CN201610282520.5A
Other languages
Chinese (zh)
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.)
Lemobile Information Technology (Beijing) Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610282520.5A priority Critical patent/CN105955773A/en
Publication of CN105955773A publication Critical patent/CN105955773A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

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

Abstract

The embodiment of the invention provides a system upgrading method and device. The system upgrading method comprises the steps of upgrading a software system of a mobile terminal in a recovery mode; if the upgrade fails, storing log records used for recording upgrading data into a hidden partition; and further backing up the log records in the hidden partition into an externally connected storage device of the mobile terminal by utilizing a process with super administrator authority in a user mode. As the user has the authority of visiting the externally connected storage device, the user can visit the log records when the upgrade fails and the software system returns to the user mode. Furthermore, as the user also can provide the log records to a mobile terminal manufacturer for upgrade failure analysis, the process in the prior art that the user needs to post the mobile terminal device to the mobile terminal manufacturer for obtaining the upgrade records can be avoided, and the operational convenience is improved.

Description

Method for upgrading system and device
Technical field
The present invention relates to information technology, particularly relate to a kind of method for upgrading system and device.
Background technology
Over the air (Over-the-Air Technology, OTA) is by mobile logical The technology that data in mobile terminal and application are remotely managed by the air interface of letter.OTA skill The application of art, can realize the upgrading of the software system of mobile terminal based on mobile communication.Concrete next Saying, user based on OTA technology remote download AKU, and then can run this on mobile terminals AKU, thus realize the upgrading to software system.
Inventor, during realizing the present invention, finds that prior art has following defects that
The probability that a certain degree of upgrading is failed can be there is in escalation process, if mobile terminal manufacturer When needing upgrading failure cause is analyzed, owing to user does not has the super manager of mobile terminal (root) authority, thus the log recording of the record upgrading data that hidden partition is stored cannot be read, Therefore mobile terminal manufacturer the most just cannot get log recording by user, it is achieved remotely to upgrading Failed reason is analyzed.
Summary of the invention
The present invention provides a kind of method for upgrading system and device, is used for solving user's mould in prior art The technical problem that record has the log recording of upgrading data cannot be read under formula.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of method for upgrading system, including:
In recovery mode, the software system updating of terminal is moved;
If upgrading unsuccessfully, then the log recording being used for recording upgrading data is stored hidden partition;
In the user mode, utilization has the process of super administrator right by described hidden partition Described log recording backup in the external storage equipment of described mobile terminal.
Second aspect, it is provided that a kind of system upgrade device, including:
Upgraded module, in recovery mode, moves the software system updating of terminal;
Memory module, if for upgrading unsuccessfully, then deposits the log recording being used for recording upgrading data Storage is to hidden partition;
Backup module, in the user mode, utilization has the process of super administrator right will Described log recording in described hidden partition backups in the external storage equipment of described mobile terminal.
The method for upgrading system of embodiment of the present invention offer and device, by recovery mode, enter The software system updating of row mobile terminal, if upgrading unsuccessfully, then will be used for recording the day of upgrading data Will record stores hidden partition, and then in the user mode, utilizes and have super administrator right Process the described log recording in described hidden partition backuped to the external of described mobile terminal deposit In storage equipment, owing to user has the authority of access external storage equipment, enable a user to Upgrading the software system unsuccessfully returned under user model when, it is possible to access this log recording. And then log recording can also be supplied to mobile terminal manufacturer and carry out failure analysis of upgrading by user, keep away Having exempted to need user that mobile terminal device is mailed to mobile terminal manufacturer in prior art should to obtain The process of upgrading record, improves the convenience of operation.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention Technological means, and can be practiced according to the content of description, and the present invention's be upper in order to allow State and can become apparent with other objects, features and advantages, below especially exemplified by the concrete reality of the present invention Execute mode.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit Place will be clear from understanding for those of ordinary skill in the art.Accompanying drawing is only used for illustrating preferably The purpose of embodiment, and it is not considered as limitation of the present invention.And at whole accompanying drawing In, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
The schematic flow sheet of a kind of method for upgrading system that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the another kind of method for upgrading system that Fig. 2 provides for the embodiment of the present invention one;
The structural representation of a kind of system upgrade device that Fig. 3 provides for the embodiment of the present invention two;
The structural representation of the another kind of system upgrade device that Fig. 4 provides for the embodiment of the present invention two.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although it is attached Figure shows the exemplary embodiment of the disclosure, it being understood, however, that can be with various shapes Formula realizes the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these Embodiment is able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
The method for upgrading system and the device that there is provided the embodiment of the present invention below in conjunction with the accompanying drawings are carried out Describe in detail.
Embodiment one
The schematic flow sheet of a kind of method for upgrading system that Fig. 1 provides for the embodiment of the present invention one, as Shown in Fig. 1, the method that the present embodiment is provided can be performed by the software system of mobile terminal, tool Body includes:
Step 101, in recovery mode, moves the software system updating of terminal.
Concrete, in the user mode, employing OTA technology downloaded software system upgrade bag, and When carrying out software system updating, enter under recovery (recovery) pattern, utilize this software system AKU carries out software system updating.
User model refers to one for user under normal circumstances, uses the pattern of mobile terminal, User model has two kinds of encrypted states, and one is encrypted state, and another kind is non-encrypted state. In an encrypted state, need first to be decrypted, user data can be accessed;Another kind is non- Encrypted state, it is not necessary to deciphering, just can access user data.
Reforestation practices refers to a kind of mould can modified the data within Android machine or system Formula.We can write new Android system under this scheme, or carries out existing system Backup or upgrading, it is also possible to carry out factory reset.
When user model is under encrypted state, the process under reforestation practices is directly to read Take user data, it is necessary to user data can be conducted interviews after being decrypted.
If step 102 is upgraded unsuccessfully, the log recording being used for recording upgrading data is stored hiding Subregion.
Concrete, after software system under recovery pattern determines and upgrades unsuccessfully, will be used for recording liter The log record of DBMS is stored in hidden partition.
Step 103, in the user mode, utilizes and has the process of super administrator right by described hidden Hide in the external storage equipment that the described log recording in subregion backups to described mobile terminal.
Wherein, external storage equipment can be safe digital card (Secure Digital Memory Card, SD card).
Concrete, for the user model under encrypted state, first it is decrypted flow process, it is thus possible to Enough access user data, user model start after, arouse a service processes, this service into Journey has root authority and can conduct interviews hidden partition.
Whether this service processes has stored log record, the most then by log in first inquiring about hidden partition Record backups in SD card.Due to user model in an encrypted state, the process in reforestation practices is not User data can be accessed, also cannot access SD card, thus cannot divide hiding in reforestation practices The log recording in district is copied directly in SD card, needs after entering into user model, and utilization has Hidden partition is conducted interviews by the service processes of root authority, and then obtains this log and record and back up to In SD card.Here mentioned service processes can be to call the process in reforestation practices, it is also possible to It is process newly-increased in user model, this is not limited by the present embodiment.
Further, it is also possible in the user mode, access and provide to default receiving terminal and backed up Log recording.
Concrete, the flow process of the another kind of method for upgrading system that Fig. 2 provides for the embodiment of the present invention one Schematic diagram, after step 103, also includes:
Step 104, in the user mode, reads the log recording backed up.
Step 105, the log recording read to the transmission of default receiving terminal.
Wherein, receiving terminal is for carrying out, according to log recording, failure analysis of upgrading.
As a kind of possible implementation, time in the user mode, use a service processes, Perform to read the log recording backed up, and send the daily record note read to default receiving terminal The operation of record.Here mentioned service processes can be to record identical process also with backup log Can be different processes, this is not limited by the present embodiment.
As alternatively possible implementation, user's manual operation, existed by file management application Under user model, read the log recording backed up.And then use mail applications or other modes, The log recording read is sent to default receiving terminal.
Default receiving terminal can be the upgrade analysis server of mobile terminal manufacturer, thus when rising fraction When analysis server gets this log recording, it is analyzed.
The probability that a certain degree of upgrading is failed can be there is in escalation process, if mobile terminal manufacturer When needing upgrading failure cause is analyzed, owing to user does not has the super manager of mobile terminal (root) authority, thus the upgrading record that hidden partition is stored cannot be read in the user mode, And then, mobile terminal manufacturer the most just cannot get upgrading record by user, it is achieved remotely to liter The failed reason of level is analyzed.
In prior art, mobile terminal device must be sent mobile terminal manufacturer by user, and manufacturer leads to Cross and the program with root authority is installed in the terminal, upgrading record can be read, from And to upgrading Failure Causes Analysis, therefore, it is the most convenient to operate.
Visible, use the embodiment of the present invention to provide in recovery mode, move the soft of terminal Part system upgrade, if upgrading unsuccessfully, stores hiding by the log recording being used for recording upgrading data Subregion, and in the user mode, utilize and there is the process of super administrator right by hidden partition Described log recording backup in the external storage equipment of mobile terminal, owing to user has access The authority of external storage equipment, enables a user to unsuccessfully return under user model upgrading Software system when, access this log recording, and then log recording be supplied to mobile terminal Manufacturer carries out failure analysis of upgrading, it is to avoid need the user by mobile terminal device postal in prior art Send mobile terminal manufacturer to obtain the process of this upgrading record, improve the convenience of operation.
Meanwhile, solving due to user model in an encrypted state, the process in reforestation practices is not yet User data can be accessed, also cannot access SD card, thus cannot be by the log recording of hidden partition It is copied directly to the technical problem in SD card.
Embodiment two
The structural representation of a kind of system upgrade device that Fig. 3 provides for the embodiment of the present invention two, this The system upgrade device that embodiment is provided can be arranged in mobile terminal, concrete, such as Fig. 3 Shown in, system upgrade device includes: upgraded module 31, memory module 32 and backup module 33.
Upgraded module 31, in recovery mode, moves the software system updating of terminal.
Memory module 32, if for upgrading unsuccessfully, deposits the log recording being used for recording upgrading data Storage is to hidden partition.
Backup module 33, in the user mode, utilizes the process with super administrator right Described log recording in described hidden partition is backuped to the external storage equipment of described mobile terminal In.
Wherein, external storage equipment is SD card.
The embodiment of the present invention additionally provides another kind of system upgrade device, and Fig. 4 is the embodiment of the present invention The structural representation of the two another kind of system upgrade devices provided, as shown in Figure 4, is carried at Fig. 3 On the basis of the system upgrade device of confession, farther include: read module 34 and sending module 35.
Read module 34, in the user mode, reads the log recording backed up.
Sending module 35, for sending the log recording read to default receiving terminal.
Wherein, described receiving terminal is for carrying out, according to described log recording, failure analysis of upgrading.
Further, system upgrade device also includes: deciphering module 36, startup module 37 and download mould Block 38.
Deciphering module 36, for performing the deciphering flow process of described software system.
Start module 37, after successful decryption, start the user model of described software system.
Download module 38, is used for using OTA technology downloaded software system upgrade bag.
Based on this, upgraded module 31, specifically for utilizing described software system updating bag to carry out software System upgrade.
The system upgrade device that the present embodiment is provided, by upgraded module 31 in recovery mode, Move the software system updating of terminal, if upgrading unsuccessfully, memory module 32 will be used for record The log recording of upgrading data stores hidden partition, and in the user mode, backup module 33 is sharp Described log recording in hidden partition is backuped to mobile by the process with super administrator right In the external storage equipment of terminal, owing to user has the authority of access external storage equipment, thus Allowing users to upgrading the software system unsuccessfully returned under user model when, accessing should Log recording, so log recording is supplied to mobile terminal manufacturer carry out upgrade failure analysis, keep away Having exempted to need user that mobile terminal device is mailed to mobile terminal manufacturer in prior art should to obtain The process of upgrading record, improves the convenience of operation.
One of ordinary skill in the art will appreciate that: realize the whole of above-mentioned each method embodiment Or part steps can be completed by the hardware that programmed instruction is relevant.Aforesaid program is permissible It is stored in a computer read/write memory medium.This program upon execution, performs to include State the step of each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic The various medium that can store program code such as dish or CD.
It is last it is noted that various embodiments above is only in order to illustrate technical scheme, It is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, It will be understood by those within the art that: foregoing embodiments still can be remembered by it The technical scheme carried is modified, or carries out the most some or all of technical characteristic With replacing;And these amendments or replacement, do not make the essence of appropriate technical solution depart from this Invent the scope of each embodiment technical scheme.

Claims (10)

1. a method for upgrading system, it is characterised in that including:
In recovery mode, the software system updating of terminal is moved;
If upgrading unsuccessfully, the log recording being used for recording upgrading data is stored hidden partition;
In the user mode, utilization has the process of super administrator right by described hidden partition Described log recording backup in the external storage equipment of described mobile terminal.
Method for upgrading system the most according to claim 1, it is characterised in that described utilization has Described log recording in described hidden partition is backuped to described by the process having super administrator right After in the external storage equipment of mobile terminal, also include:
In the user mode, the log recording backed up is read;
The log recording read is sent to default receiving terminal;Wherein, described receiving terminal is used for root Failure analysis of upgrading is carried out according to described log recording.
Method for upgrading system the most according to claim 1 and 2, it is characterised in that outside described Connecing storage device is SD card.
Method for upgrading system the most according to claim 1 and 2, it is characterised in that described general After log recording for recording upgrading data stores hidden partition, also include:
Perform the deciphering flow process of described software system;
After successful decryption, start the user model of described software system.
Method for upgrading system the most according to claim 1 and 2, it is characterised in that described in enter Before the software system updating of row mobile terminal, also include:
Use OTA technology downloaded software system upgrade bag;
The described software system updating moving terminal includes:
Described software system updating bag is utilized to carry out software system updating.
6. a system upgrade device, it is characterised in that including:
Upgraded module, in recovery mode, moves the software system updating of terminal;
Memory module, if for upgrading unsuccessfully, will be used for recording the log recording storage of upgrading data To hidden partition;
Backup module, in the user mode, utilization has the process of super administrator right will Described log recording in described hidden partition backups in the external storage equipment of described mobile terminal.
System upgrade device the most according to claim 6, it is characterised in that described device, Also include:
Read module, in the user mode, reads the log recording backed up;
Sending module, for sending the log recording read to default receiving terminal;Wherein, institute State receiving terminal for carrying out, according to described log recording, failure analysis of upgrading.
8. according to the system upgrade device described in claim 6 or 7, it is characterised in that outside described Connecing storage device is SD card.
9. according to the system upgrade device described in claim 6 or 7, it is characterised in that described dress Put, also include:
Deciphering module, for performing the deciphering flow process of described software system;
Start module, after successful decryption, start the user model of described software system.
10. according to the system upgrade device described in claim 6 or 7, it is characterised in that described Device, also includes:
Download module, is used for using OTA technology downloaded software system upgrade bag;
Described upgraded module, specifically for utilizing described software system updating bag to carry out software system liter Level.
CN201610282520.5A 2016-04-29 2016-04-29 System upgrading method and device Pending CN105955773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610282520.5A CN105955773A (en) 2016-04-29 2016-04-29 System upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610282520.5A CN105955773A (en) 2016-04-29 2016-04-29 System upgrading method and device

Publications (1)

Publication Number Publication Date
CN105955773A true CN105955773A (en) 2016-09-21

Family

ID=56914705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610282520.5A Pending CN105955773A (en) 2016-04-29 2016-04-29 System upgrading method and device

Country Status (1)

Country Link
CN (1) CN105955773A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107169053A (en) * 2017-04-26 2017-09-15 青岛海信移动通信技术股份有限公司 log information deriving method and device
WO2018076769A1 (en) * 2016-10-26 2018-05-03 中兴通讯股份有限公司 Information processing method and apparatus
CN108432219A (en) * 2016-10-25 2018-08-21 华为技术有限公司 The restoration methods and terminal device of terminal device boot failure
CN111104137A (en) * 2019-12-06 2020-05-05 山东信通电子股份有限公司 OTA equipment upgrading method and device
CN112346765A (en) * 2020-11-06 2021-02-09 北京奇艺世纪科技有限公司 Application program upgrading method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101516047A (en) * 2009-04-03 2009-08-26 烽火通信科技股份有限公司 ONU automatic upgrading method in EPON access system
CN102147763A (en) * 2010-02-05 2011-08-10 中国长城计算机深圳股份有限公司 Method, system and computer for recording weblog
CN103036706A (en) * 2012-11-26 2013-04-10 青岛海信传媒网络技术有限公司 Local processing method of application upgrading abnormity
CN105515804A (en) * 2014-09-24 2016-04-20 国基电子(上海)有限公司 Apparatus and method for fixing client system errors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101516047A (en) * 2009-04-03 2009-08-26 烽火通信科技股份有限公司 ONU automatic upgrading method in EPON access system
CN102147763A (en) * 2010-02-05 2011-08-10 中国长城计算机深圳股份有限公司 Method, system and computer for recording weblog
CN103036706A (en) * 2012-11-26 2013-04-10 青岛海信传媒网络技术有限公司 Local processing method of application upgrading abnormity
CN105515804A (en) * 2014-09-24 2016-04-20 国基电子(上海)有限公司 Apparatus and method for fixing client system errors

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432219A (en) * 2016-10-25 2018-08-21 华为技术有限公司 The restoration methods and terminal device of terminal device boot failure
US11119844B2 (en) 2016-10-25 2021-09-14 Huawei Technologies Co., Ltd. Recovery method for terminal device startup failure and terminal device
US11886282B2 (en) 2016-10-25 2024-01-30 Huawei Technologies Co., Ltd. Recovery method for terminal device startup failure and terminal device
WO2018076769A1 (en) * 2016-10-26 2018-05-03 中兴通讯股份有限公司 Information processing method and apparatus
CN107992374A (en) * 2016-10-26 2018-05-04 中兴通讯股份有限公司 A kind of information processing method and device
CN107169053A (en) * 2017-04-26 2017-09-15 青岛海信移动通信技术股份有限公司 log information deriving method and device
CN111104137A (en) * 2019-12-06 2020-05-05 山东信通电子股份有限公司 OTA equipment upgrading method and device
CN111104137B (en) * 2019-12-06 2023-10-20 山东信通电子股份有限公司 OTA equipment upgrading method and device
CN112346765A (en) * 2020-11-06 2021-02-09 北京奇艺世纪科技有限公司 Application program upgrading method and device, electronic equipment and readable storage medium
CN112346765B (en) * 2020-11-06 2024-03-01 北京奇艺世纪科技有限公司 Application program upgrading method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN105955773A (en) System upgrading method and device
US10261770B2 (en) Install file size optimization and installation verification system
CN100423610C (en) User identifying module service and method and system for using personalized tailered issuing
CN104142847B (en) Stateless virtual machine and its application under cloud computing environment
CN106843978B (en) SDK access method and system
CN104199706A (en) Firmware upgrade method and device for eMMC
CN109660372B (en) SDN service configuration method and device
CN103309709A (en) Firmware upgrading method, device and communication equipment
AU2017330452A1 (en) Update migration system and method
CN104216719A (en) Method and device for updating android system
CN105637521A (en) Data processing method and intelligent terminal
CN102760131A (en) Exhibition method and system of network album
CN107526608A (en) A kind of OTA AKUs upgrade method and equipment
CN110704392A (en) Block chain network upgrading method and device, storage medium and electronic equipment
CN102999349A (en) Software upgrading method
CN110209420A (en) A kind of method and device updating bootstrap loader
CN105975300A (en) System upgrading method and device
WO2014180427A1 (en) Application program management method and device
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN107169053A (en) log information deriving method and device
CN109376119B (en) Method for creating disk image file encrypted snapshot, method for using disk image file encrypted snapshot and storage medium
CN103309696B (en) Method and device for updating Java card extended library, and Java card
CN102073541B (en) Data access method and mobile terminal
Votipka et al. Passe-partout: A general collection methodology for Android devices
CN103679045A (en) File security control system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160921

WD01 Invention patent application deemed withdrawn after publication