Movatterモバイル変換


[0]ホーム

URL:


CN109634629A - A kind of method for upgrading system, terminal and computer readable storage medium - Google Patents

A kind of method for upgrading system, terminal and computer readable storage medium
Download PDF

Info

Publication number
CN109634629A
CN109634629ACN201811252901.4ACN201811252901ACN109634629ACN 109634629 ACN109634629 ACN 109634629ACN 201811252901 ACN201811252901 ACN 201811252901ACN 109634629 ACN109634629 ACN 109634629A
Authority
CN
China
Prior art keywords
terminal
upgrading
memory
front stage
stage operation
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.)
Granted
Application number
CN201811252901.4A
Other languages
Chinese (zh)
Other versions
CN109634629B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co LtdfiledCriticalNubia Technology Co Ltd
Priority to CN201811252901.4ApriorityCriticalpatent/CN109634629B/en
Publication of CN109634629ApublicationCriticalpatent/CN109634629A/en
Application grantedgrantedCritical
Publication of CN109634629BpublicationCriticalpatent/CN109634629B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of method for upgrading system, terminal and computer readable storage medium, this method is applied to the terminal including N number of system, wherein N is more than or equal to 2, and the upgrade command of the first system is directed to by receiving;Then front stage operation second system, backstage upgrading the first system, and after the first system upgrading is completed, the first system is directly adjusted to front stage operation, it solves in existing system escalation process, user is not available the problem of terminal, the invention also discloses a kind of terminal and computer readable storage mediums, by implementing above scheme, in the real process of the first system, user can be by second system come using terminal, namely, during system upgrade, terminal is also can be used in user, improves user satisfaction.

Description

A kind of method for upgrading system, terminal and computer readable storage medium
Technical field
The present invention relates to field of terminal technology, can more specifically to a kind of method for upgrading system, terminal and computerRead storage medium.
Background technique
With the continuous development of terminal technology with it is universal, it is essential to have become people's daily life for terminal at presentA part, people carry out social entertainment activity by the types of applications in terminal.When new version occurs in the system in terminal, thenIt can carry out system upgrade.But at present in system upgrade, usually terminal reboot into Recovery (recovery) mode intoRow upgrading, during system upgrade, user is not available terminal, so as to cause the low problem of satisfaction of users.
Summary of the invention
The technical problem to be solved in the present invention is that in existing system escalation process user be not available terminal so as to causeThe low problem of satisfaction of users provides a kind of method for upgrading system, terminal and computer-readable deposits for the technical problemStorage media.
In order to solve the above technical problems, the present invention provides a kind of method for upgrading system, applied to the end including N number of systemEnd, the N are more than or equal to 2, and the method for upgrading system includes:
Receive the upgrade command for being directed to the first system;
Front stage operation second system upgrades the first system from the background;
When the first system upgrades completion, the first system is directly adjusted to front stage operation.
Optionally, the second system is the shared the smallest system of memory in addition to the first system in N number of systemSystem;
Or,
The second system is the system that shared memory is less than or equal to default first memory threshold.
It is optionally, described that directly the first system is adjusted to before front stage operation, further includes:
Judge whether to receive the instruction for running the first system;
If so, the first system is directly adjusted to front stage operation.
Optionally, the number for the nonsystematic application installed on the second system is less than or equal to predetermined number threshold value, or, instituteIt states all nonsystematics installed on second system and is less than or equal to default second memory threshold using shared total memory.
Optionally, before second system described in the front stage operation, further includes:
According in default first historical time section, the frequency of use respectively applied installed in the terminal, from the terminalIn each application of upper installation, the application of the predetermined number threshold value is less than or equal to according to the sequential selection of frequency of use from high to lowIt is mounted on the second system;
Or,
According in the default first historical time section, the frequency of use respectively applied installed in the terminal, from describedIn each application installed in terminal, the second system is mounted on according to the sequential selection target application of frequency of use from high to lowOn, total memory shared by all target applications of selection is less than or equal to default second memory threshold.
It is optionally, described directly to call the first system to front stage operation, further includes:
Judge whether the second system needs to update;
If;
Second system described in background update.
Optionally, it is described judge the second system whether need update include:
The second system is judged by judging whether to receive the second system more new information of server transmissionWhether need to update;
Or,
Judge whether the second system needs by judging whether the second system is latest edition second systemIt updates.
Optionally, when determining not needing to update the second system, further includes:
Close the second system.
Further, the present invention also provides a kind of terminal, the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize such as claim 1 to 8Any one of described in method for upgrading system the step of.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediumsIt is stored with one or more program, one or more of programs can be executed by one or more processor, to realizeSuch as the step of method for upgrading system described in any item of the claim 1 to 8.
Beneficial effect
The present invention provides a kind of method for upgrading system, terminal and computer readable storage medium, the method for upgrading system and answersFor the terminal including N number of system, wherein N is more than or equal to 2, and in existing system escalation process, user is not available terminalSo as to cause the low defect of satisfaction of users, the upgrade command of the first system is directed to by receiving;Then front stage operationTwo system, backstage upgrade the first system, and after the first system upgrading is completed, the first system is directly adjusted to front stage operation,That is, user can be by second system come using terminal, that is, in system liter in the escalation process of the first systemDuring grade, terminal is also can be used in user, improves user satisfaction.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the method for upgrading system basic flow chart that first embodiment of the invention provides;
Fig. 4 is the update second system flow chart that first embodiment of the invention provides;
Fig. 5 is the method for upgrading system refined flow chart that second embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the terminal that third embodiment of the invention provides;
Fig. 7 is the method for upgrading system refined flow chart that third embodiment of the invention provides;
Fig. 8 is the flow chart for the selection application that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of elementBe conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mixGround uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plateComputer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portableMedia player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. moveThe fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to specialExcept element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shiftingDynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base stationDownlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetratingFrequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communicationStandard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunicationsSystem), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (CodeDivision Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code DivisionMultiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access, TD SDMA), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time DivisionDuplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 showsGo out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to needIt to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received orThe audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappearsBreath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be depositedStorage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data canTo be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's earDisplay panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminalFamily setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 withAnd other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itIt is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, canTo realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrapIt includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it canThe function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specificallyIt limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothingLine data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be withFor transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connectionA part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storageData in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.PlaceManaging device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediatedManage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainProcessing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, putThe functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below intoRow description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network systemSystem is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connectionFamily equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRANGround wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returningJourney (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy andCharging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 andThe control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registersSuch as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and useThe dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resourcePoint, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimediaSystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not onlySuitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA withAnd the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
In order to solve in existing system escalation process, it is low so as to cause satisfaction of users that user is not available terminalDefect, the present embodiment provides a kind of method for upgrading system, and applied to the terminal including N number of system, which can be with various shapesFormula is implemented, as long as the terminal includes N number of system, for example, terminal may include mobile phone, tablet computer, palm PC etc.The fixed terminals such as mobile terminal, and number TV, desktop computer.The terminal can be terminal as shown in Figure 1.ItsIn, N is the integer more than or equal to 2, that is to say, that method for upgrading system provided in this embodiment is applied to include at least two systemThe terminal of system.Wherein, N can be 2,3,4 etc..It may include Android (Android) operation system in N number of system that the terminal includesSystem, also may include iOS operating system, it is, of course, also possible to include other systems.
Fig. 3 is referred to, Fig. 3 is method for upgrading system basic flow chart provided in this embodiment, the method for upgrading system packetIt includes:
S301, the upgrade command for being directed to the first system is received.
When new version occurs in the first system, terminal can receive the first system new edition this notice letter that server issuesIf desired breath, user upgrade after viewing the first system new version notification information, then issue the first system upgrade command, eventuallyIt holds after receiving the upgrade command for the first system, turns S302.In some embodiments, the system of terminal upgrades mould automaticallyFormula is opened, then terminal can confirm and receive for the first system after receiving the first system new version notification informationUpgrade command turns S302.
It should be understood that the first system is the system in the N number of system installed in terminal in the present embodiment.First systemSystem can be any one of the N number of system installed in terminal, that is to say, that as long as receiving any system installed in terminalThe upgrade command of system will turn S302.The first system is also possible to the particular system in the N number of system installed in terminal, onlyWhen receiving the upgrade command for the system, Cai Huizhuan S302, in the upgrade command for receiving other systems, Bu HuizhuanS302.Wherein, particular system can be by user and/or terminal development personnel flexible setting according to actual needs, for example, it is assumed that eventuallyEnd includes system A, tri- system B, system C systems, and system A sets particular system by user, then is only directed to receivingWhen the upgrade command of system A, Cai Huizhuan S302.
Wherein it is possible to the upgrade command for being directed to the first system be received, that is, the first system is in the first system operationWhen receiving the upgrade command for being directed to the first system, the system being currently running, it is of course also possible to be run in other systemsWhen, receive the upgrade command for being directed to the first system.
S302, front stage operation second system, backstage upgrade the first system.
In the present embodiment, when receiving the upgrade command for the first system, front stage operation second system, backstage upgradesThe first system.It should be understood that second system is the system in the N number of system installed in terminal in the present embodiment.If firstSystem is not when receiving the upgrade command for being directed to the first system, and the system being currently running, then second system can beWhen receiving the upgrade command for being directed to the first system, the system being currently running, then at this point it is possible to which directly backstage upgrades the first systemSystem.If the first system is when receiving the upgrade command for being directed to the first system, the system being currently running then needs to start theTwo system, in front stage operation second system, backstage upgrades the first system, wherein can first front stage operation second system, then backstageUpgrade the first system;The first system can also be upgraded in front stage operation second system, backstage simultaneously;First can also first be upgraded from the backgroundSystem, then front stage operation the first system, it is notable that either which kind of order all needs to meet in backstage the first system of upgradingIn this period of time of system, at least a part of time is in front stage operation second system, so that using during system upgradeTerminal can be used in family.
In the present embodiment, in order to reduce the starting time of second system, second system can be function it is relatively simple beSystem, for example, it may be the system for only including the basic functions such as call, short message.Second system can be N number of system of terminal installationIn, in addition to the first system, the shared the smallest system of memory.Second system is also possible to shared memory and is less than or equal in default firstThe system for depositing threshold value, wherein the first memory threshold can flexible setting according to actual needs.
It should be understood that the application installed on second system includes system application, wherein system is applied to be carried for systemApplication.In the present embodiment, the application installed on second system can only include system application, that is, on second system, noNonsystematic application can be installed.
In the present embodiment, the application installed on second system may include nonsystematic application, that is, in operation second systemWhen, user can install other application on second system.In the present embodiment, all nonsystematic applications for being installed on second systemShared total memory is less than or equal to default second memory threshold, alternatively, for all nonsystematics application installed on second systemNumber is less than or equal to predetermined number threshold value, wherein default second memory threshold and predetermined number threshold value can according to actual needs flexiblySetting, for example, predetermined number threshold value is set as 5,6 etc., it is assumed that predetermined number threshold value is set as 3, then in second systemWhen the number of the nonsystematic application of upper installation is more than 3, then application can not be installed on second system again, unless a certain application quiltUnloading, so that the number for the nonsystematic application installed on second system can then install application less than 3 again at this time.Default theTwo memory thresholds can be set to 100M, 200M etc., it is assumed that the second memory threshold is set as 100M, then installs on second systemAll nonsystematics using shared memory be equal to 100M when, then nonsystematic application can not be installed again.That installs on second system is non-System application can be the application of the instruction installation issued according to user, wherein include that application to be installed refers in installation instructionShow information, which application of installation be used to indicate using instruction information.In the present embodiment, the nonsystematic application installed on second systemIt is also possible to be chosen from the application installed in terminal according to history usage record.That installs on second system is allIt, then can be according in default first historical time section, in terminal when the number of nonsystematic application is less than or equal to predetermined number threshold valueThe frequency of use of installation respectively applied, from each application installed in terminal, according to the sequential selection of frequency of use from high to lowApplication less than or equal to predetermined number threshold value is mounted on second system, wherein default first historical time section can be by userAnd/or terminal development personnel flexible setting according to actual needs, for example, it was set as 1 week, 1 month etc..Assuming that the first history makesIt is 5 days with the period, predetermined number threshold value is in 3,5 days, and the access times of " mobile phone Taobao " are the use of 6 times, " microblogging "Number is 13 times, the access times of " wechat " are 15 times, the access times of " trill " are 28 times, from high to low according to frequency of useSequential selection " trill ", " wechat ", " microblogging " be mounted on second system.
All nonsystematics installed on second system are less than or equal to default second memory threshold using shared total memoryWhen, then it can be according in default first historical time section, the frequency of use respectively applied installed in terminal is installed from terminalIn each application, it is mounted on second system according to the sequential selection target application of frequency of use from high to low, wherein selectedTotal memory shared by all target applications is less than or equal to default second memory threshold.Assuming that the first history usage time interval is 3 days,Default second memory threshold is 150M, and in 3 days, the ranking for the frequency of use respectively applied is successively: using A frequency of use > answerWith the frequency of use of the B > frequency of use > frequency of use for applying D > of C is applied to apply the frequency of use of E, wherein using shared by AIn save as 60M, using saving as 70M in shared by B, using saving as 40M in shared by C, as shared by application A and application BComprehensive memory is 130M, is the mesh selected using A and application B therefore if shared memory is more than 150M along with C is appliedMark application, selection are mounted on second system using A and using B.In the present embodiment, can front stage operation second system itBefore, it is mounted on second system according to what history usage record was installed from terminal using upper selection application.That is, precedingBefore platform runs second system, according in default first historical time section, the frequency of use respectively applied installed in terminal, from endIn each application installed on end, pacify according to the application that the sequential selection of frequency of use from high to low is less than or equal to predetermined number threshold valueOn second system;Or, according in default first historical time section, the frequency of use respectively applied installed in terminal, from endIn each application installed on end, it is mounted on second system, selects according to the sequential selection target application of frequency of use from high to lowTotal memory shared by all target applications selected is less than or equal to default second memory threshold.In this way, in front stage operation second systemWhen, the nonsystematic application of installation can be used in user.Wherein it is possible to before front stage operation second system, it will be on second systemThe related operation data of the nonsystematic application of installation preserves, and in front stage operation second system, the correlation of preservation is runData are synchronized on second system.Wherein, the related operation data of a certain application includes account information, login password, using powerLimit at least one of setting information etc..For example, it is assumed that being mounted on " mobile phone Taobao " on the first system and second system, transportingWhen row the first system, user has logged in Taobao's account, then can save Taobao's account, in front stage operation second system, will protectThe Taobao's account deposited updates on second system, in this way, user can not have to input Taobao's account again when running second systemNumber.
S303, the first system upgrade complete when, the first system is directly adjusted to front stage operation.
In the present embodiment, since the first system is upgraded on backstage,, can be with after the first system upgrading is completedThe first system is directly adjusted to front stage operation.
In the present embodiment, the first system upgrade complete when, can be with before the first system is directly adjusted to front stage operationJudge whether to receive the instruction for running the first system;It, can be directly by first if receiving the instruction of operation the first systemSystem is adjusted to front stage operation, if being not received by the instruction of operation the first system, terminates.It, can be first in the present embodimentWhen system upgrade is completed, display reminding information and selection control, prompt information are completed for prompting user's the first system to upgrade,Selection control for allow user choose whether operation the first system, then user can by selection control under send instructions, if underThe instruction of hair is to run the instruction of the first system, then the first system directly can be adjusted to front stage operation;If being not received by fortuneThe instruction of row the first system, or the instruction received is not run the first system, then terminates.
In the present embodiment, after the first system is directly adjusted to front stage operation, second system can be directly closed.DirectAfter the first system is adjusted to front stage operation, Fig. 4 is referred to, also may comprise steps of:
S401, judge whether second system needs to update.
If so, turning S402, if it is not, turning S403.
In the present embodiment, the can be judged by judging whether to receive the second system more new information of server transmissionWhether two system, which needs, updates, if receiving the second system more new information of server transmission, determines that second system needs moreNewly, if being not received by second system more new information, determine that second system does not need to update.
In the present embodiment, the second system can also be judged by judging whether second system is the second system of latest editionWhether system needs to update, if the second system installed in terminal is the second system of latest edition, determines that second system is not required toIt updates, if the second system installed in terminal is not the second system of latest edition, determines that second system needs to update.WhenSo, in the present embodiment, it can also judge whether second system needs to update by other means.
S402, background update second system.
In the present embodiment, although second system needs to update, user may be not intended to install on more new terminal at this timeSecond system therefore before background update second system, can also determine whether to receive and issued for second systemMore new command, if receiving, background update second system, if being not received by the more new command issued for second system,It does not update then.
In the present embodiment, after the complete second system of background update, second system can be directly closed.
S403, second system is closed.
Method for upgrading system provided in this embodiment, applied to the terminal including N number of system, wherein N is more than or equal to 2, leads toCross the upgrade command for receiving and being directed to the first system;Then front stage operation second system, backstage upgrade the first system, and in the first systemAfter system upgrading is completed, the first system is directly adjusted to front stage operation, that is to say, that in the escalation process of the first system, useFamily, that is, terminal also can be used in user during system upgrade, can be solved by second system come using terminalIn existing system escalation process, the problem of user is not available terminal, satisfaction of users is improved.
Second embodiment
In order to better understand the present invention, the present embodiment combines more specifical example to be illustrated, it is assumed that N 2, i.e., eventuallyEnd includes 2 systems, one of them is main system, system supplemented by another.Shown in Figure 5, Fig. 5 is that the present invention second is realThe refined flow chart of the method for upgrading system of example offer is applied, which includes:
S501, the first system operation when, receive be directed to the first system upgrade command.
In the present embodiment, the first system is main system, and main system is the fairly perfect system of function, right in the present embodimentMemory shared by main system there is no limit, user and/or terminal development personnel can flexible choice main system according to actual needs.?When the first system is run, if new version occurs in the first system, it is logical that terminal can receive the first system new version that server issuesKnow information, if desired user upgrades after viewing the first system new version notification information, then issue the liter for the first systemGrade instruction, terminal turn S502 after receiving the upgrade command for the first system.In some embodiments, the system of terminalAutomatic upgrade mode is opened, then terminal can be after receiving the first system new version notification information, and confirmation, which receives, to be directed toThe upgrade command of the first system, turns S502.
S502, front stage operation second system.
In the present embodiment, after receiving the upgrade command for the first system, quick start second system, and foreground is transportedRow second system.In the present embodiment, second system can be adjusted to after start completion in backstage quick start second systemFront stage operation, it is of course also possible to foreground initiation second system.
In the present embodiment, system supplemented by second system.In order to reduce the starting time of second system, second system be can beOnly has the system of the basic functions such as call, short message, for example, second system is that only have call function and function of receiving and sending short messageSystem.In order to reduce the starting time of second system, the application installed on second system only includes system application, for example, it is assumed thatSecond system is the system for only having call function and function of receiving and sending short message, then installed on second system application only include forThe application for realizing call function and function of receiving and sending short message, cannot install other nonsystematic applications, such as not again on second systemIt can be applied in installation " Alipay " etc..
S503, backstage upgrading the first system.
In the present embodiment, after front stage operation second system, backstage upgrades the first system.Certainly, in other embodimentsIn, can also first upgrade the first system, then front stage operation second system from the background, can also simultaneously front stage operation second system, afterPlatform upgrades the first system.
It should be understood that during backstage upgrades the first system, front stage operation second system, in this way, firstIn the escalation process of system, terminal is can be used in user.
S504, after the first system upgrading is completed, judge whether to receive the instruction of operation the first system.
It, can be with display reminding information for prompting the first system of user after the first system upgrading is completed in the present embodimentSystem upgrading is completed.User can choose operation the first system or do not run the first system after seeing prompt information, thereforeAfter the first system upgrading is completed, it can also first judge whether the instruction for receiving operation the first system, if so, turn S505,If it is not, then terminating.
S505, the first system is directly adjusted to front stage operation.
In the present embodiment, after the first system upgrading is completed, if receiving the first system operating instruction, show userIt is desirable for the first system, then the first system is adjusted to front stage operation, by this present embodiment, the first system is risen on backstageGrade, therefore, directly can be adjusted to front stage operation for the first system, be not necessarily to cycle power, saved the waiting time of user.
S506, judge whether to receive second system more new information.
In the present embodiment, after the first system is adjusted to front stage operation, judge whether to receive server issuesTwo system more new information, wherein second system more new information can be to be received during second system operation.If so, tableBright second system needs to update, and turns S507;If it is not, then showing that second system does not need to update, turn S508.
S507, background update second system.
In the present embodiment, after second system updates completion, second system is closed.
S508, second system is closed.
System optimization method provided in this embodiment passes through applied to the terminal including main system and auxiliary system, is receivingTo be directed to main system upgrade command when, the auxiliary system of front stage operation, and backstage upgrade main system, main system upgrade complete when,Main system is directly adjusted to front stage operation, that is to say, that in main system escalation process, terminal can run auxiliary system, so thatThe problem of terminal can be used in user, solves in existing system escalation process, and user is not available terminal, and the present embodimentIn, after main system upgrading is completed, main system is directly adjusted to front stage operation, cycle power is not necessarily to, reduces the waiting of userTime, satisfaction that further the user experience is improved.
3rd embodiment
The present embodiment provides a kind of computer readable storage mediums, such as floppy disk, CD, hard disk, flash memory, USB flash disk, CF card, SDCard, mmc card etc. are stored with one or more program for realizing above-mentioned each step in the computer readable storage medium,This one or more program can be executed by one or more processor, to realize above-mentioned first embodiment and/or second in factApply each step of method for upgrading system described at least one embodiment in example.
The present embodiment also provides a kind of terminal, and terminal includes N number of system, wherein N is the integer more than or equal to 2.It refers toShown in Fig. 6, terminal provided in this embodiment includes processor 601, memory 602 and communication bus 603.
Wherein, the communication bus 603 in the present embodiment is logical for realizing the connection between processor 601 and memory 602Letter;
Processor 601 is then for executing one or more program stored in memory 602, to realize that above-mentioned first is realApply each step of method for upgrading system described at least one embodiment in example and/or second embodiment.
Terminal provided in this embodiment and computer readable storage medium can also realize a kind of systems approach, the systemUpgrade method includes:
S701, the first system operation when, receive be directed to the first system upgrade command.
In the present embodiment, it is assumed that terminal includes 2 systems, wherein it is the first system, shared memory that shared memory is biggishLesser is second system.
In the first system operation, after receiving the upgrade command for the first system, turn S702.Wherein, how to receiveActual instruction for the first system refers to first embodiment and second embodiment, is not repeating herein.
S702, front stage operation second system.
In the present embodiment, after receiving the upgrade command for the first system, quick start second system, and foreground is transportedRow second system.In the present embodiment, second system can be adjusted to after start completion in backstage quick start second systemFront stage operation, it is of course also possible to foreground initiation second system.
In the present embodiment, in order to reduce the starting time of second system, for the nonsystematic application installed on second systemNumber is less than or equal to predetermined number threshold value.
Wherein, in order to guarantee that, in front stage operation second system, nonsystematic application, the present embodiment can be used in userIn, it can be before front stage operation second system, the nonsystematic that installation is less than or equal to predetermined number threshold value on second system is answeredWith.
In the present embodiment, in order to make the application installed on second system be the application that user is commonly used, in front stage operationIt is shown in Figure 8 before second system, can also include:
S801, the frequency of use respectively applied installed on the first system in default first historical time section is obtained.
Wherein, the first historical time section can be by user and/or terminal development personnel flexible setting according to actual needs.ToolBody, it may refer to first embodiment, details are not described herein again.
S802, institute is mounted on according to the application that the sequential selection of frequency of use from high to low is less than or equal to predetermined number threshold valueIt states on second system.
It should be understood that the number for the application selected according to frequency of use is less than or equal to predetermined number threshold value.SpecificallySelection mode, refer to first embodiment, details are not described herein again.
In the present embodiment, due to the nonsystematic application installed on second system be on the first system there are also installed application,Therefore, before front stage operation second system, before backstage upgrades the first system, when can also be stored in the first system operation,The related operation data for the nonsystematic application installed on second system runs these correlations in front stage operation second systemData update on second system.Wherein, related operation data refers to first embodiment, is not repeating herein.For example, it is assumed that" microblogging " is mounted on the first system and second system, in the first system operation, the associated account information of preservation " microblogging ",Search history etc. updates associated account information, the search history of " microblogging " of preservation etc. in second system front stage operationOn second system, that is, the history usage record of " microblogging " is synchronized.
S703, backstage upgrading the first system.
In the present embodiment, after front stage operation second system, backstage upgrades the first system.That is, in backstage upgrading theDuring one system, front stage operation second system, in this way, running the second system in the escalation process of the first system, in terminalTerminal can be used in system, user.
S704, the first system upgrading complete after, the first system is directly adjusted to front stage operation.
In the present embodiment, after the first system upgrading is completed, the first system is directly adjusted to front stage operation, without shutdownRestart, has saved the waiting time of user.
S705, judge whether second system needs to update.
If so, turning S706, if it is not, then turning S707.
How to judge whether second system needs to update, refer to first embodiment, is not repeating herein.
S706, background update second system.
In the present embodiment, after second system updates completion, second system is closed.
S707, second system is closed.
Terminal, that is, computer readable storage medium provided in this embodiment, terminal include at least two systems, pass through receptionFor the upgrade command of the first system;Then front stage operation second system, backstage upgrades the first system, and upgrades in the first systemAfter completion, the first system is directly adjusted to front stage operation, that is to say, that in the escalation process of the first system, user can be withBy second system come using terminal, that is, terminal also can be used in user during system upgrade, solves existing systemIt unites in escalation process, the problem of user is not available terminal, improves satisfaction of users.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm, all of these belong to the protection of the present invention.

Claims (10)

CN201811252901.4A2018-10-252018-10-25System upgrading method, terminal and computer readable storage mediumActiveCN109634629B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811252901.4ACN109634629B (en)2018-10-252018-10-25System upgrading method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811252901.4ACN109634629B (en)2018-10-252018-10-25System upgrading method, terminal and computer readable storage medium

Publications (2)

Publication NumberPublication Date
CN109634629Atrue CN109634629A (en)2019-04-16
CN109634629B CN109634629B (en)2022-04-15

Family

ID=66066526

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811252901.4AActiveCN109634629B (en)2018-10-252018-10-25System upgrading method, terminal and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN109634629B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112486524A (en)*2019-09-122021-03-12青岛海尔洗衣机有限公司Program upgrade control method for laundry treating apparatus
CN113094140A (en)*2021-04-222021-07-09青岛海信传媒网络技术有限公司System update display method and display equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104252369A (en)*2013-06-272014-12-31上海博泰悦臻电子设备制造有限公司On-board equipment and dual-system backup method and device of on-board equipment
CN105138382A (en)*2015-09-242015-12-09广东欧珀移动通信有限公司 Method and terminal for upgrading Android system
CN106445615A (en)*2016-10-122017-02-22北京元心科技有限公司Multi-system OTA upgrading method and device
US20170249137A1 (en)*2015-03-242017-08-31Huawei Technologies Co., Ltd.Method for Upgrading Terminal System, Terminal, and System
CN107273139A (en)*2017-07-052017-10-20努比亚技术有限公司A kind of method for updating system, equipment and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104252369A (en)*2013-06-272014-12-31上海博泰悦臻电子设备制造有限公司On-board equipment and dual-system backup method and device of on-board equipment
US20170249137A1 (en)*2015-03-242017-08-31Huawei Technologies Co., Ltd.Method for Upgrading Terminal System, Terminal, and System
CN105138382A (en)*2015-09-242015-12-09广东欧珀移动通信有限公司 Method and terminal for upgrading Android system
CN106445615A (en)*2016-10-122017-02-22北京元心科技有限公司Multi-system OTA upgrading method and device
CN107273139A (en)*2017-07-052017-10-20努比亚技术有限公司A kind of method for updating system, equipment and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112486524A (en)*2019-09-122021-03-12青岛海尔洗衣机有限公司Program upgrade control method for laundry treating apparatus
CN113094140A (en)*2021-04-222021-07-09青岛海信传媒网络技术有限公司System update display method and display equipment

Also Published As

Publication numberPublication date
CN109634629B (en)2022-04-15

Similar Documents

PublicationPublication DateTitle
CN109067986A (en)Synchronous display method, mobile terminal and the readable storage medium storing program for executing of intelligent wearable device
CN109407957A (en)Screen touch control method, terminal and computer readable storage medium
CN109036420A (en)A kind of voice identification control method, terminal and computer readable storage medium
CN108628430A (en)A kind of game electricity-saving control method, terminal and computer readable storage medium
CN109933253A (en)Method for controlling application starting, terminal and computer readable storage medium
CN110314375A (en)A kind of method for recording of scene of game, terminal and computer readable storage medium
CN109144441A (en)A kind of screen adjustment method, terminal and computer readable storage medium
CN108845821A (en)Application program update method, terminal and computer readable storage medium
CN109165042A (en)Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application
CN110290269A (en)Display control method, mobile terminal and computer readable storage medium
CN110086925A (en)A kind of application processing method and mobile terminal
CN110096375A (en)A kind of Application sharing data method, device and computer readable storage medium
CN109032648A (en)Update method, mobile terminal and the storage medium of application program
CN109828839A (en)Terminal and its resource allocation control method and computer readable storage medium
CN108259658A (en)Flexible screen terminal and its electricity based reminding method, computer readable storage medium
CN109656649A (en)A kind of desktop application control method, terminal and computer readable storage medium
CN110012158A (en)A kind of charging reminding method, terminal and computer readable storage medium
CN109710050A (en)A kind of display control method, wearable device and computer readable storage medium
CN109684020A (en)A kind of method for switching theme, equipment and computer readable storage medium
CN109634629A (en)A kind of method for upgrading system, terminal and computer readable storage medium
CN109640020A (en)A kind of video record control method, terminal and computer readable storage medium
CN108833687A (en)Terminal prot open method, terminal and computer readable storage medium
CN110365816A (en)Flexible screen terminal and its colorful lamp control method, computer readable storage medium
CN109660521A (en)A kind of gamespace regulation method, terminal and computer readable storage medium
CN109522034A (en)A kind of optimizing application method, terminal and computer readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp